Home
last modified time | relevance | path

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

/linux-4.4.14/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.4.14/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.4.14/include/drm/
Ddrm_modes.h134 int crtc_htotal; member
/linux-4.4.14/drivers/gpu/drm/
Ddrm_irq.c691 int frame_size = mode->crtc_htotal * mode->crtc_vtotal; in drm_calc_timestamping_constants()
698 linedur_ns = div_u64((u64) mode->crtc_htotal * 1000000, dotclock); in drm_calc_timestamping_constants()
714 crtc->base.id, mode->crtc_htotal, in drm_calc_timestamping_constants()
852 delta_ns = div_s64(1000000LL * (vpos * mode->crtc_htotal + hpos), in drm_calc_vbltimestamp_from_scanoutpos()
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.4.14/drivers/gpu/drm/armada/
Darmada_crtc.c552 lm = adj->crtc_htotal - adj->crtc_hsync_end; in armada_drm_crtc_mode_set()
560 adj->crtc_htotal, lm, rm); in armada_drm_crtc_mode_set()
605 adj->crtc_htotal; in armada_drm_crtc_mode_set()
616 val = adj->crtc_hsync_start - adj->crtc_htotal / 2; in armada_drm_crtc_mode_set()
/linux-4.4.14/drivers/gpu/drm/amd/amdgpu/
Damdgpu_encoders.c178 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup()
Damdgpu_dpm.c128 line_time_us = (amdgpu_crtc->hw_mode.crtc_htotal * 1000) / in amdgpu_dpm_get_vblank_time()
Ddce_v8_0.c1200 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce_v8_0_program_watermarks()
Ddce_v11_0.c1245 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce_v11_0_program_watermarks()
Ddce_v10_0.c1257 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce_v10_0_program_watermarks()
/linux-4.4.14/drivers/gpu/drm/exynos/
Dexynos5433_drm_decon.c134 m->crtc_hsync_end = m->crtc_htotal - 92; in decon_commit()
169 m->crtc_htotal - m->crtc_hsync_end - 1) | in decon_commit()
Dexynos7_drm_decon.c195 hbpd = mode->crtc_htotal - mode->crtc_hsync_end; in decon_commit()
Dexynos_drm_fimd.c434 hbpd = mode->crtc_htotal - mode->crtc_hsync_end; in fimd_commit()
/linux-4.4.14/drivers/gpu/drm/i915/
Dintel_dsi.c784 hbp = adjusted_mode->crtc_htotal - adjusted_mode->crtc_hsync_end; in set_dsi_timings()
949 txbyteclkhs(adjusted_mode->crtc_htotal, bpp, in intel_dsi_prepare()
955 adjusted_mode->crtc_htotal, in intel_dsi_prepare()
Dintel_pm.c704 htotal = adjusted_mode->crtc_htotal; in g4x_compute_wm0()
791 htotal = adjusted_mode->crtc_htotal; in g4x_compute_srwm()
944 htotal = crtc->config->base.adjusted_mode.crtc_htotal; in vlv_compute_wm_level()
1430 int htotal = adjusted_mode->crtc_htotal; in i965_update_wm()
1577 int htotal = adjusted_mode->crtc_htotal; in i9xx_update_wm()
1753 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_pri_wm()
1777 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_spr_wm()
1798 cstate->base.adjusted_mode.crtc_htotal, in ilk_compute_cur_wm()
2036 linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
2038 ips_linetime = DIV_ROUND_CLOSEST(adjusted_mode->crtc_htotal * 1000 * 8, in hsw_compute_linetime_wm()
[all …]
Ddvo_ns2501.c581 adjusted_mode->crtc_htotal, in ns2501_mode_set()
Dintel_sprite.c60 if (!adjusted_mode->crtc_htotal) in usecs_to_scanlines()
64 1000 * adjusted_mode->crtc_htotal); in usecs_to_scanlines()
Dintel_hdmi.c623 mode->crtc_htotal % pixels_per_group == 0 && in gcp_default_phase_possible()
629 mode->crtc_htotal/2 % pixels_per_group == 0); in gcp_default_phase_possible()
Dintel_display.c7717 vsyncshift = (adjusted_mode->crtc_htotal - 1) / 2; in intel_set_pipe_timings()
7720 adjusted_mode->crtc_htotal / 2; in intel_set_pipe_timings()
7722 vsyncshift += adjusted_mode->crtc_htotal; in intel_set_pipe_timings()
7730 ((adjusted_mode->crtc_htotal - 1) << 16)); in intel_set_pipe_timings()
7774 pipe_config->base.adjusted_mode.crtc_htotal = ((tmp >> 16) & 0xffff) + 1; in intel_get_pipe_timings()
7810 mode->htotal = pipe_config->base.adjusted_mode.crtc_htotal; in intel_mode_from_pipe_config()
11991 mode->crtc_hsync_end, mode->crtc_htotal, in intel_dump_crtc_timings()
12545 PIPE_CONF_CHECK_I(base.adjusted_mode.crtc_htotal); in intel_pipe_config_compare()
Di915_irq.c675 htotal = mode->crtc_htotal; in i915_get_vblank_counter()
793 htotal = mode->crtc_htotal; in i915_get_crtc_scanoutpos()
/linux-4.4.14/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.4.14/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.c350 a.full = dfixed_const(crtc->base.mode.crtc_htotal); in rs690_crtc_bandwidth_compute()
358 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.c2271 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.c9548 line_time = min((u32)mode->crtc_htotal * pixel_period, (u32)65535); in dce8_program_watermarks()
/linux-4.4.14/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.4.14/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.4.14/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1642 mode->crtc_hsync_end > 4096 || mode->crtc_htotal > 4096 || in mga_vga_mode_valid()