| /linux/drivers/gpu/drm/amd/amdgpu/ |
| H A D | atombios_crtc.c | 57 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 58 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in amdgpu_atombios_crtc_overscan_setup() 61 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup() 62 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in amdgpu_atombios_crtc_overscan_setup() 65 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() 66 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in amdgpu_atombios_crtc_overscan_setup() 68 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in amdgpu_atombios_crtc_overscan_setup() 69 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in amdgpu_atombios_crtc_overscan_setup() 200 args.usH_Size = cpu_to_le16(mode->crtc_hdisplay - (amdgpu_crtc->h_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing() 202 cpu_to_le16(mode->crtc_hblank_end - mode->crtc_hdisplay + (amdgpu_crtc->h_border * 2)); in amdgpu_atombios_crtc_set_dtd_timing() [all …]
|
| H A D | amdgpu_encoders.c | 192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 195 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in amdgpu_panel_mode_fixup() 196 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in amdgpu_panel_mode_fixup()
|
| /linux/drivers/gpu/drm/kmb/ |
| H A D | kmb_crtc.c | 84 m->crtc_hsync_start - m->crtc_hdisplay, in kmb_crtc_set_mode() 100 vm.vsync_len, m->crtc_hdisplay, vm.hback_porch, in kmb_crtc_set_mode() 108 m->crtc_hdisplay - 1); in kmb_crtc_set_mode()
|
| H A D | kmb_dsi.c | 1363 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()
|
| /linux/drivers/gpu/drm/radeon/ |
| H A D | radeon_encoders.c | 353 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup() 357 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup() 358 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in radeon_panel_mode_fixup()
|
| H A D | rs690.c | 253 rdev->mode_info.crtcs[0]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode1->crtc_hdisplay); in rs690_line_buffer_adjust() 256 rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay); in rs690_line_buffer_adjust() 310 b.full = dfixed_const(mode->crtc_hdisplay); in rs690_crtc_bandwidth_compute() 360 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rs690_crtc_bandwidth_compute() 443 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rs690_crtc_bandwidth_compute() 450 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rs690_crtc_bandwidth_compute()
|
| H A D | rv515.c | 958 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute() 1008 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute() 1062 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute() 1069 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rv515_crtc_bandwidth_compute()
|
| H A D | radeon_cursor.c | 193 frame_end = crtc->x + crtc->mode.crtc_hdisplay; in radeon_cursor_move_locked()
|
| /linux/drivers/gpu/drm/gma500/ |
| H A D | oaktrail_lvds.c | 136 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set() 137 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set() 140 else if ((adjusted_mode->crtc_hdisplay * in oaktrail_lvds_mode_set()
|
| H A D | oaktrail_hdmi.c | 176 return (mode->crtc_hdisplay - 1) | (new_crtc_htotal << 16); in htotal_calculate() 337 REG_WRITE(pipesrc_reg, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set() 339 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set() 345 REG_WRITE(PCH_PIPEBSRC, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set() 348 HDMI_WRITE(HDMI_HBLANK_A, ((adjusted_mode->crtc_hdisplay - 1) << 16) | temp); in oaktrail_crtc_hdmi_mode_set()
|
| H A D | psb_intel_display.c | 268 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
|
| /linux/drivers/gpu/drm/sun4i/ |
| H A D | sun4i_tcon.c | 368 SUN4I_TCON0_BASIC0_X(mode->crtc_hdisplay) | in sun4i_tcon0_mode_set_cpu() 441 SUN4I_TCON0_BASIC0_X(mode->crtc_hdisplay) | in sun4i_tcon0_mode_set_lvds() 523 SUN4I_TCON0_BASIC0_X(mode->crtc_hdisplay) | in sun4i_tcon0_mode_set_rgb() 627 SUN4I_TCON1_BASIC0_X(mode->crtc_hdisplay) | in sun4i_tcon1_mode_set() 632 SUN4I_TCON1_BASIC1_X(mode->crtc_hdisplay) | in sun4i_tcon1_mode_set() 637 SUN4I_TCON1_BASIC2_X(mode->crtc_hdisplay) | in sun4i_tcon1_mode_set()
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | dvo_ivch.c | 420 if (mode->hdisplay != adjusted_mode->crtc_hdisplay || in ivch_mode_set() 427 (adjusted_mode->crtc_hdisplay - 1)) >> 2; in ivch_mode_set()
|
| H A D | icl_dsi.c | 321 u16 hactive = adjusted_mode->crtc_hdisplay; in configure_dual_link_mode() 903 hactive = adjusted_mode->crtc_hdisplay; in gen11_dsi_set_transcoder_timings() 943 if (adjusted_mode->crtc_hdisplay < 256) in gen11_dsi_set_transcoder_timings() 1525 adjusted_mode->crtc_hdisplay *= 2; in gen11_dsi_get_timings() 1527 adjusted_mode->crtc_hdisplay -= in gen11_dsi_get_timings() 1531 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay; in gen11_dsi_get_timings()
|
| H A D | intel_dvo.c | 314 DVO_SRCDIM_HORIZONTAL(adjusted_mode->crtc_hdisplay) | in intel_dvo_pre_enable()
|
| H A D | dvo_ns2501.c | 577 adjusted_mode->crtc_hdisplay, in ns2501_mode_set()
|
| /linux/drivers/gpu/drm/tiny/ |
| H A D | arcpgu.c | 165 ENCODE_PGU_XY(m->crtc_hsync_start - m->crtc_hdisplay, in arc_pgu_mode_set() 166 m->crtc_hsync_end - m->crtc_hdisplay)); in arc_pgu_mode_set()
|
| /linux/drivers/gpu/drm/ast/ |
| H A D | ast_mode.c | 193 ast_set_index_reg(ast, AST_IO_VGACRI, 0x94, adjusted_mode->crtc_hdisplay); in ast_set_vbios_mode_reg() 194 ast_set_index_reg(ast, AST_IO_VGACRI, 0x95, adjusted_mode->crtc_hdisplay >> 8); in ast_set_vbios_mode_reg() 262 temp = (mode->crtc_hdisplay >> 3) - 1; in ast_set_crtc_reg() 791 adjusted_mode->crtc_hdisplay = vmode->hde; in ast_crtc_helper_atomic_check()
|
| /linux/drivers/gpu/drm/atmel-hlcdc/ |
| H A D | atmel_hlcdc_crtc.c | 110 vm.hfront_porch = adj->crtc_hsync_start - adj->crtc_hdisplay; in atmel_hlcdc_crtc_mode_set_nofb() 124 (adj->crtc_hdisplay - 1) | in atmel_hlcdc_crtc_mode_set_nofb()
|
| /linux/drivers/gpu/drm/mgag200/ |
| H A D | mgag200_mode.c | 222 hdispend = mode->crtc_hdisplay / 8 - 1; in mgag200_set_mode_regs() 601 if (mode->crtc_hdisplay > 2048 || mode->crtc_hsync_start > 4096 || in mgag200_crtc_helper_mode_valid()
|
| /linux/include/drm/ |
| H A D | drm_modes.h | 321 u16 crtc_hdisplay; member
|
| /linux/drivers/gpu/drm/loongson/ |
| H A D | lsdc_crtc.c | 225 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc0_set_mode() 243 (mode->crtc_htotal << 16) | mode->crtc_hdisplay); in lsdc_crtc1_set_mode()
|
| /linux/drivers/gpu/drm/nouveau/dispnv04/ |
| H A D | crtc.c | 245 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()
|
| /linux/drivers/gpu/drm/armada/ |
| H A D | armada_crtc.c | 342 rm = adj->crtc_hsync_start - adj->crtc_hdisplay; in armada_drm_crtc_mode_set_nofb() 377 val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay; in armada_drm_crtc_mode_set_nofb()
|
| /linux/drivers/gpu/drm/udl/ |
| H A D | udl_modeset.c | 153 u16 reg03 = reg01 + mode->crtc_hdisplay; in udl_set_display_mode()
|