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

1 2 3 4

  /src/sys/dev/videomode/
modelines2c.awk 78 hdisplay = $4;
114 modestr = sprintf("%dx%dx%d%s", hdisplay, vdisplay, vrefresh, iflag);
117 # hdisplay, vdisplay, iflag, vrefresh, hrefresh/1000);
120 hdisplay, vdisplay, dotclock * 1000,
125 hdisplay/2 , vdisplay/2, vrefresh, iflag);
129 hdisplay/2, vdisplay/2, dotclock * 1000 / 2,
pickmode.c 54 if ((this->hdisplay != width) || (this->vdisplay != height) ||
82 if ((this->hdisplay != width) || (this->vdisplay != height))
131 aspect = (*preferred)->hdisplay * 100 / (*preferred)->vdisplay;
147 if (modes[i].hdisplay > hbest) {
148 hbest = modes[i].hdisplay;
151 } else if (modes[i].hdisplay == hbest &&
157 aspect = mtemp->hdisplay * 100 / mtemp->vdisplay;
174 atemp = (modes[i].hdisplay * 100 / modes[i].vdisplay);
188 if (modes[i].hdisplay > hbest) {
189 hbest = modes[i].hdisplay;
    [all...]
videomode.h 35 int hdisplay; member in struct:videomode
vesagtf.c 621 vmp->hdisplay = h_pixels;
671 vmp->hdisplay, vmp->vdisplay, vf, hf, vmp->dot_clock / 1000.0);
677 vmp->hdisplay, vmp->vdisplay, vf, (vmp->dot_clock / 1000.0),
678 vmp->hdisplay, vmp->hsync_start, vmp->hsync_end, vmp->htotal,
edid.c 272 edid->edid_modes[i].hdisplay,
292 edid->edid_preferred_mode->hdisplay,
320 if (mode->hdisplay == edid->edid_modes[i].hdisplay &&
404 vmp->hdisplay = hactive;
  /src/sys/external/bsd/drm2/dist/drm/
drm_modes.c 129 * @hdisplay: hdisplay size
137 * according to the hdisplay, vdisplay, vrefresh.
150 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
171 if (!hdisplay || !vdisplay)
192 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY);
201 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;
223 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
225 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
    [all...]
  /src/sys/external/bsd/drm2/dist/include/drm/
drm_modes.h 139 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
156 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \
177 * @hdisplay: horizontal display size
284 int hdisplay; member in struct:drm_display_mode
445 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \
484 int hdisplay, int vdisplay, int vrefresh,
488 int hdisplay, int vdisplay, int vrefresh,
491 int hdisplay, int vdisplay,
509 int *hdisplay, int *vdisplay);
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
amdgpu_encoders.c 174 unsigned hblank = native_mode->htotal - native_mode->hdisplay;
176 unsigned hover = native_mode->hsync_start - native_mode->hdisplay;
184 adjusted_mode->hdisplay = native_mode->hdisplay;
187 adjusted_mode->htotal = native_mode->hdisplay + hblank;
188 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
197 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
amdgpu_connectors.c 390 if (native_mode->hdisplay != 0 &&
398 } else if (native_mode->hdisplay != 0 &&
407 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false);
452 if (common_modes[i].w > native_mode->hdisplay ||
454 (common_modes[i].w == native_mode->hdisplay &&
622 if (mode->hdisplay != native_mode->hdisplay ||
631 if (mode->hdisplay == native_mode->hdisplay &&
689 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)
    [all...]
amdgpu_display.c 690 if ((mode->vdisplay == 480 && mode->hdisplay == 720) || /* 480p */
723 else if (mode->hdisplay < amdgpu_encoder->native_mode.hdisplay ||
734 src_h = crtc->mode.hdisplay;
735 dst_h = amdgpu_crtc->native_mode.hdisplay;
746 amdgpu_crtc->h_border = (mode->hdisplay >> 5) + 16;
754 src_h = crtc->mode.hdisplay;
755 dst_h = crtc->mode.hdisplay - (amdgpu_crtc->h_border * 2);
  /src/sys/external/bsd/drm2/dist/drm/i915/display/
intel_dsi.c 74 if (mode->hdisplay > fixed_mode->hdisplay)
dvo_ns2501.c 536 ("is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n",
537 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal);
545 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) ||
546 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) ||
547 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) {
563 ("set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n",
564 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal);
568 "hdisplay : %d\n"
596 if (mode->hdisplay == 640 && mode->vdisplay == 480)
598 else if (mode->hdisplay == 800 && mode->vdisplay == 600
    [all...]
dvo_ch7017.c 307 horizontal_active_pixel_input = mode->hdisplay & 0x00ff;
310 horizontal_active_pixel_output = mode->hdisplay & 0x00ff;
312 active_input_line_output = ((mode->hdisplay & 0x0700) >> 8) |
316 (mode->hdisplay & 0x0700) >> 8;
intel_tv.c 1002 mode->hdisplay =
1004 mode->hsync_start = mode->hdisplay +
1048 mode->hdisplay, mode->vdisplay,
1054 int hdisplay, int left_margin,
1057 int hsync_start = mode->hsync_start - mode->hdisplay + right_margin;
1058 int hsync_end = mode->hsync_end - mode->hdisplay + right_margin;
1059 int new_htotal = mode->htotal * hdisplay /
1060 (mode->hdisplay - left_margin - right_margin);
1064 mode->hdisplay = hdisplay;
1097 int hdisplay = adjusted_mode->crtc_hdisplay; local in function:intel_tv_get_config
1197 int hdisplay = adjusted_mode->crtc_hdisplay; local in function:intel_tv_compute_config
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/nouveau/dispnv04/
nouveau_dispnv04_tvnv17.c 212 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) {
224 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay &&
242 int hdisplay; member in struct:nv17_tv_get_hd_modes::__anon97b413c70108
258 if (modes[i].hdisplay > output_mode->hdisplay ||
262 if (modes[i].hdisplay == output_mode->hdisplay &&
268 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay,
275 if (output_mode->hdisplay <= 72
    [all...]
nouveau_dispnv04_dfp.c 196 mode->hdisplay > nv_connector->native_mode->hdisplay ||
305 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1;
308 (output_mode->hsync_start - output_mode->hdisplay) >=
310 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay;
316 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1;
339 else if (adjusted_mode->hdisplay == output_mode->hdisplay &&
379 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay;
380 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mode->vdisplay
    [all...]
nouveau_dispnv04_tvmodesnv17.c 330 uint64_t rs[] = {mode->hdisplay * id3,
333 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay);
564 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2;
567 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20),
572 hratio = crtc_mode->hdisplay * 0x800 /
573 (output_mode->hdisplay - 2*hmargin);
578 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1;
  /src/sys/external/bsd/drm2/dist/drm/radeon/
radeon_encoders.c 335 unsigned hblank = native_mode->htotal - native_mode->hdisplay;
337 unsigned hover = native_mode->hsync_start - native_mode->hdisplay;
346 adjusted_mode->hdisplay = native_mode->hdisplay;
350 adjusted_mode->htotal = native_mode->hdisplay + hblank;
351 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
361 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
radeon_connectors.c 477 if (native_mode->hdisplay != 0 &&
485 } else if (native_mode->hdisplay != 0 &&
494 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false);
538 if (common_modes[i].w > native_mode->hdisplay ||
540 (common_modes[i].w == native_mode->hdisplay &&
783 if (mode->hdisplay != native_mode->hdisplay ||
792 if (mode->hdisplay == native_mode->hdisplay &&
850 if ((mode->hdisplay < 320) || (mode->vdisplay < 240)
    [all...]
radeon_legacy_crtc.c 60 int xres = mode->hdisplay;
118 if (native_mode->hdisplay == 0 ||
123 if (xres > native_mode->hdisplay)
124 xres = native_mode->hdisplay;
128 if (xres == native_mode->hdisplay)
142 / native_mode->hdisplay + 1;
146 ((native_mode->hdisplay/8-1) << 16));
199 (((native_mode->hdisplay / 8) & 0x1ff) << 16));
  /src/sys/external/bsd/drm2/dist/drm/virtio/
virtgpu_display.c 97 crtc->mode.hdisplay,
205 if (mode->hdisplay == XRES_DEF && mode->vdisplay == YRES_DEF)
207 if (mode->hdisplay <= width && mode->hdisplay >= width - 16 &&
211 DRM_DEBUG("del mode: %dx%d\n", mode->hdisplay, mode->vdisplay);
  /src/sys/external/bsd/drm2/dist/drm/nouveau/
nouveau_connector.c 81 if (mode->hdisplay < high_w)
84 if (mode->hdisplay == high_w && mode->vdisplay < high_h)
87 if (mode->hdisplay == high_w && mode->vdisplay == high_h &&
91 high_w = mode->hdisplay;
814 int hdisplay; member in struct:moderec
848 while (mode->hdisplay) {
849 if (mode->hdisplay <= native->hdisplay &&
851 (mode->hdisplay != native->hdisplay ||
    [all...]
  /src/sys/arch/macppc/dev/
valkyriefb.c 278 (modetab[i].width != mode->hdisplay) &&
289 if ((mode->hdisplay * mode->vdisplay * (depth >> 3)) > 0x100000) {
343 sc->sc_width = mode->hdisplay;
345 sc->sc_linebytes = mode->hdisplay * (sc->sc_depth >> 3);
  /src/sys/arch/arm/iomd/
vidc20config.c 353 if (modes[i].hdisplay == bootconfig.width + 1
488 (vm->htotal - vm->hsync_start + vm->hdisplay - 18) & ~1);
490 (vm->htotal - vm->hsync_start + vm->hdisplay - 12) & ~1);
506 vidcvideo_write(VIDC_DCTL, vm->hdisplay>>2 | 1<<16 | 1<<12);
508 vidcvideo_write(VIDC_DCTL, vm->hdisplay>>2 | 3<<16 | 1<<12);
  /src/sys/dev/pci/
machfb.c 519 default_mode.hdisplay = width;
625 ((m)->hdisplay <= 1280))
642 "(%d x %d)\n", m->hdisplay, m->vdisplay);
676 default_mode.hdisplay = width;
693 if ((width == sc->sc_my_mode->hdisplay) &&
698 sc->virt_x = sc->sc_my_mode->hdisplay;
714 sc->sc_my_mode->hdisplay, sc->sc_my_mode->vdisplay,
829 ri->ri_width = sc->sc_my_mode->hdisplay;
846 sc->sc_my_mode->hdisplay / ri->ri_font->fontwidth);
932 int htotal, hdisplay, hsync_start, hsync_end local in function:mach64_get_mode
    [all...]

Completed in 28 milliseconds

1 2 3 4