Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/gpu/ipu-v3/
Dipu-di.c214 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_interlaced() local
225 .run_count = h_total - 1, in ipu_di_sync_config_interlaced()
242 .offset_count = h_total / 2, in ipu_di_sync_config_interlaced()
264 .run_count = h_total / 2 - 1, in ipu_di_sync_config_interlaced()
277 u32 h_total = sig->mode.hactive + sig->mode.hsync_len + in ipu_di_sync_config_noninterlaced() local
284 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
288 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
332 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
348 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
374 .run_count = h_total - 1, in ipu_di_sync_config_noninterlaced()
/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
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-4.4.14/drivers/video/fbdev/nvidia/
Dnvidia.c306 int h_total = (info->var.xres + info->var.right_margin + in nvidia_calc_regs() local
309 int h_blank_e = h_total + 4; in nvidia_calc_regs()
330 h_start = h_total - 5; in nvidia_calc_regs()
331 h_end = h_total - 2; in nvidia_calc_regs()
332 h_blank_e = h_total + 4; in nvidia_calc_regs()
335 state->crtc[0x0] = Set8Bits(h_total); in nvidia_calc_regs()
374 state->horiz = SetBitField(h_total, 8: 8, 0:0) in nvidia_calc_regs()
385 h_total = (h_total >> 1) & ~1; in nvidia_calc_regs()
386 state->interlace = Set8Bits(h_total); in nvidia_calc_regs()
387 state->horiz |= SetBitField(h_total, 8: 8, 4:4); in nvidia_calc_regs()
/linux-4.4.14/drivers/video/fbdev/aty/
Daty128fb.c421 u32 h_total, h_sync_strt_wid; member
1032 aty_st_le32(CRTC_H_TOTAL_DISP, crtc->h_total); in aty128_set_crtc()
1050 u32 h_total, h_disp, h_sync_strt, h_sync_wid, h_sync_pol; in aty128_var_to_crtc() local
1110 h_total = (((xres + right + hslen + left) >> 3) - 1) & 0xFFFFL; in aty128_var_to_crtc()
1116 if (((h_total >> 3) - 1) > 0x1ff || (v_total - 1) > 0x7FF) { in aty128_var_to_crtc()
1144 crtc->h_total = h_total | (h_disp << 16); in aty128_var_to_crtc()
1239 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty128_crtc_to_var() local
1244 h_total = crtc->h_total & 0x1ff; in aty128_crtc_to_var()
1245 h_disp = (crtc->h_total >> 16) & 0xff; in aty128_crtc_to_var()
1261 left = ((h_total - h_sync_strt - h_sync_wid) << 3) - h_sync_dly; in aty128_crtc_to_var()
[all …]
Datyfb_base.c806 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
881 h_total = h_sync_end + h_sync_dly + var->left_margin; in aty_var_to_crtc()
959 h_total = h_disp + par->lcd_hblank_len; in aty_var_to_crtc()
970 h_total = (h_total >> 3) - 1; in aty_var_to_crtc()
978 FAIL_MAX("h_total too large", h_total, 0x1ff); in aty_var_to_crtc()
1019 crtc->h_tot_disp = h_total | (h_disp << 16); in aty_var_to_crtc()
1161 u32 h_total, h_disp, h_sync_strt, h_sync_dly, h_sync_wid, h_sync_pol; in aty_crtc_to_var() local
1167 h_total = crtc->h_tot_disp & 0x1ff; in aty_crtc_to_var()
1186 left = (h_total - h_sync_strt - h_sync_wid) * 8 - h_sync_dly; in aty_crtc_to_var()
1367 u32 h_disp, h_sync_strt, h_sync_end, h_total; in atyfb_set_par() local
[all …]
/linux-4.4.14/drivers/video/fbdev/mb862xx/
Dmb862xxfbdrv.c46 static inline int h_total(struct fb_var_screeninfo *var) in h_total() function
129 if (h_total(var) > 4096 || v_total(var) > 4096) in mb862xxfb_check_var()
262 outreg(disp, GC_HTP, pack(h_total(&fbi->var) - 1, 0)); in mb862xxfb_set_par()
/linux-4.4.14/drivers/gpu/drm/msm/dsi/
Ddsi_host.c714 u32 h_total = mode->htotal; in dsi_timing_setup() local
718 u32 ha_start = h_total - mode->hsync_start; in dsi_timing_setup()
734 DSI_TOTAL_H_TOTAL(h_total - 1) | in dsi_timing_setup()
/linux-4.4.14/drivers/video/fbdev/
Dsmscufx.c664 u16 h_total, h_active, h_blank_start, h_blank_end, h_sync_start, h_sync_end; in ufx_set_vid_mode() local
687 h_total = var->xres + var->right_margin + var->hsync_len + var->left_margin; in ufx_set_vid_mode()
694 temp = ((h_total - 1) << 16) | (h_active - 1); in ufx_set_vid_mode()
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()
Dsh_mobile_lcdcfb.c818 unsigned long h_total, hsync_pos, display_h_total; in sh_mobile_lcdc_geometry() local
836 h_total = mode->xres + mode->hsync_len + mode->left_margin in sh_mobile_lcdc_geometry()
838 tmp = h_total / 8; /* HTCN */ in sh_mobile_lcdc_geometry()