Home
last modified time | relevance | path

Searched refs:v_total (Results 1 – 10 of 10) sorted by relevance

/linux-4.4.14/drivers/video/fbdev/matrox/
Dmatroxfb_g450.c233 unsigned int v_total; member
338 if (vtotal < outd->v_total) { in computeRegs()
339 unsigned int yovr = outd->v_total - vtotal; in computeRegs()
342 } else if (vtotal > outd->v_total) { in computeRegs()
343 vdisplay = outd->v_total - 4; in computeRegs()
344 vsyncend = outd->v_total; in computeRegs()
346 upper = (outd->v_total - vsyncend) >> 1; /* in field lines */ in computeRegs()
347 r->regs[0x17] = outd->v_total / 4; in computeRegs()
348 r->regs[0x18] = outd->v_total & 3; in computeRegs()
354 mt->VSyncStart = outd->v_total - 2; in computeRegs()
[all …]
/linux-4.4.14/drivers/gpu/ipu-v3/
Dipu-di.c216 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_interlaced() local
221 .run_count = v_total * 2 - 1, in ipu_di_sync_config_interlaced()
232 .run_count = v_total - 1, in ipu_di_sync_config_interlaced()
240 .run_count = v_total / 2, in ipu_di_sync_config_interlaced()
271 ipu_di_write(di, v_total / 2 - 1, DI_SCR_CONF); in ipu_di_sync_config_interlaced()
279 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_noninterlaced() local
297 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
336 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
365 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
383 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
[all …]
/linux-4.4.14/drivers/gpu/drm/radeon/
Dradeon_legacy_tv.c429 unsigned int h_total, v_total, f_total; in radeon_legacy_tv_init_restarts() local
447 v_total = const_ptr->ver_total; in radeon_legacy_tv_init_restarts()
493 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(NTSC_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
495 v_offset = ((int)(v_total * h_total) * 2 * tv_dac->v_pos) / (int)(PAL_TV_LINES_PER_FRAME); in radeon_legacy_tv_init_restarts()
504 tv_dac->tv.vrestart = restart % v_total; in radeon_legacy_tv_init_restarts()
505 restart /= v_total; in radeon_legacy_tv_init_restarts()
/linux-4.4.14/drivers/video/fbdev/aty/
Daty128fb.c422 u32 v_total, v_sync_strt_wid; member
1034 aty_st_le32(CRTC_V_TOTAL_DISP, crtc->v_total); in aty128_set_crtc()
1051 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local
1113 v_total = (yres + upper + vslen + lower - 1) & 0xFFFFL; in aty128_var_to_crtc()
1116 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1145 crtc->v_total = v_total | (v_disp << 16); in aty128_var_to_crtc()
1240 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local
1250 v_total = crtc->v_total & 0x7ff; in aty128_crtc_to_var()
1251 v_disp = (crtc->v_total >> 16) & 0x7ff; in aty128_crtc_to_var()
1264 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var()
[all …]
Datyfb_base.c807 u32 v_total, v_disp, v_sync_strt, v_sync_end, v_sync_wid, v_sync_pol, c_sync; in aty_var_to_crtc() local
885 v_total = v_sync_end + var->upper_margin; in aty_var_to_crtc()
963 v_total = v_disp + par->lcd_vblank_len / VScan; in aty_var_to_crtc()
984 v_total <<= 1; in aty_var_to_crtc()
996 v_total--; in aty_var_to_crtc()
1004 FAIL_MAX("v_total too large", v_total, 0x7ff); in aty_var_to_crtc()
1023 crtc->v_tot_disp = v_total | (v_disp << 16); in aty_var_to_crtc()
1162 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local
1173 v_total = crtc->v_tot_disp & 0x7ff; in aty_crtc_to_var()
1189 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var()
[all …]
/linux-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c314 int v_total = (info->var.yres + info->var.lower_margin + in nvidia_calc_regs() local
317 int v_blank_e = v_total + 1; in nvidia_calc_regs()
324 v_total |= 1; in nvidia_calc_regs()
327 v_start = v_total - 3; in nvidia_calc_regs()
328 v_end = v_total - 2; in nvidia_calc_regs()
343 state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0); in nvidia_calc_regs()
344 state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0) in nvidia_calc_regs()
349 | SetBitField(v_total, 9: 9, 5:5) in nvidia_calc_regs()
372 | SetBitField(v_total, 10: 10, 0:0); in nvidia_calc_regs()
379 state->extra = SetBitField(v_total, 11: 11, 0:0) in nvidia_calc_regs()
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c52 static inline int v_total(struct fb_var_screeninfo *var) in v_total() function
129 if (h_total(var) > 4096 || v_total(var) > 4096) in mb862xxfb_check_var()
263 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi_host.c715 u32 v_total = mode->vtotal; in dsi_timing_setup() local
720 u32 va_start = v_total - mode->vsync_start; in dsi_timing_setup()
735 DSI_TOTAL_V_TOTAL(v_total - 1)); in dsi_timing_setup()
/linux-4.4.14/drivers/video/fbdev/
Dsmscufx.c665 u16 v_total, v_active, v_blank_start, v_blank_end, v_sync_start, v_sync_end; in ufx_set_vid_mode() local
707 v_total = var->upper_margin + var->yres + var->lower_margin + var->vsync_len; in ufx_set_vid_mode()
714 temp = ((v_total - 1) << 16) | (v_active - 1); in ufx_set_vid_mode()
Dsm501fb.c126 static inline int v_total(struct fb_var_screeninfo *var) in v_total() function
318 if (h_total(var) > 4096 || v_total(var) > 2048) in sm501fb_check_var()
563 reg = (v_total(var) - 1) << 16; in sm501fb_set_par_geometry()