/linux-4.1.27/drivers/gpu/drm/gma500/ |
D | mdfld_intel_display.c | 788 | (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()
|
D | oaktrail_crtc.c | 430 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()
|
D | oaktrail_hdmi.c | 162 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()
|
D | oaktrail_lvds.c | 144 (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()
|
D | psb_intel_display.c | 272 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in psb_intel_crtc_mode_set()
|
D | cdv_intel_display.c | 797 REG_WRITE(map->htotal, (adjusted_mode->crtc_hdisplay - 1) | in cdv_intel_crtc_mode_set()
|
D | psb_intel_sdvo.c | 728 width = mode->crtc_hdisplay; in psb_intel_sdvo_get_dtd_from_mode()
|
/linux-4.1.27/drivers/gpu/drm/radeon/ |
D | radeon_encoders.c | 352 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()
|
D | atombios_crtc.c | 53 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 …]
|
D | rs690.c | 299 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()
|
D | radeon_legacy_crtc.c | 81 | ((((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()
|
D | rv515.c | 988 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()
|
D | radeon_cursor.c | 165 frame_end = crtc->x + crtc->mode.crtc_hdisplay; in radeon_cursor_move_locked()
|
D | cik.c | 9087 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()
|
D | evergreen.c | 2243 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()
|
D | si.c | 2290 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()
|
D | radeon_atombios.c | 1819 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/ |
D | atmel_hlcdc_crtc.c | 71 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/ |
D | sti_layer.c | 111 layer->dst_w = clamp_val(dest_w, 0, mode->crtc_hdisplay - dest_x); in sti_layer_prepare()
|
/linux-4.1.27/include/drm/ |
D | drm_modes.h | 129 int crtc_hdisplay; member
|
/linux-4.1.27/drivers/gpu/drm/ast/ |
D | ast_mode.c | 105 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/ |
D | intel_fbdev.c | 609 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()
|
D | intel_panel.c | 185 mode->crtc_hdisplay = width; in centre_horizontally()
|
D | intel_display.c | 3224 ((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/ |
D | crtc.c | 246 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/ |
D | armada_crtc.c | 513 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/ |
D | udl_modeset.c | 173 xde = xds + mode->crtc_hdisplay; in udl_set_vid_cmds()
|
/linux-4.1.27/drivers/gpu/drm/ |
D | drm_modes.c | 791 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()
|
D | drm_crtc.c | 2681 *hdisplay = adjusted.crtc_hdisplay; in drm_crtc_get_hv_timing()
|
/linux-4.1.27/drivers/gpu/drm/i2c/ |
D | adv7511.c | 674 adj_mode->crtc_hdisplay; in adv7511_encoder_mode_set()
|
/linux-4.1.27/drivers/gpu/drm/exynos/ |
D | exynos7_drm_decon.c | 204 hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay; in decon_commit()
|
D | exynos_drm_fimd.c | 393 hfpd = mode->crtc_hsync_start - mode->crtc_hdisplay; in fimd_commit()
|
/linux-4.1.27/drivers/gpu/drm/mgag200/ |
D | mgag200_mode.c | 1534 if (mode->crtc_hdisplay > 2048 || mode->crtc_hsync_start > 4096 || in mga_vga_mode_valid()
|