| /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
| amdgpu_atombios_crtc.c | 62 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); 63 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 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 | 198 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; 204 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; 205 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover;
|
| amdgpu_atombios_encoders.c | 302 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) 303 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; 306 if (mode->crtc_vsync_start == mode->crtc_vdisplay)
|
| /src/sys/arch/arm/sunxi/ |
| sunxi_lcdc.c | 225 const u_int vblank_len = (mode->crtc_vtotal - mode->crtc_vdisplay) >> interlace_p; 232 TCON_WRITE(sc, TCON0_BASIC0_REG, ((mode->crtc_hdisplay - 1) << 16) | (mode->crtc_vdisplay - 1)); 278 const u_int vblank_len = ((mode->crtc_vtotal - mode->crtc_vdisplay) >> interlace_p) - 2; 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/dev/i2c/ |
| tda19988.c | 421 ref_line = 1 + mode->crtc_vsync_start - mode->crtc_vdisplay; 422 vwin1_line_start = mode->crtc_vtotal - mode->crtc_vdisplay - 1; 423 vwin1_line_end = vwin1_line_start + mode->crtc_vdisplay; 426 vs1_line_start = mode->crtc_vsync_start - mode->crtc_vdisplay; 433 ref_line = 1 + (mode->crtc_vsync_start - mode->crtc_vdisplay)/2; 434 vwin1_line_start = (mode->crtc_vtotal - mode->crtc_vdisplay)/2; 435 vwin1_line_end = vwin1_line_start + mode->crtc_vdisplay/2; 438 vs1_line_start = (mode->crtc_vsync_start - mode->crtc_vdisplay)/2; 442 vwin2_line_end = vwin2_line_start + mode->crtc_vdisplay/2;
|
| /src/sys/external/bsd/drm2/dist/drm/radeon/ |
| radeon_encoders.c | 362 adjusted_mode->crtc_vdisplay = native_mode->vdisplay; 369 adjusted_mode->crtc_vtotal = adjusted_mode->crtc_vdisplay + vblank; 370 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + vover;
|
| radeon_atombios_crtc.c | 61 args.usOverscanTop = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 2); 62 args.usOverscanBottom = cpu_to_le16((adjusted_mode->crtc_vdisplay - mode->crtc_vdisplay) / 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_legacy_crtc.c | 104 | ((mode->crtc_vdisplay - 1) << 16)); 186 | ((mode->crtc_vdisplay - 1) << 16)); 654 | ((mode->crtc_vdisplay - 1) << 16));
|
| radeon_atombios_encoders.c | 322 && (mode->crtc_vsync_start < (mode->crtc_vdisplay + 2))) 323 adjusted_mode->crtc_vsync_start = adjusted_mode->crtc_vdisplay + 2; 326 if (mode->crtc_vsync_start == mode->crtc_vdisplay)
|
| /src/sys/external/bsd/drm2/dist/drm/i915/display/ |
| dvo_ivch.c | 424 mode->vdisplay != adjusted_mode->crtc_vdisplay) { 432 (adjusted_mode->crtc_vdisplay - 1)) >> 2;
|
| intel_panel.c | 191 adjusted_mode->crtc_vdisplay == pipe_config->pipe_src_h && 200 y = (adjusted_mode->crtc_vdisplay - height + 1)/2; 209 * adjusted_mode->crtc_vdisplay; 216 height = adjusted_mode->crtc_vdisplay; 221 y = (adjusted_mode->crtc_vdisplay - height + 1) / 2; 227 height = adjusted_mode->crtc_vdisplay; 235 height = adjusted_mode->crtc_vdisplay; 282 border = (adjusted_mode->crtc_vdisplay - height + 1) / 2; 284 adjusted_mode->crtc_vdisplay = height; 312 adjusted_mode->crtc_vdisplay; [all...] |
| intel_psr.c | 619 int crtc_vdisplay = crtc_state->hw.adjusted_mode.crtc_vdisplay; local in function:intel_psr2_config_valid 655 if (crtc_hdisplay > psr_max_h || crtc_vdisplay > psr_max_v) { 657 crtc_hdisplay, crtc_vdisplay, 732 adjusted_mode->crtc_vtotal - adjusted_mode->crtc_vdisplay - 1) {
|
| vlv_dsi.c | 1076 adjusted_mode->crtc_vdisplay = 1116 adjusted_mode->crtc_vsync_start = vfp + adjusted_mode->crtc_vdisplay; 1118 adjusted_mode->crtc_vblank_start = adjusted_mode->crtc_vdisplay; 1256 vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay; 1279 adjusted_mode->crtc_vdisplay); 1373 adjusted_mode->crtc_vdisplay << VERTICAL_ADDRESS_SHIFT |
|
| intel_fbdev.c | 439 cur_size = crtc->state->adjusted_mode.crtc_vdisplay; 445 crtc->state->adjusted_mode.crtc_vdisplay,
|
| intel_dvo.c | 308 (adjusted_mode->crtc_vdisplay << DVO_SRCDIM_VERTICAL_SHIFT));*/ 311 (adjusted_mode->crtc_vdisplay << DVO_SRCDIM_VERTICAL_SHIFT));
|
| intel_tv.c | 1098 int vdisplay = adjusted_mode->crtc_vdisplay; 1180 return tv_mode->crtc_vdisplay - 1198 int vdisplay = adjusted_mode->crtc_vdisplay; 1220 extra = adjusted_mode->crtc_vdisplay - vdisplay;
|
| dvo_ns2501.c | 589 adjusted_mode->crtc_vdisplay,
|
| /src/sys/external/bsd/drm2/dist/drm/ |
| drm_modes.c | 835 *vdisplay = adjusted.crtc_vdisplay; 865 p->crtc_vdisplay = p->vdisplay; 872 p->crtc_vdisplay /= 2; 881 p->crtc_vdisplay *= 2; 890 p->crtc_vdisplay *= p->vscan; 903 p->crtc_vdisplay += p->crtc_vtotal; 911 p->crtc_vblank_start = min(p->crtc_vsync_start, p->crtc_vdisplay);
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv50/ |
| nouveau_dispnv50_head.c | 282 m->v.blanks = m->v.blanke + mode->crtc_vdisplay; 285 blankus = (m->v.active - mode->crtc_vdisplay - 2) * m->h.active; 292 m->v.blank2s = m->v.blank2e + mode->crtc_vdisplay;
|
| /src/sys/external/bsd/drm2/dist/include/drm/ |
| drm_modes.h | 194 * @crtc_vdisplay: hardware mode vertical display size 369 int crtc_vdisplay; member in struct:drm_display_mode
|
| /src/sys/arch/arm/nvidia/ |
| tegra_drm_mode.c | 580 const u_int vfp = mode->crtc_vsync_start - mode->crtc_vdisplay; 602 __SHIFTIN(mode->crtc_vdisplay, DC_WINC_A_SIZE_V) | 605 __SHIFTIN(mode->crtc_vdisplay, DC_WINC_A_PRESCALED_SIZE_V) | 658 __SHIFTIN(mode->crtc_vdisplay, DC_DISP_DISP_ACTIVE_V) | 968 if (mode->crtc_hdisplay != 640 || mode->crtc_vdisplay != 480)
|
| /src/sys/external/bsd/drm2/dist/drm/ast/ |
| ast_mode.c | 131 if (mode->crtc_vdisplay == 800) 143 if (mode->crtc_vdisplay == 900) 152 if (mode->crtc_vdisplay == 1080) 266 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x96, adjusted_mode->crtc_vdisplay); 267 ast_set_index_reg(ast, AST_IO_CRTC_PORT, 0x97, adjusted_mode->crtc_vdisplay >> 8); 393 temp = mode->crtc_vdisplay - 1;
|
| /src/sys/dev/ic/ |
| dw_hdmi.c | 416 const uint16_t invactiv = mode->crtc_vdisplay; 417 const uint8_t invblank = mode->crtc_vtotal - mode->crtc_vdisplay; 420 const uint8_t vsyncindelay = mode->crtc_vsync_start - mode->crtc_vdisplay;
|
| /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/ |
| nouveau_dispnv04_crtc.c | 251 int vertDisplay = mode->crtc_vdisplay - 1; 255 int vertBlankStart = mode->crtc_vdisplay - 1; 557 regp->crtc_830 = mode->crtc_vdisplay - 3; 558 regp->crtc_834 = mode->crtc_vdisplay - 1;
|
| /src/sys/arch/arm/ti/ |
| ti_lcdc.c | 168 const u_int vfp = adjusted_mode->crtc_vsync_start - adjusted_mode->crtc_vdisplay;
|