Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/video/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-2.6.39/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-2.6.39/drivers/video/aty/
Daty128fb.c379 u32 v_total, v_sync_strt_wid; member
990 aty_st_le32(CRTC_V_TOTAL_DISP, crtc->v_total); in aty128_set_crtc()
1007 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_var_to_crtc() local
1069 v_total = (yres + upper + vslen + lower - 1) & 0xFFFFL; in aty128_var_to_crtc()
1072 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1101 crtc->v_total = v_total | (v_disp << 16); in aty128_var_to_crtc()
1196 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty128_crtc_to_var() local
1206 v_total = crtc->v_total & 0x7ff; in aty128_crtc_to_var()
1207 v_disp = (crtc->v_total >> 16) & 0x7ff; in aty128_crtc_to_var()
1220 upper = v_total - v_sync_strt - v_sync_wid; in aty128_crtc_to_var()
[all …]
Datyfb_base.c801 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
879 v_total = v_sync_end + var->upper_margin; in aty_var_to_crtc()
957 v_total = v_disp + par->lcd_vblank_len / VScan; in aty_var_to_crtc()
978 v_total <<= 1; in aty_var_to_crtc()
990 v_total--; in aty_var_to_crtc()
998 FAIL_MAX("v_total too large", v_total, 0x7ff); in aty_var_to_crtc()
1017 crtc->v_tot_disp = v_total | (v_disp << 16); in aty_var_to_crtc()
1156 u32 v_total, v_disp, v_sync_strt, v_sync_wid, v_sync_pol, c_sync; in aty_crtc_to_var() local
1167 v_total = crtc->v_tot_disp & 0x7ff; in aty_crtc_to_var()
1183 upper = v_total - v_sync_strt - v_sync_wid; in aty_crtc_to_var()
[all …]
/linux-2.6.39/drivers/video/nvidia/
Dnvidia.c323 int v_total = (info->var.yres + info->var.lower_margin + in nvidia_calc_regs() local
326 int v_blank_e = v_total + 1; in nvidia_calc_regs()
333 v_total |= 1; in nvidia_calc_regs()
336 v_start = v_total - 3; in nvidia_calc_regs()
337 v_end = v_total - 2; in nvidia_calc_regs()
352 state->crtc[0x6] = SetBitField(v_total, 7: 0, 7:0); in nvidia_calc_regs()
353 state->crtc[0x7] = SetBitField(v_total, 8: 8, 0:0) in nvidia_calc_regs()
358 | SetBitField(v_total, 9: 9, 5:5) in nvidia_calc_regs()
381 | SetBitField(v_total, 10: 10, 0:0); in nvidia_calc_regs()
388 state->extra = SetBitField(v_total, 11: 11, 0:0) in nvidia_calc_regs()
/linux-2.6.39/drivers/video/mb862xx/
Dmb862xxfb.c50 static inline int v_total(struct fb_var_screeninfo *var) in v_total() function
127 if (h_total(var) > 4096 || v_total(var) > 4096) in mb862xxfb_check_var()
261 outreg(disp, GC_VTR, pack(v_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
/linux-2.6.39/drivers/video/
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()