Home
last modified time | relevance | path

Searched refs:crtc_htotal (Results 1 – 30 of 30) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c170 xds = mode->crtc_htotal - mode->crtc_hsync_start; in udl_set_vid_cmds()
185 mode->crtc_htotal - 1); in udl_set_vid_cmds()
/linux-4.1.27/include/drm/
Ddrm_modes.h134 int crtc_htotal; member
/linux-4.1.27/drivers/gpu/drm/gma500/
Doaktrail_hdmi.c162 htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); in htotal_calculate()
168 new_crtc_htotal = (mode->crtc_htotal - 1) * 200 * 1000 / mode->clock; in htotal_calculate()
334 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
Doaktrail_crtc.c451 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
470 ((adjusted_mode->crtc_htotal - 1) << 16), i); in oaktrail_crtc_mode_set()
Dmdfld_intel_display.c820 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
837 ((adjusted_mode->crtc_htotal - 1) << 16)); in mdfld_crtc_mode_set()
Dpsb_intel_display.c273 ((adjusted_mode->crtc_htotal - 1) << 16)); in psb_intel_crtc_mode_set()
Dcdv_intel_display.c798 ((adjusted_mode->crtc_htotal - 1) << 16)); in cdv_intel_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_crtc.c514 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set()
522 adj->crtc_htotal, lm, rm); in armada_drm_crtc_mode_set()
561 adj->crtc_htotal; in armada_drm_crtc_mode_set()
572 val = adj->crtc_hsync_start - adj->crtc_htotal / 2; in armada_drm_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_irq.c584 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
592 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants()
609 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants()
Ddrm_modes.c794 p->crtc_htotal = p->htotal; in drm_mode_set_crtcinfo()
845 p->crtc_hblank_end = max(p->crtc_hsync_end, p->crtc_htotal); in drm_mode_set_crtcinfo()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c72 vm.hback_porch = adj->crtc_htotal - adj->crtc_hsync_end; in atmel_hlcdc_crtc_mode_set_nofb()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_legacy_crtc.c80 fp_crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_legacy_rmx_mode_set()
622 crtc_h_total_disp = ((((mode->crtc_htotal / 8) - 1) & 0x3ff) in radeon_set_crtc_timing()
Dradeon_encoders.c356 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
Drs690.c340 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
348 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
Drv515.c1029 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
1037 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rv515_crtc_bandwidth_compute()
Dradeon_atombios.c1818 mode->crtc_htotal = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Total); in radeon_atom_get_tv_timings()
1848 mode->crtc_htotal -= 1; in radeon_atom_get_tv_timings()
1858 mode->crtc_htotal = le16_to_cpu(dtd_timings->usHActive) + in radeon_atom_get_tv_timings()
Dr600_dpm.c166 line_time_us = (radeon_crtc->hw_mode.crtc_htotal * 1000) / in r600_dpm_get_vblank_time()
Datombios_crtc.c355 args.usH_Total = cpu_to_le16(mode->crtc_htotal); in atombios_crtc_set_timing()
Devergreen.c2226 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in evergreen_program_watermarks()
Dsi.c2269 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce6_program_watermarks()
Dcik.c9527 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce8_program_watermarks()
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_mode.c179 adjusted_mode->crtc_htotal = vbios_mode->enh_table->ht; in ast_get_vbios_mode_info()
278 temp = (mode->crtc_htotal >> 3) - 5; in ast_set_crtc_reg()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_sprite.c58 if (!mode->crtc_htotal) in usecs_to_scanlines()
61 return DIV_ROUND_UP(usecs * mode->crtc_clock, 1000 * mode->crtc_htotal); in usecs_to_scanlines()
Dintel_pm.c729 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm0()
816 htotal = adjusted_mode->crtc_htotal; in g4x_compute_srwm()
1199 int htotal = adjusted_mode->crtc_htotal; in i965_update_wm()
1347 int htotal = adjusted_mode->crtc_htotal; in i9xx_update_wm()
1792 linetime = DIV_ROUND_CLOSEST(mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
1794 ips_linetime = DIV_ROUND_CLOSEST(mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
2045 p->pipe_htotal = intel_crtc->config->base.adjusted_mode.crtc_htotal; in ilk_compute_wm_parameters()
2826 p->pipe_htotal = intel_crtc->config->base.adjusted_mode.crtc_htotal; in skl_compute_wm_pipe_parameters()
Dintel_display.c6610 vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; in intel_set_pipe_timings()
6613 adjusted_mode->crtc_htotal / 2; in intel_set_pipe_timings()
6615 vsyncshift += adjusted_mode->crtc_htotal; in intel_set_pipe_timings()
6623 ((adjusted_mode->crtc_htotal - 1) << 16)); in intel_set_pipe_timings()
6667 pipe_config->base.adjusted_mode.crtc_htotal = ((tmp >> 16) & 0xffff) + 1; in intel_get_pipe_timings()
6703 mode->htotal = pipe_config->base.adjusted_mode.crtc_htotal; in intel_mode_from_pipe_config()
10479 mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings()
11037 PIPE_CONF_CHECK_I(base.adjusted_mode.crtc_htotal); in intel_pipe_config_compare()
Di915_irq.c564 htotal = mode->crtc_htotal; in i915_get_vblank_counter()
657 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c249 int horizTotal = (mode->crtc_htotal >> 3) - 5; in nv_crtc_mode_set_vga()
251 int horizBlankEnd = (mode->crtc_htotal >> 3) - 1; in nv_crtc_mode_set_vga()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c203 hbpd = mode->crtc_htotal - mode->crtc_hsync_end; in decon_commit()
Dexynos_drm_fimd.c392 hbpd = mode->crtc_htotal - mode->crtc_hsync_end; in fimd_commit()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1535 mode->crtc_hsync_end > 4096 || mode->crtc_htotal > 4096 || in mga_vga_mode_valid()