Home
last modified time | relevance | path

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

/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
446 h_total = const_ptr->hor_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()
502 tv_dac->tv.hrestart = restart % h_total; in radeon_legacy_tv_init_restarts()
503 restart /= h_total; in radeon_legacy_tv_init_restarts()
/linux-2.6.39/drivers/video/nvidia/
Dnvidia.c315 int h_total = (info->var.xres + info->var.right_margin + in nvidia_calc_regs() local
318 int h_blank_e = h_total + 4; in nvidia_calc_regs()
339 h_start = h_total - 5; in nvidia_calc_regs()
340 h_end = h_total - 2; in nvidia_calc_regs()
341 h_blank_e = h_total + 4; in nvidia_calc_regs()
344 state->crtc[0x0] = Set8Bits(h_total); in nvidia_calc_regs()
383 state->horiz = SetBitField(h_total, 8: 8, 0:0) in nvidia_calc_regs()
394 h_total = (h_total >> 1) & ~1; in nvidia_calc_regs()
395 state->interlace = Set8Bits(h_total); in nvidia_calc_regs()
396 state->horiz |= SetBitField(h_total, 8: 8, 4:4); in nvidia_calc_regs()
/linux-2.6.39/drivers/video/aty/
Daty128fb.c378 u32 h_total, h_sync_strt_wid; member
988 aty_st_le32(CRTC_H_TOTAL_DISP, crtc->h_total); in aty128_set_crtc()
1006 u32 h_total, h_disp, h_sync_strt, h_sync_wid, h_sync_pol; in aty128_var_to_crtc() local
1066 h_total = (((xres + right + hslen + left) >> 3) - 1) & 0xFFFFL; in aty128_var_to_crtc()
1072 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1100 crtc->h_total = h_total | (h_disp << 16); in aty128_var_to_crtc()
1195 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty128_crtc_to_var() local
1200 h_total = crtc->h_total & 0x1ff; in aty128_crtc_to_var()
1201 h_disp = (crtc->h_total >> 16) & 0xff; in aty128_crtc_to_var()
1217 left = ((h_total - h_sync_strt - h_sync_wid) << 3) - h_sync_dly; in aty128_crtc_to_var()
[all …]
Datyfb_base.c800 u32 h_total, h_disp, h_sync_strt, h_sync_end, h_sync_dly, h_sync_wid, h_sync_pol; in aty_var_to_crtc() local
875 h_total = h_sync_end + h_sync_dly + var->left_margin; in aty_var_to_crtc()
953 h_total = h_disp + par->lcd_hblank_len; in aty_var_to_crtc()
964 h_total = (h_total >> 3) - 1; in aty_var_to_crtc()
972 FAIL_MAX("h_total too large", h_total, 0x1ff); in aty_var_to_crtc()
1013 crtc->h_tot_disp = h_total | (h_disp << 16); in aty_var_to_crtc()
1155 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty_crtc_to_var() local
1161 h_total = crtc->h_tot_disp & 0x1ff; in aty_crtc_to_var()
1180 left = (h_total - h_sync_strt - h_sync_wid) * 8 - h_sync_dly; in aty_crtc_to_var()
1361 u32 h_disp, h_sync_strt, h_sync_end, h_total; in atyfb_set_par() local
[all …]
/linux-2.6.39/drivers/video/mb862xx/
Dmb862xxfb.c44 static inline int h_total(struct fb_var_screeninfo *var) in h_total() function
127 if (h_total(var) > 4096 || v_total(var) > 4096) in mb862xxfb_check_var()
260 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
/linux-2.6.39/drivers/video/
Dsh_mobile_lcdcfb.c415 unsigned long h_total, hsync_pos, display_h_total; in sh_mobile_lcdc_geometry() local
433 h_total = display_var->xres + display_var->hsync_len + in sh_mobile_lcdc_geometry()
435 tmp = h_total / 8; /* HTCN */ in sh_mobile_lcdc_geometry()
Dsm501fb.c120 static inline int h_total(struct fb_var_screeninfo *var) in h_total() function
318 if (h_total(var) > 4096 || v_total(var) > 2048) in sm501fb_check_var()
549 reg = (h_total(var) - 1) << 16; in sm501fb_set_par_geometry()