Home
last modified time | relevance | path

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

12

/freebsd-12-stable/sys/dev/videomode/
Dmodelines2c.awk87 vtotal = $11;
113 vrefresh= int(((hrefresh * ifactor) / vtotal) + .1);
123 vsyncstart, vsyncend, vtotal, hflags "|" vflags iflags);
132 vsyncstart/2, vsyncend/2, vtotal/2,
Dpickmode.c82 mref = this->dot_clock * 1000 / (this->htotal * this->vtotal); in pick_mode_by_ref()
135 (*preferred)->htotal), (*preferred)->vtotal); in sort_modes()
161 mtemp->htotal), mtemp->vtotal); in sort_modes()
175 modes[i].htotal), modes[i].vtotal)); in sort_modes()
Dedid.c268 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)); in edid_print()
276 edid->edid_modes[i].vtotal); in edid_print()
289 edid->edid_preferred_mode->vtotal)); in edid_print()
311 mode->htotal), mode->vtotal); in edid_search_mode()
317 edid->edid_modes[i].htotal), edid->edid_modes[i].vtotal)) { in edid_search_mode()
403 vmp->vtotal = vactive + vblank; in edid_det_timing()
Dvesagtf.c630 vmp->vtotal = total_v_lines; in vesagtf_mode_params()
671 vf = 1.0 * hf / vmp->vtotal; in print_xf86_mode()
683 vmp->vdisplay, vmp->vsync_start, vmp->vsync_end, vmp->vtotal); in print_xf86_mode()
Dvideomode.h43 int vtotal; member
/freebsd-12-stable/sys/dev/drm2/
Ddrm_modes.c57 mode->vsync_end, mode->vtotal, mode->type, mode->flags); in drm_mode_debug_printmodeline()
193 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + in drm_cvt_mode()
249 drm_mode->vtotal = vdisplay_rnd + 2 * vmargin + vbilines; in drm_cvt_mode()
265 drm_mode->vtotal *= 2; in drm_cvt_mode()
448 drm_mode->vtotal = vtotal_lines; in drm_gtf_mode_complex()
453 drm_mode->vtotal *= 2; in drm_gtf_mode_complex()
637 else if (mode->htotal > 0 && mode->vtotal > 0) { in drm_mode_vrefresh()
638 int vtotal; in drm_mode_vrefresh() local
639 vtotal = mode->vtotal; in drm_mode_vrefresh()
643 refresh = (calc_val + vtotal / 2) / vtotal; in drm_mode_vrefresh()
[all …]
Ddrm_irq.c553 int vbl_status, vtotal, vdisplay; in drm_calc_vbltimestamp_from_scanoutpos() local
570 vtotal = mode->crtc_vtotal; in drm_calc_vbltimestamp_from_scanoutpos()
581 if (vtotal <= 0 || vdisplay <= 0 || framedur_ns == 0) { in drm_calc_vbltimestamp_from_scanoutpos()
661 ((vdisplay - vpos) < vtotal / 100)) { in drm_calc_vbltimestamp_from_scanoutpos()
Ddrm_edid.c883 mode->vtotal *= 2; in drm_mode_do_interlace_quirk()
884 mode->vtotal |= 1; in drm_mode_do_interlace_quirk()
961 mode->vtotal = mode->vdisplay + vblank; in drm_mode_detailed()
966 if (mode->vsync_end > mode->vtotal) in drm_mode_detailed()
967 mode->vtotal = mode->vsync_end + 1; in drm_mode_detailed()
Ddrm_mode.h91 __u16 vdisplay, vsync_start, vsync_end, vtotal, vscan; member
Ddrm_crtc.h118 .vsync_start = (vss), .vsync_end = (vse), .vtotal = (vt), \
144 int vtotal; member
/freebsd-12-stable/sys/arm/allwinner/
Da10_fb.c346 u_int vtotal, framerate, clk; in a10fb_setup_tcon() local
358 vbp = mode->vtotal - mode->vsync_start; in a10fb_setup_tcon()
359 vbl = VBLANK_LEN(mode->vtotal, mode->vdisplay, interlace); in a10fb_setup_tcon()
407 vtotal = VTOTAL(mode->vtotal); in a10fb_setup_tcon()
410 mode->htotal), mode->vtotal); in a10fb_setup_tcon()
411 clk = mode->htotal * (VTOTAL(mode->vtotal) + 1) * framerate; in a10fb_setup_tcon()
413 vtotal += 1; in a10fb_setup_tcon()
415 TCON_WRITE(sc, TCON1_BASIC4, BASIC4_VT(vtotal) | BASIC4_VBP(vbp)); in a10fb_setup_tcon()
/freebsd-12-stable/sys/dev/drm2/i915/
Dintel_crt.c466 uint32_t vtotal, vactive; in intel_crt_load_detect() local
492 vtotal = ((save_vtotal >> 16) & 0xfff) + 1; in intel_crt_load_detect()
522 if (vblank_start <= vactive && vblank_end >= vtotal) { in intel_crt_load_detect()
533 if (vblank_start - vactive >= vtotal - vblank_end) in intel_crt_load_detect()
536 vsample = (vtotal + vblank_end) >> 1; in intel_crt_load_detect()
Dintel_bios.c97 panel_fixed_mode->vtotal = panel_fixed_mode->vdisplay + in fill_detail_timing_data()
115 if (panel_fixed_mode->vsync_end > panel_fixed_mode->vtotal) in fill_detail_timing_data()
116 panel_fixed_mode->vtotal = panel_fixed_mode->vsync_end + 1; in fill_detail_timing_data()
Dintel_panel.c53 adjusted_mode->vtotal = fixed_mode->vtotal; in intel_fixed_panel_mode()
Ddvo_ns2501.c294 mode->vtotal); in ns2501_mode_valid()
322 mode->vtotal); in ns2501_mode_set()
Dintel_tv.c1155 .vtotal = 1104,
1413 mode_ptr->vtotal = vactive_s + 33; in intel_tv_get_modes()
1415 tmp = (u64) tv_mode->refresh * mode_ptr->vtotal; in intel_tv_get_modes()
Dintel_lvds.c837 scan->vtotal == fixed_mode->vtotal) { in intel_find_lvds_downclock()
Dintel_dvo.c236 C(vtotal); in intel_dvo_mode_fixup()
/freebsd-12-stable/sys/arm/ti/am335x/
Dtda19988.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()
Dam335x_lcd.c192 #define MODE_VBP(mode) ((mode)->vtotal - (mode)->vsync_end)
291 refresh = (refresh + mode->vtotal / 2) / mode->vtotal; in am335x_mode_vrefresh()
895 sc->sc_panel.panel_vbp = videomode->vtotal - videomode->vsync_end; in am335x_lcd_hdmi_event()
/freebsd-12-stable/sys/dev/drm2/radeon/
Dradeon_encoders.c282 unsigned vblank = native_mode->vtotal - native_mode->vdisplay; in radeon_panel_mode_fixup()
300 adjusted_mode->vtotal = native_mode->vdisplay + vblank; in radeon_panel_mode_fixup()
Dradeon_display.c1559 int vbl_start, vbl_end, vtotal, ret = 0; in radeon_get_crtc_scanoutpos() local
1675 vtotal = rdev->mode_info.crtcs[crtc]->base.hwmode.crtc_vtotal; in radeon_get_crtc_scanoutpos()
1676 *vpos = *vpos - vtotal; in radeon_get_crtc_scanoutpos()
/freebsd-12-stable/sys/mips/ingenic/
Djz4780_lcd.c209 vbp = mode->vtotal - mode->vsync_end; in jzlcd_set_videomode()
334 mode->htotal), mode->vtotal); in jzlcd_get_bandwidth()
/freebsd-12-stable/sys/arm/freescale/imx/
Dimx6_ipu.c68 #define MODE_VBP(mode) ((mode)->vtotal - (mode)->vsync_end)
696 sc->sc_mode->vtotal - 1, DI_SYNC_COUNTER(DI_COUNTER_INT_HSYNC), in ipu_config_timing()
704 IPU_WRITE4(sc, di_scr_conf, sc->sc_mode->vtotal - 1); in ipu_config_timing()
/freebsd-12-stable/sys/powerpc/mpc85xx/
Dfsl_diu.c402 sc->sc_panel.panel_vfp = videomode->vtotal - videomode->vsync_end; in diu_attach()

12