Home
last modified time | relevance | path

Searched refs:crtc_hdisplay (Results 26 – 50 of 73) sorted by relevance

123

/openbmc/linux/drivers/gpu/drm/ast/
H A Dast_mode.c135 switch (mode->crtc_hdisplay) { in ast_get_vbios_mode_info()
283 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x94, adjusted_mode->crtc_hdisplay); in ast_set_vbios_mode_reg()
284 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x95, adjusted_mode->crtc_hdisplay >> 8); in ast_set_vbios_mode_reg()
356 temp = (mode->crtc_hdisplay >> 3) - 1; in ast_set_crtc_reg()
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Ddce_v8_0.c547 if (mode->crtc_hdisplay < 1920) { in dce_v8_0_line_buffer_adjust()
550 } else if (mode->crtc_hdisplay < 2560) { in dce_v8_0_line_buffer_adjust()
553 } else if (mode->crtc_hdisplay < 4096) { in dce_v8_0_line_buffer_adjust()
974 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v8_0_program_watermarks()
992 wm_high.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
1031 wm_low.src_width = mode->crtc_hdisplay; in dce_v8_0_program_watermarks()
1057 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay); in dce_v8_0_program_watermarks()
H A Ddce_v10_0.c606 if (mode->crtc_hdisplay < 1920) { in dce_v10_0_line_buffer_adjust()
609 } else if (mode->crtc_hdisplay < 2560) { in dce_v10_0_line_buffer_adjust()
612 } else if (mode->crtc_hdisplay < 4096) { in dce_v10_0_line_buffer_adjust()
1035 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v10_0_program_watermarks()
1053 wm_high.src_width = mode->crtc_hdisplay; in dce_v10_0_program_watermarks()
1092 wm_low.src_width = mode->crtc_hdisplay; in dce_v10_0_program_watermarks()
1118 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay); in dce_v10_0_program_watermarks()
H A Ddce_v11_0.c638 if (mode->crtc_hdisplay < 1920) { in dce_v11_0_line_buffer_adjust()
641 } else if (mode->crtc_hdisplay < 2560) { in dce_v11_0_line_buffer_adjust()
644 } else if (mode->crtc_hdisplay < 4096) { in dce_v11_0_line_buffer_adjust()
1067 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000, in dce_v11_0_program_watermarks()
1085 wm_high.src_width = mode->crtc_hdisplay; in dce_v11_0_program_watermarks()
1124 wm_low.src_width = mode->crtc_hdisplay; in dce_v11_0_program_watermarks()
1150 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay); in dce_v11_0_program_watermarks()
/openbmc/linux/drivers/gpu/drm/loongson/
H A Dlsdc_crtc.c223 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc0_set_mode()
241 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc1_set_mode()
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_cursor.c207 mode->crtc_hdisplay - dst_x); in sti_cursor_atomic_check()
/openbmc/linux/drivers/gpu/drm/ingenic/
H A Dingenic-drm-drv.c293 hde = hds + mode->crtc_hdisplay; in ingenic_drm_crtc_update_timings()
294 ht = hde + mode->crtc_hsync_start - mode->crtc_hdisplay; in ingenic_drm_crtc_update_timings()
826 mode->crtc_hdisplay = mode->hdisplay; in ingenic_drm_bridge_atomic_check()
/openbmc/linux/drivers/gpu/drm/nouveau/dispnv04/
H A Dcrtc.c245 int horizDisplay = (mode->crtc_hdisplay >> 3) - 1; in nv_crtc_mode_set_vga()
249 int horizBlankStart = (mode->crtc_hdisplay >> 3) - 1; in nv_crtc_mode_set_vga()
392 regp->CRTC[NV_CIO_CRE_RPC1_INDEX] = mode->crtc_hdisplay < 1280 ? in nv_crtc_mode_set_vga()
/openbmc/linux/drivers/gpu/drm/i915/display/
H A Dintel_crtc_state_dump.c22 mode->crtc_hdisplay, mode->crtc_hblank_start, mode->crtc_hblank_end, in intel_dump_crtc_timings()
H A Ddvo_ns2501.c577 adjusted_mode->crtc_hdisplay, in ns2501_mode_set()
H A Dintel_dvo.c313 DVO_SRCDIM_HORIZONTAL(adjusted_mode->crtc_hdisplay) | in intel_dvo_pre_enable()
H A Dintel_tv.c1102 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_get_config()
1205 int hdisplay = adjusted_mode->crtc_hdisplay; in intel_tv_compute_config()
H A Dintel_dp.c1734 adjusted_mode->crtc_hdisplay, in intel_dp_dsc_compute_config()
1756 adjusted_mode->crtc_hdisplay, in intel_dp_dsc_compute_config()
1852 if (intel_dp_need_bigjoiner(intel_dp, adjusted_mode->crtc_hdisplay, in intel_dp_compute_link_config()
2301 if (intel_dp_hdisplay_bad(dev_priv, adjusted_mode->crtc_hdisplay)) in intel_dp_compute_config()
2344 adjusted_mode->crtc_hdisplay = adjusted_mode->crtc_hdisplay / n + overlap; in intel_dp_compute_config()
/openbmc/linux/drivers/gpu/drm/armada/
H A Darmada_crtc.c340 rm = adj->crtc_hsync_start - adj->crtc_hdisplay; in armada_drm_crtc_mode_set_nofb()
375 val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay; in armada_drm_crtc_mode_set_nofb()
/openbmc/linux/drivers/gpu/drm/gma500/
H A Dpsb_intel_display.c267 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
/openbmc/linux/drivers/gpu/drm/bridge/cadence/
H A Dcdns-mhdp8546-core.c1861 front_porch = mode->crtc_hsync_start - mode->crtc_hdisplay; in cdns_mhdp_configure_video()
1868 mode->crtc_hdisplay * bpp / 8); in cdns_mhdp_configure_video()
1877 CDNS_DP_MSAH1_HDISP_WIDTH(mode->crtc_hdisplay); in cdns_mhdp_configure_video()
1910 CDNS_DP_H_H_TOTAL(mode->crtc_hdisplay)); in cdns_mhdp_configure_video()
H A Dcdns-dsi-core.c450 return mode->crtc_hsync_start - mode->crtc_hdisplay; in mode_to_dpi_hfp()
505 mode->hdisplay : mode->crtc_hdisplay, in cdns_dsi_mode2cfg()
/openbmc/linux/drivers/gpu/drm/kmb/
H A Dkmb_dsi.c1363 mipi_tx_frame0_sect_cfg.width_pixels = mode->crtc_hdisplay; in kmb_dsi_mode_set()
1376 mode->crtc_hsync_start - mode->crtc_hdisplay; in kmb_dsi_mode_set()
/openbmc/linux/drivers/gpu/drm/udl/
H A Dudl_modeset.c152 u16 reg03 = reg01 + mode->crtc_hdisplay; in udl_set_display_mode()
/openbmc/linux/drivers/gpu/drm/vc4/
H A Dvc4_vec.c653 if (mode->crtc_hdisplay % 4) in vc4_vec_encoder_atomic_check()
/openbmc/linux/drivers/gpu/drm/
H A Ddrm_modes.c1324 *hdisplay = adjusted.crtc_hdisplay; in drm_mode_get_hv_timing()
1350 p->crtc_hdisplay = p->hdisplay; in drm_mode_set_crtcinfo()
1403 p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); in drm_mode_set_crtcinfo()
/openbmc/linux/drivers/gpu/drm/arm/display/komeda/
H A Dkomeda_crtc.c471 adjusted_mode->crtc_hdisplay /= 2; in komeda_crtc_mode_fixup()
/openbmc/linux/drivers/gpu/drm/mxsfb/
H A Dmxsfb_kms.c106 TRANSFER_COUNT_SET_HCOUNT(m->crtc_hdisplay), in mxsfb_set_mode()
/openbmc/linux/drivers/gpu/drm/mgag200/
H A Dmgag200_mode.c565 if (mode->crtc_hdisplay > 2048 || mode->crtc_hsync_start > 4096 || in mgag200_crtc_helper_mode_valid()
/openbmc/linux/drivers/gpu/drm/amd/display/amdgpu_dm/
H A Damdgpu_dm_plane.c1010 else if (state->crtc_x + state->crtc_w > new_crtc_state->mode.crtc_hdisplay) in amdgpu_dm_plane_helper_check_state()
1011 viewport_width = new_crtc_state->mode.crtc_hdisplay - state->crtc_x; in amdgpu_dm_plane_helper_check_state()

123