HomeSort by: relevance | last modified time | path
    Searched refs:crtc_hdisplay (Results 1 - 25 of 43) sorted by relevancy

1 2

  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_atombios_crtc.c 64 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
65 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
68 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay;
69 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay;
72 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
73 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
75 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2);
76 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2)
    [all...]
amdgpu_encoders.c 197 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
200 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank;
201 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover;
amdgpu_dce_v10_0.c 614 if (mode->crtc_hdisplay < 1920) {
617 } else if (mode->crtc_hdisplay < 2560) {
620 } else if (mode->crtc_hdisplay < 4096) {
1043 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
1061 wm_high.src_width = mode->crtc_hdisplay;
1100 wm_low.src_width = mode->crtc_hdisplay;
1126 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
amdgpu_dce_v11_0.c 640 if (mode->crtc_hdisplay < 1920) {
643 } else if (mode->crtc_hdisplay < 2560) {
646 } else if (mode->crtc_hdisplay < 4096) {
1069 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
1087 wm_high.src_width = mode->crtc_hdisplay;
1126 wm_low.src_width = mode->crtc_hdisplay;
1152 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
amdgpu_dce_v8_0.c 551 if (mode->crtc_hdisplay < 1920) {
554 } else if (mode->crtc_hdisplay < 2560) {
557 } else if (mode->crtc_hdisplay < 4096) {
978 active_time = (u32) div_u64((u64)mode->crtc_hdisplay * 1000000,
996 wm_high.src_width = mode->crtc_hdisplay;
1035 wm_low.src_width = mode->crtc_hdisplay;
1061 lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode->crtc_hdisplay);
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
vlv_dsi.c 1074 adjusted_mode->crtc_hdisplay =
1081 hactive = adjusted_mode->crtc_hdisplay;
1111 adjusted_mode->crtc_hsync_start = hfp + adjusted_mode->crtc_hdisplay;
1113 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay;
1134 adjusted_mode_sw->crtc_hdisplay;
1167 crtc_htotal_sw = adjusted_mode_sw->crtc_hdisplay + hfp_sw +
1169 crtc_hsync_start_sw = hfp_sw + adjusted_mode_sw->crtc_hdisplay;
1171 crtc_hblank_start_sw = adjusted_mode_sw->crtc_hdisplay;
1242 hactive = adjusted_mode->crtc_hdisplay;
1243 hfp = adjusted_mode->crtc_hsync_start - adjusted_mode->crtc_hdisplay;
    [all...]
intel_panel.c 190 if (adjusted_mode->crtc_hdisplay == pipe_config->pipe_src_w &&
199 x = (adjusted_mode->crtc_hdisplay - width + 1)/2;
206 u32 scaled_width = adjusted_mode->crtc_hdisplay
214 x = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
223 width = adjusted_mode->crtc_hdisplay;
226 width = adjusted_mode->crtc_hdisplay;
234 width = adjusted_mode->crtc_hdisplay;
260 border = (adjusted_mode->crtc_hdisplay - width + 1) / 2;
263 adjusted_mode->crtc_hdisplay = width;
309 u32 scaled_width = adjusted_mode->crtc_hdisplay *
    [all...]
dvo_ivch.c 423 if (mode->hdisplay != adjusted_mode->crtc_hdisplay ||
430 (adjusted_mode->crtc_hdisplay - 1)) >> 2;
intel_psr.c 618 int crtc_hdisplay = crtc_state->hw.adjusted_mode.crtc_hdisplay; local in function:intel_psr2_config_valid
655 if (crtc_hdisplay > psr_max_h || crtc_vdisplay > psr_max_v) {
657 crtc_hdisplay, crtc_vdisplay,
674 if (crtc_hdisplay % dev_priv->psr.su_x_granularity) {
676 crtc_hdisplay, dev_priv->psr.su_x_granularity);
icl_dsi.c 287 u16 hactive = adjusted_mode->crtc_hdisplay;
822 hactive = adjusted_mode->crtc_hdisplay;
843 if (adjusted_mode->crtc_hdisplay < 256)
1297 adjusted_mode->crtc_hdisplay *= 2;
1299 adjusted_mode->crtc_hdisplay -=
1303 adjusted_mode->crtc_hblank_start = adjusted_mode->crtc_hdisplay;
intel_fbdev.c 429 cur_size = crtc->state->adjusted_mode.crtc_hdisplay;
444 crtc->state->adjusted_mode.crtc_hdisplay,
intel_dvo.c 307 (adjusted_mode->crtc_hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
310 (adjusted_mode->crtc_hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_encoders.c 361 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
365 adjusted_mode->crtc_htotal = adjusted_mode->crtc_hdisplay + hblank;
366 adjusted_mode->crtc_hsync_start = adjusted_mode->crtc_hdisplay + hover;
radeon_rs690.c 258 rdev->mode_info.crtcs[0]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode1->crtc_hdisplay);
261 rdev->mode_info.crtcs[1]->lb_vblank_lead_lines = DIV_ROUND_UP(lb_size, mode2->crtc_hdisplay);
315 b.full = dfixed_const(mode->crtc_hdisplay);
365 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
448 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
455 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) {
radeon_atombios_crtc.c 63 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
64 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - mode->crtc_hdisplay) / 2);
67 a1 = mode->crtc_vdisplay * adjusted_mode->crtc_hdisplay;
68 a2 = adjusted_mode->crtc_vdisplay * mode->crtc_hdisplay;
71 args.usOverscanLeft = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
72 args.usOverscanRight = cpu_to_le16((adjusted_mode->crtc_hdisplay - (a2 / mode->crtc_vdisplay)) / 2);
74 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2);
75 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - (a1 / mode->crtc_hdisplay)) / 2)
    [all...]
radeon_cursor.c 198 frame_end = crtc->x + crtc->mode.crtc_hdisplay;
radeon_legacy_crtc.c 90 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
173 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
639 | ((((mode->crtc_hdisplay / 8) - 1) & 0x1ff) << 16));
radeon_rv515.c 995 b.full = dfixed_const(mode->crtc_hdisplay);
1045 b.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
1099 wm->priority_mark_max.full = dfixed_const(crtc->base.mode.crtc_hdisplay);
1106 if (dfixed_trunc(estimated_width) > crtc->base.mode.crtc_hdisplay) {
  /src/sys/arch/arm/sunxi/
sunxi_lcdc.c 232 TCON_WRITE(sc, TCON0_BASIC0_REG, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1));
285 TCON_WRITE(sc, TCON1_BASIC0_REG, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1));
286 TCON_WRITE(sc, TCON1_BASIC1_REG, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1));
287 TCON_WRITE(sc, TCON1_BASIC2_REG, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1));
  /src/sys/arch/arm/nvidia/
