Home
last modified time | relevance | path

Searched refs:crtc_hdisplay (Results 1 – 33 of 33) sorted by relevance

/linux-4.1.27/drivers/gpu/drm/gma500/
Dmdfld_intel_display.c788 | (min(mode->crtc_hdisplay, adjusted_mode->crtc_hdisplay) - 1)); in mdfld_crtc_mode_set()
790 REG_WRITE(map->src, ((mode->crtc_hdisplay - 1) << 16) in mdfld_crtc_mode_set()
795 (mode->crtc_hdisplay - 1)); in mdfld_crtc_mode_set()
797 ((mode->crtc_hdisplay - 1) << 16) | in mdfld_crtc_mode_set()
814 offsetX = (adjusted_mode->crtc_hdisplay - in mdfld_crtc_mode_set()
815 mode->crtc_hdisplay) / 2; in mdfld_crtc_mode_set()
819 REG_WRITE(map->htotal, (mode->crtc_hdisplay - 1) | in mdfld_crtc_mode_set()
836 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in mdfld_crtc_mode_set()
Doaktrail_crtc.c430 REG_WRITE_WITH_AUX(map->src, ((mode->crtc_hdisplay - 1) << 16) | in oaktrail_crtc_mode_set()
444 offsetX = (adjusted_mode->crtc_hdisplay - in oaktrail_crtc_mode_set()
445 mode->crtc_hdisplay) / 2; in oaktrail_crtc_mode_set()
450 REG_WRITE_WITH_AUX(map->htotal, (mode->crtc_hdisplay - 1) | in oaktrail_crtc_mode_set()
469 REG_WRITE_WITH_AUX(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in oaktrail_crtc_mode_set()
Doaktrail_hdmi.c162 htotal = (mode->crtc_hdisplay - 1) | ((mode->crtc_htotal - 1) << 16); in htotal_calculate()
171 return (mode->crtc_hdisplay - 1) | (new_crtc_htotal << 16); in htotal_calculate()
332 REG_WRITE(pipesrc_reg, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set()
334 …REG_WRITE(PCH_HTOTAL_B, (adjusted_mode->crtc_hdisplay - 1) | ((adjusted_mode->crtc_htotal - 1) << … in oaktrail_crtc_hdmi_mode_set()
340 REG_WRITE(PCH_PIPEBSRC, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); in oaktrail_crtc_hdmi_mode_set()
343 HDMI_WRITE(HDMI_HBLANK_A, ((adjusted_mode->crtc_hdisplay - 1) << 16) | temp); in oaktrail_crtc_hdmi_mode_set()
Doaktrail_lvds.c144 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) { in oaktrail_lvds_mode_set()
145 if ((adjusted_mode->crtc_hdisplay * mode->vdisplay) == in oaktrail_lvds_mode_set()
148 else if ((adjusted_mode->crtc_hdisplay * in oaktrail_lvds_mode_set()
Dpsb_intel_display.c272 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
Dcdv_intel_display.c797 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set()
Dpsb_intel_sdvo.c728 width = mode->crtc_hdisplay; in psb_intel_sdvo_get_dtd_from_mode()
/linux-4.1.27/drivers/gpu/drm/radeon/
Dradeon_encoders.c352 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in radeon_panel_mode_fixup()
356 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank; in radeon_panel_mode_fixup()
357 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover; in radeon_panel_mode_fixup()
Datombios_crtc.c53 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in atombios_overscan_setup()
54 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2); in atombios_overscan_setup()
57 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay; in atombios_overscan_setup()
58 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay; in atombios_overscan_setup()
61 …args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2); in atombios_overscan_setup()
62 …args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2… in atombios_overscan_setup()
64 … args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2); in atombios_overscan_setup()
65 …args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / … in atombios_overscan_setup()
308 args.usH_Size = cpu_to_le16(mode->crtc_hdisplay - (radeon_crtc->h_border * 2)); in atombios_set_crtc_dtd_timing()
310 cpu_to_le16(mode->crtc_hblank_end - mode->crtc_hdisplay + (radeon_crtc->h_border * 2)); in atombios_set_crtc_dtd_timing()
[all …]
Drs690.c299 b.full = dfixed_const(mode->crtc_hdisplay); in rs690_crtc_bandwidth_compute()
349 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rs690_crtc_bandwidth_compute()
432 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rs690_crtc_bandwidth_compute()
439 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rs690_crtc_bandwidth_compute()
Dradeon_legacy_crtc.c81 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16)); in radeon_legacy_rmx_mode_set()
164 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16)); in radeon_legacy_rmx_mode_set()
623 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16)); in radeon_set_crtc_timing()
Drv515.c988 b.full = dfixed_const(mode->crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1038 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1092 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay); in rv515_crtc_bandwidth_compute()
1099 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) { in rv515_crtc_bandwidth_compute()
Dradeon_cursor.c165 frame_end = crtc->x + crtc->mode.crtc_hdisplay; in radeon_cursor_move_locked()
Dcik.c9087 if (mode->crtc_hdisplay < 1920) { in dce8_line_buffer_adjust()
9090 } else if (mode->crtc_hdisplay < 2560) { in dce8_line_buffer_adjust()
9093 } else if (mode->crtc_hdisplay < 4096) { in dce8_line_buffer_adjust()
9542 wm_high.src_width = mode->crtc_hdisplay; in dce8_program_watermarks()
9543 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in dce8_program_watermarks()
9582 wm_low.src_width = mode->crtc_hdisplay; in dce8_program_watermarks()
9583 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in dce8_program_watermarks()
Devergreen.c2243 wm_high.src_width = mode->crtc_hdisplay; in evergreen_program_watermarks()
2244 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in evergreen_program_watermarks()
2270 wm_low.src_width = mode->crtc_hdisplay; in evergreen_program_watermarks()
2271 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in evergreen_program_watermarks()
Dsi.c2290 wm_high.src_width = mode->crtc_hdisplay; in dce6_program_watermarks()
2291 wm_high.active_time = mode->crtc_hdisplay * pixel_period; in dce6_program_watermarks()
2317 wm_low.src_width = mode->crtc_hdisplay; in dce6_program_watermarks()
2318 wm_low.active_time = mode->crtc_hdisplay * pixel_period; in dce6_program_watermarks()
Dradeon_atombios.c1819 mode->crtc_hdisplay = le16_to_cpu(tv_info->aModeTimings[index].usCRTC_H_Disp); in radeon_atom_get_tv_timings()
1860 mode->crtc_hdisplay = le16_to_cpu(dtd_timings->usHActive); in radeon_atom_get_tv_timings()
/linux-4.1.27/drivers/gpu/drm/atmel-hlcdc/
Datmel_hlcdc_crtc.c71 vm.hfront_porch = adj->crtc_hsync_start - adj->crtc_hdisplay; in atmel_hlcdc_crtc_mode_set_nofb()
85 (adj->crtc_hdisplay - 1) | in atmel_hlcdc_crtc_mode_set_nofb()
/linux-4.1.27/drivers/gpu/drm/sti/
Dsti_layer.c111 layer->dst_w = clamp_val(dest_w, 0, mode->crtc_hdisplay - dest_x); in sti_layer_prepare()
/linux-4.1.27/include/drm/
Ddrm_modes.h129 int crtc_hdisplay; member
/linux-4.1.27/drivers/gpu/drm/ast/
Dast_mode.c105 switch (crtc->mode.crtc_hdisplay) { in ast_get_vbios_mode_info()
212 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x94, adjusted_mode->crtc_hdisplay); in ast_get_vbios_mode_info()
213 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x95, adjusted_mode->crtc_hdisplay >> 8); in ast_get_vbios_mode_info()
283 temp = (mode->crtc_hdisplay >> 3) - 1; in ast_set_crtc_reg()
/linux-4.1.27/drivers/gpu/drm/i915/
Dintel_fbdev.c609 cur_size = intel_crtc->config->base.adjusted_mode.crtc_hdisplay; in intel_fbdev_init_bios()
627 intel_crtc->config->base.adjusted_mode.crtc_hdisplay, in intel_fbdev_init_bios()
Dintel_panel.c185 mode->crtc_hdisplay = width; in centre_horizontally()
Dintel_display.c3224 ((adjusted_mode->crtc_hdisplay - 1) << 16) | in intel_update_pipe_size()
3233 crtc->config->pipe_src_w = adjusted_mode->crtc_hdisplay; in intel_update_pipe_size()
6622 (adjusted_mode->crtc_hdisplay - 1) | in intel_set_pipe_timings()
6666 pipe_config->base.adjusted_mode.crtc_hdisplay = (tmp & 0xffff) + 1; in intel_get_pipe_timings()
6702 mode->hdisplay = pipe_config->base.adjusted_mode.crtc_hdisplay; in intel_mode_from_pipe_config()
10478 mode->crtc_hdisplay, mode->crtc_hsync_start, in intel_dump_crtc_timings()
11036 PIPE_CONF_CHECK_I(base.adjusted_mode.crtc_hdisplay); in intel_pipe_config_compare()
/linux-4.1.27/drivers/gpu/drm/nouveau/dispnv04/
Dcrtc.c246 int horizDisplay = (mode->crtc_hdisplay >> 3) - 1; in nv_crtc_mode_set_vga()
250 int horizBlankStart = (mode->crtc_hdisplay >> 3) - 1; in nv_crtc_mode_set_vga()
393 regp->CRTC[NV_CIO_CRE_RPC1_INDEX] = mode->crtc_hdisplay < 1280 ? in nv_crtc_mode_set_vga()
/linux-4.1.27/drivers/gpu/drm/armada/
Darmada_crtc.c513 rm = adj->crtc_hsync_start - adj->crtc_hdisplay; in armada_drm_crtc_mode_set()
519 adj->crtc_hdisplay, in armada_drm_crtc_mode_set()
579 val = adj->crtc_vdisplay << 16 | adj->crtc_hdisplay; in armada_drm_crtc_mode_set()
/linux-4.1.27/drivers/gpu/drm/udl/
Dudl_modeset.c173 xde = xds + mode->crtc_hdisplay; in udl_set_vid_cmds()
/linux-4.1.27/drivers/gpu/drm/
Ddrm_modes.c791 p->crtc_hdisplay = p->hdisplay; in drm_mode_set_crtcinfo()
844 p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay); in drm_mode_set_crtcinfo()
Ddrm_crtc.c2681 *hdisplay = adjusted.crtc_hdisplay; in drm_crtc_get_hv_timing()
/linux-4.1.27/drivers/gpu/drm/i2c/
Dadv7511.c674 adj_mode->crtc_hdisplay; in adv7511_encoder_mode_set()
/linux-4.1.27/drivers/gpu/drm/exynos/
Dexynos7_drm_decon.c204 hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay; in decon_commit()
Dexynos_drm_fimd.c393 hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay; in fimd_commit()
/linux-4.1.27/drivers/gpu/drm/mgag200/
Dmgag200_mode.c1534 if (mode->crtc_hdisplay > 2048 || mode->crtc_hsync_start > 4096 || in mga_vga_mode_valid()