Searched refs:hdisplay (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11-stable/sys/dev/videomode/
H A Dmodelines2c.awk79 hdisplay = $4;
115 modestr = sprintf("%dx%dx%d%s", hdisplay, vdisplay, vrefresh, iflag);
118 # hdisplay, vdisplay, iflag, vrefresh, hrefresh/1000);
121 hdisplay, vdisplay, dotclock * 1000,
126 hdisplay/2 , vdisplay/2, vrefresh, iflag);
130 hdisplay/2, vdisplay/2, dotclock * 1000 / 2,
H A Dpickmode.c56 if ((this->hdisplay != width) || (this->vdisplay != height) ||
84 if ((this->hdisplay != width) || (this->vdisplay != height))
133 aspect = (*preferred)->hdisplay * 100 / (*preferred)->vdisplay;
149 if (modes[i].hdisplay > hbest) {
150 hbest = modes[i].hdisplay;
153 } else if (modes[i].hdisplay == hbest &&
159 aspect = mtemp->hdisplay * 100 / mtemp->vdisplay;
176 atemp = (modes[i].hdisplay * 100 / modes[i].vdisplay);
190 if (modes[i].hdisplay > hbest) {
191 hbest = modes[i].hdisplay;
[all...]
H A Dvideomode.h36 int hdisplay; member in struct:videomode
H A Dvesagtf.c626 vmp->hdisplay = h_pixels;
675 vmp->hdisplay, vmp->vdisplay, vf, hf, vmp->dot_clock / 1000.0);
681 vmp->hdisplay, vmp->vdisplay, vf, (vmp->dot_clock / 1000.0),
682 vmp->hdisplay, vmp->hsync_start, vmp->hsync_end, vmp->htotal,
H A Dedid.c265 edid->edid_modes[i].hdisplay,
285 edid->edid_preferred_mode->hdisplay,
313 if (mode->hdisplay == edid->edid_modes[i].hdisplay &&
397 vmp->hdisplay = hactive;
/freebsd-11-stable/sys/dev/drm2/i915/
H A Dintel_panel.c45 adjusted_mode->hdisplay = fixed_mode->hdisplay;
71 if (adjusted_mode->hdisplay == mode->hdisplay &&
77 width = mode->hdisplay;
79 x = (adjusted_mode->hdisplay - width + 1)/2;
86 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
87 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
92 x = (adjusted_mode->hdisplay - width + 1) / 2;
96 height = scaled_width / mode->hdisplay;
[all...]
H A Dintel_lvds.c180 if (mode->hdisplay > fixed_mode->hdisplay)
199 border = (mode->hdisplay - width + 1) / 2;
287 if (adjusted_mode->hdisplay == mode->hdisplay &&
313 centre_horizontally(adjusted_mode, mode->hdisplay);
321 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
322 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
329 else if (adjusted_mode->hdisplay != mode->hdisplay)
[all...]
H A Ddvo_ivch.c354 if (mode->hdisplay != adjusted_mode->hdisplay ||
360 x_ratio = (((mode->hdisplay - 1) << 16) /
361 (adjusted_mode->hdisplay - 1)) >> 2;
H A Ddvo_ns2501.c292 ("%s: is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n",
293 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
302 if ((mode->hdisplay == 800 && mode->vdisplay == 600) ||
303 (mode->hdisplay == 640 && mode->vdisplay == 480) ||
304 (mode->hdisplay == 1024 && mode->vdisplay == 768)) {
320 ("%s: set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n",
321 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
333 if (mode->hdisplay == 800 && mode->vdisplay == 600) {
398 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) {
463 } else if (mode->hdisplay
[all...]
H A Ddvo_ch7017.c305 horizontal_active_pixel_input = mode->hdisplay & 0x00ff;
308 horizontal_active_pixel_output = mode->hdisplay & 0x00ff;
310 active_input_line_output = ((mode->hdisplay & 0x0700) >> 8) |
314 (mode->hdisplay & 0x0700) >> 8;
H A Dintel_dvo.c207 if (mode->hdisplay > intel_dvo->panel_fixed_mode->hdisplay)
229 C(hdisplay);
292 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
295 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
H A Dintel_bios.c82 panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) |
84 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay +
88 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay +
278 if (fp_timing->x_res == panel_fixed_mode->hdisplay &&
H A Dintel_pm.c467 if ((crtc->mode.hdisplay > 2048) ||
1095 int htotal, hdisplay, clock, pixel_size; local
1107 hdisplay = crtc->mode.hdisplay;
1113 tlb_miss = display->fifo_size*display->cacheline_size - hdisplay * 8;
1125 tlb_miss = cursor->fifo_size*cursor->cacheline_size - hdisplay * 8;
1179 int hdisplay, htotal, pixel_size, clock; local
1191 hdisplay = crtc->mode.hdisplay;
1198 line_size = hdisplay * pixel_siz
1419 int hdisplay = crtc->mode.hdisplay; local
1538 int hdisplay = enabled->mode.hdisplay; local
1670 int hdisplay, htotal, pixel_size, clock; local
[all...]
/freebsd-11-stable/sys/dev/drm2/
H A Ddrm_modes.c54 mode->hdisplay, mode->hsync_start,
64 * @hdisplay: hdisplay size
76 * according to the hdisplay, vdisplay, vrefresh.
85 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, argument
122 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY);
131 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;
153 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
155 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
301 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool interlaced, int margins, int GTF_M, int GTF_2C, int GTF_K, int GTF_2J) argument
499 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool lace, int margins) argument
[all...]
H A Ddrm_edid.c487 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
539 return (mode->htotal - mode->hdisplay == 160) &&
540 (mode->hsync_end - mode->hdisplay == 80) &&
564 if (hsize != ptr->hdisplay)
758 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
790 if (m->hdisplay == hsize && m->vdisplay == vsize &&
798 mode->hdisplay = 1366;
878 if ((mode->hdisplay == cea_interlaced[i].w) &&
953 mode->hdisplay = hactive;
954 mode->hsync_start = mode->hdisplay
2066 drm_add_modes_noedid(struct drm_connector *connector, int hdisplay, int vdisplay) argument
[all...]
H A Ddrm_crtc.h116 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
136 int hdisplay; member in struct:drm_display_mode
1045 int hdisplay, int vdisplay, int vrefresh,
1048 int hdisplay, int vdisplay, int vrefresh,
1051 int hdisplay, int vdisplay, int vrefresh,
1055 int hdisplay, int vdisplay);
H A Ddrm_crtc.c1128 if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX ||
1136 out->hdisplay = in->hdisplay;
1174 out->hdisplay = in->hdisplay;
1918 int hdisplay, vdisplay; local
1954 hdisplay = mode->hdisplay;
1960 vdisplay = hdisplay;
1961 hdisplay
3574 int hdisplay, vdisplay; local
[all...]
/freebsd-11-stable/sys/dev/drm2/radeon/
H A Dradeon_encoders.c281 unsigned hblank = native_mode->htotal - native_mode->hdisplay;
283 unsigned hover = native_mode->hsync_start - native_mode->hdisplay;
292 adjusted_mode->hdisplay = native_mode->hdisplay;
296 adjusted_mode->htotal = native_mode->hdisplay + hblank;
297 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
307 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
H A Dradeon_connectors.c300 if (native_mode->hdisplay != 0 &&
308 } else if (native_mode->hdisplay != 0 &&
317 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false);
361 if (common_modes[i].w > native_mode->hdisplay ||
363 (common_modes[i].w == native_mode->hdisplay &&
520 if (mode->hdisplay != native_mode->hdisplay ||
529 if (mode->hdisplay == native_mode->hdisplay &&
589 if ((mode->hdisplay < 32
[all...]
H A Dradeon_legacy_crtc.c55 int xres = mode->hdisplay;
113 if (native_mode->hdisplay == 0 ||
118 if (xres > native_mode->hdisplay)
119 xres = native_mode->hdisplay;
123 if (xres == native_mode->hdisplay)
137 / native_mode->hdisplay + 1;
141 ((native_mode->hdisplay/8-1) << 16));
194 (((native_mode->hdisplay / 8) & 0x1ff) << 16));
H A Drs690.c198 if (mode1->hdisplay > mode2->hdisplay) {
199 if (mode1->hdisplay > 2560)
203 } else if (mode2->hdisplay > mode1->hdisplay) {
204 if (mode2->hdisplay > 2560)
/freebsd-11-stable/sys/dev/usb/video/
H A Dudl.c244 return ((uint32_t)udl_modes[i].hdisplay *
253 return (udl_modes[i].hdisplay);
745 udl_lookup_mode(uint16_t hdisplay, uint16_t vdisplay, uint8_t hz, argument
754 if ((udl_modes[idx].hdisplay == hdisplay) &&
766 if ((udl_modes[idx].hdisplay == hdisplay) &&
1074 mode.hdisplay =
1075 sc->sc_edid_info.edid_preferred_mode->hdisplay;
1078 index = udl_lookup_mode(mode.hdisplay, mod
[all...]
/freebsd-11-stable/sys/arm/allwinner/
H A Da10_fb.c208 width = mode->hdisplay;
353 width = mode->hdisplay;
469 fbsize = round_page(mode->hdisplay * mode->vdisplay * (FB_BPP / NBBY));
509 sc->info.fb_stride = mode->hdisplay * (FB_BPP / NBBY);
510 sc->info.fb_width = mode->hdisplay;
571 mode->hdisplay, mode->vdisplay);
/freebsd-11-stable/sys/arm/freescale/imx/
H A Dimx6_ipu.c71 #define MODE_HFP(mode) ((mode)->hsync_start - (mode)->hdisplay)
716 sc->sc_mode->hdisplay, DI_SYNC_COUNTER(DI_COUNTER_AD_0),
756 IPU_WRITE4(sc, DC_DISP_CONF2(di), sc->sc_mode->hdisplay);
873 stride = sc->sc_mode->hdisplay * MODE_BPP / 8;
878 CH_PARAM_SET_FW(&param, sc->sc_mode->hdisplay - 1);
986 dma_size = round_page(sc->sc_mode->hdisplay * sc->sc_mode->vdisplay * (MODE_BPP / 8));
1021 sc->sc_fb_size = sc->sc_mode->hdisplay * sc->sc_mode->vdisplay * MODE_BPP / 8;
1045 sc->sc_fb_info.fb_stride = sc->sc_mode->hdisplay * MODE_BPP / 8;
1046 sc->sc_fb_info.fb_width = sc->sc_mode->hdisplay;
/freebsd-11-stable/sys/arm/ti/am335x/
H A Dam335x_lcd.c188 #define MODE_HFP(mode) ((mode)->hsync_start - (mode)->hdisplay)
308 if (mode->hdisplay & 0xf)
335 if (mode->vdisplay*mode->hdisplay*am335x_mode_vrefresh(mode)
851 device_printf(sc->sc_dev, "detected videomode: %dx%d @ %dKHz\n", videomode->hdisplay,
854 sc->sc_panel.panel_width = videomode->hdisplay;
856 sc->sc_panel.panel_hfp = videomode->hsync_start - videomode->hdisplay;

Completed in 139 milliseconds

12