tegra_drm_mode.c 577 const u_int hfp = mode->crtc_hsync_start - mode->crtc_hdisplay;
603 __SHIFTIN(mode->crtc_hdisplay, DC_WINC_A_SIZE_H));
606 __SHIFTIN(mode->crtc_hdisplay * (TEGRA_DC_DEPTH / 8),
609 __SHIFTIN(mode->crtc_hdisplay * (TEGRA_DC_DEPTH / 8),
659 __SHIFTIN(mode->crtc_hdisplay, DC_DISP_DISP_ACTIVE_H));
968 if (mode->crtc_hdisplay != 640 || mode->crtc_vdisplay != 480)
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_modes.h 187 * @crtc_hdisplay: hardware mode horizontal display size
362 int crtc_hdisplay; member in struct:drm_display_mode
  /src/sys/dev/ic/
dw_hdmi.c 414 const uint16_t inhactiv = mode->crtc_hdisplay;
415 const uint16_t inhblank = mode->crtc_htotal - mode->crtc_hdisplay;
418 const uint16_t hsyncindelay = mode->crtc_hsync_start - mode->crtc_hdisplay;
  /src/sys/dev/i2c/
tda19988.c 410 hs_pix_stop = mode->crtc_hsync_end - mode->crtc_hdisplay;
411 hs_pix_start = mode->crtc_hsync_start - mode->crtc_hdisplay;
414 de_start = mode->crtc_htotal - mode->crtc_hdisplay;
  /src/sys/external/bsd/drm2/dist/drm/
drm_modes.c 834 *hdisplay = adjusted.crtc_hdisplay;
860 p->crtc_hdisplay = p->hdisplay;
913 p->crtc_hblank_start = min(p->crtc_hsync_start, p->crtc_hdisplay);
  /src/sys/external/bsd/drm2/dist/drm/ast/
ast_mode.c 120 switch (mode->crtc_hdisplay) {
264 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x94, adjusted_mode->crtc_hdisplay);
265 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x95, adjusted_mode->crtc_hdisplay >> 8);
337 temp = (mode->crtc_hdisplay >> 3) - 1;

Completed in 55 milliseconds

1 2