Home
last modified time | relevance | path

Searched refs:vtotal (Results 1 – 21 of 21) sorted by relevance

/freebsd-13-stable/sys/dev/videomode/
HDmodelines2c.awk86 vtotal = $11;
112 vrefresh= int(((hrefresh * ifactor) / vtotal) + .1);
122 vsyncstart, vsyncend, vtotal, hflags "|" vflags iflags);
131 vsyncstart/2, vsyncend/2, vtotal/2,
HDpickmode.c78 mref = this->dot_clock * 1000 / (this->htotal * this->vtotal); in pick_mode_by_ref()
131 (*preferred)->htotal), (*preferred)->vtotal); in sort_modes()
157 mtemp->htotal), mtemp->vtotal); in sort_modes()
171 modes[i].htotal), modes[i].vtotal)); in sort_modes()
HDedid.c265 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)); in edid_print()
273 edid->edid_modes[i].vtotal); in edid_print()
286 edid->edid_preferred_mode->vtotal)); in edid_print()
308 mode->htotal), mode->vtotal); in edid_search_mode()
314 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)) { in edid_search_mode()
400 vmp->vtotal = vactive + vblank; in edid_det_timing()
HDvesagtf.c623 vmp->vtotal = total_v_lines; in vesagtf_mode_params()
664 vf = 1.0 * hf / vmp->vtotal; in print_xf86_mode()
676 vmp->vdisplay, vmp->vsync_start, vmp->vsync_end, vmp->vtotal); in print_xf86_mode()
HDvideomode.h42 int vtotal; member
/freebsd-13-stable/sys/dev/drm2/
HDdrm_modes.c55 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in drm_mode_debug_printmodeline()
191 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
247 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
263 drm_mode->vtotal *= 2; in drm_cvt_mode()
446 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex()
451 drm_mode->vtotal *= 2; in drm_gtf_mode_complex()
635 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh()
636 int vtotal; in drm_mode_vrefresh() local
637 vtotal = mode->vtotal; in drm_mode_vrefresh()
641 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
[all …]
HDdrm_irq.c551 int vbl_status, vtotal, vdisplay; in drm_calc_vbltimestamp_from_scanoutpos() local
568 vtotal = mode->crtc_vtotal; in drm_calc_vbltimestamp_from_scanoutpos()
579 if (vtotal <= 0 || vdisplay <= 0 || framedur_ns == 0) { in drm_calc_vbltimestamp_from_scanoutpos()
659 ((vdisplay - vpos) < vtotal / 100)) { in drm_calc_vbltimestamp_from_scanoutpos()
HDdrm_edid.c881 mode->vtotal *= 2; in drm_mode_do_interlace_quirk()
882 mode->vtotal |= 1; in drm_mode_do_interlace_quirk()
959 mode->vtotal = mode->vdisplay + vblank; in drm_mode_detailed()
964 if (mode->vsync_end > mode->vtotal) in drm_mode_detailed()
965 mode->vtotal = mode->vsync_end + 1; in drm_mode_detailed()
HDdrm_mode.h89 __u16 vdisplay, vsync_start, vsync_end, vtotal, vscan; member
HDdrm_crtc.h116 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
142 int vtotal; member
HDdrm_crtc.c1118 in->vtotal > USHRT_MAX || in->vscan > USHRT_MAX) in drm_crtc_convert_to_umode()
1130 out->vtotal = in->vtotal; in drm_crtc_convert_to_umode()
1168 out->vtotal = in->vtotal; in drm_crtc_convert_umode()
/freebsd-13-stable/sys/arm/allwinner/
HDa10_fb.c342 u_int vtotal, framerate, clk; in a10fb_setup_tcon() local
354 vbp = mode->vtotal - mode->vsync_start; in a10fb_setup_tcon()
355 vbl = VBLANK_LEN(mode->vtotal, mode->vdisplay, interlace); in a10fb_setup_tcon()
403 vtotal = VTOTAL(mode->vtotal); in a10fb_setup_tcon()
406 mode->htotal), mode->vtotal); in a10fb_setup_tcon()
407 clk = mode->htotal * (VTOTAL(mode->vtotal) + 1) * framerate; in a10fb_setup_tcon()
409 vtotal += 1; in a10fb_setup_tcon()
411 TCON_WRITE(sc, TCON1_BASIC4, BASIC4_VT(vtotal) | BASIC4_VBP(vbp)); in a10fb_setup_tcon()
HDa10_hdmi.c610 vbp = mode->vtotal - mode->vsync_start; in a10hdmi_set_videomode()
/freebsd-13-stable/sys/arm/ti/am335x/
HDtda19988.c437 n_line = mode->vtotal; in tda19988_init_encoder()
451 vwin1_line_start = mode->vtotal - mode->vdisplay - 1; in tda19988_init_encoder()
463 vwin1_line_start = (mode->vtotal - mode->vdisplay)/2; in tda19988_init_encoder()
470 vwin2_line_start = vwin1_line_start + mode->vtotal/2; in tda19988_init_encoder()
474 vs2_line_start = vs1_line_start + mode->vtotal/2 ; in tda19988_init_encoder()
HDam335x_lcd.c193 #define MODE_VBP(mode) ((mode)->vtotal - (mode)->vsync_end)
295 refresh = (refresh + mode->vtotal / 2) / mode->vtotal; in am335x_mode_vrefresh()
903 sc->sc_panel.panel_vbp = videomode->vtotal - videomode->vsync_end; in am335x_lcd_hdmi_event()
/freebsd-13-stable/sys/mips/ingenic/
HDjz4780_lcd.c205 vbp = mode->vtotal - mode->vsync_end; in jzlcd_set_videomode()
330 mode->htotal), mode->vtotal); in jzlcd_get_bandwidth()
/freebsd-13-stable/sys/arm/freescale/imx/
HDimx6_ipu.c67 #define MODE_VBP(mode) ((mode)->vtotal - (mode)->vsync_end)
695 sc->sc_mode->vtotal - 1, DI_SYNC_COUNTER(DI_COUNTER_INT_HSYNC), in ipu_config_timing()
703 IPU_WRITE4(sc, di_scr_conf, sc->sc_mode->vtotal - 1); in ipu_config_timing()
/freebsd-13-stable/sys/powerpc/mpc85xx/
HDfsl_diu.c400 sc->sc_panel.panel_vfp = videomode->vtotal - videomode->vsync_end; in diu_attach()
/freebsd-13-stable/sys/dev/usb/video/
HDudl.c1069 sc->sc_edid_info.edid_preferred_mode->vtotal); in udl_select_mode()
1091 sc->sc_edid_info.edid_modes[i].vtotal); in udl_select_mode()
/freebsd-13-stable/sys/dev/hdmi/
HDdwc_hdmi.c160 vblank = sc->sc_mode.vtotal - sc->sc_mode.vdisplay; in dwc_hdmi_av_composer()
/freebsd-13-stable/sys/arm/nvidia/drm2/
HDtegra_dc.c674 ((mode->vtotal - mode->vsync_end) << 16) | in dc_crtc_mode_set()