Home
last modified time | relevance | path

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

/linux-4.1.27/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.1.27/drivers/gpu/ipu-v3/
Dipu-di.c212 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_interlaced() local
224 .run_count = v_total * 2 - 1, in ipu_di_sync_config_interlaced()
230 .run_count = v_total / 2 - 1, in ipu_di_sync_config_interlaced()
241 .run_count = v_total - 1, in ipu_di_sync_config_interlaced()
244 .run_count = v_total / 2 - 1, in ipu_di_sync_config_interlaced()
257 .run_count = v_total - 1, in ipu_di_sync_config_interlaced()
259 .offset_count = v_total / 2, in ipu_di_sync_config_interlaced()
274 ipu_di_write(di, v_total / 2 - 1, DI_SCR_CONF); in ipu_di_sync_config_interlaced()
282 u32 v_total = sig->mode.vactive + sig->mode.vsync_len + in ipu_di_sync_config_noninterlaced() local
300 .run_count = v_total - 1, in ipu_di_sync_config_noninterlaced()
[all …]
/linux-4.1.27/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.1.27/drivers/video/fbdev/aty/
Daty128fb.c429 u32 v_total, v_sync_strt_wid; member
1043 aty_st_le32(CRTC_V_TOTAL_DISP, crtc->v_total); in aty128_set_crtc()
1060 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local
1122 v_total = (yres + upper + vslen + lower - 1) & 0xFFFFL; in aty128_var_to_crtc()
1125 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1154 crtc->v_total = v_total | (v_disp << 16); in aty128_var_to_crtc()
1249 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local
1259 v_total = crtc->v_total & 0x7ff; in aty128_crtc_to_var()
1260 v_disp = (crtc->v_total >> 16) & 0x7ff; in aty128_crtc_to_var()
1273 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var()
[all …]
Datyfb_base.c798 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
876 v_total = v_sync_end + var->upper_margin; in aty_var_to_crtc()
954 v_total = v_disp + par->lcd_vblank_len / VScan; in aty_var_to_crtc()
975 v_total <<= 1; in aty_var_to_crtc()
987 v_total--; in aty_var_to_crtc()
995 FAIL_MAX("v_total too large", v_total, 0x7ff); in aty_var_to_crtc()
1014 crtc->v_tot_disp = v_total | (v_disp << 16); in aty_var_to_crtc()
1153 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local
1164 v_total = crtc->v_tot_disp & 0x7ff; in aty_crtc_to_var()
1180 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var()
[all …]
/linux-4.1.27/drivers/video/fbdev/nvidia/
Dnvidia.c319 int v_total = (info->var.yres + info->var.lower_margin + in nvidia_calc_regs() local
322 int v_blank_e = v_total + 1; in nvidia_calc_regs()
329 v_total |= 1; in nvidia_calc_regs()
332 v_start = v_total - 3; in nvidia_calc_regs()
333 v_end = v_total - 2; in nvidia_calc_regs()
348 state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0); in nvidia_calc_regs()
349 state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0) in nvidia_calc_regs()
354 | SetBitField(v_total, 9: 9, 5:5) in nvidia_calc_regs()
377 | SetBitField(v_total, 10: 10, 0:0); in nvidia_calc_regs()
384 state->extra = SetBitField(v_total, 11: 11, 0:0) in nvidia_calc_regs()
/linux-4.1.27/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.1.27/drivers/gpu/drm/msm/dsi/
Ddsi_host.c800 u32 v_total = mode->vtotal; in dsi_timing_setup() local
805 u32 va_start = v_total - mode->vsync_start; in dsi_timing_setup()
820 DSI_TOTAL_V_TOTAL(v_total - 1)); in dsi_timing_setup()
/linux-4.1.27/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()