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

/solaris-x11-s11/open-src/kernel/i915/src/
H A Dintel_panel.c43 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 Ddvo_ivch.c357 if (mode->hdisplay != adjusted_mode->hdisplay ||
363 x_ratio = (((mode->hdisplay - 1) << 16) /
364 (adjusted_mode->hdisplay - 1)) >> 2;
H A Ddvo_ns2501.c287 ("%s: is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n",
288 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
297 if ((mode->hdisplay == 800 && mode->vdisplay == 600) ||
298 (mode->hdisplay == 640 && mode->vdisplay == 480) ||
299 (mode->hdisplay == 1024 && mode->vdisplay == 768)) {
315 ("%s: set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n",
316 __FUNCTION__, mode->hdisplay, mode->htotal, mode->vdisplay,
328 if (mode->hdisplay == 800 && mode->vdisplay == 600) {
393 } else if (mode->hdisplay == 640 && mode->vdisplay == 480) {
458 } else if (mode->hdisplay
[all...]
H A Ddvo_ch7017.c309 horizontal_active_pixel_input = mode->hdisplay & 0x00ff;
312 horizontal_active_pixel_output = mode->hdisplay & 0x00ff;
314 active_input_line_output = ((mode->hdisplay & 0x0700) >> 8) |
318 (mode->hdisplay & 0x0700) >> 8;
H A Dintel_dvo.c239 if (mode->hdisplay > intel_dvo->panel_fixed_mode->hdisplay)
261 C(hdisplay);
324 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
327 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
H A Dintel_bios.c83 panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) |
85 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay +
89 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay +
281 if (fp_timing->x_res == panel_fixed_mode->hdisplay &&
H A Dintel_pm.c535 if ((crtc->mode.hdisplay > max_hdisplay) ||
1172 int htotal, hdisplay, clock, pixel_size; local
1184 hdisplay = crtc->mode.hdisplay;
1190 tlb_miss = display->fifo_size*display->cacheline_size - hdisplay * 8;
1202 tlb_miss = cursor->fifo_size*cursor->cacheline_size - hdisplay * 8;
1256 int hdisplay, htotal, pixel_size, clock; local
1268 hdisplay = crtc->mode.hdisplay;
1275 line_size = hdisplay * pixel_siz
1496 int hdisplay = crtc->mode.hdisplay; local
1615 int hdisplay = enabled->mode.hdisplay; local
1751 int hdisplay, htotal, pixel_size, clock; local
[all...]
H A Dintel_sdvo.c758 (intel_sdvo->sdvo_lvds_fixed_mode->hdisplay != width ||
789 width = mode->hdisplay;
793 h_blank_len = mode->htotal - mode->hdisplay;
799 h_sync_offset = mode->hsync_start - mode->hdisplay;
839 mode->hdisplay = dtd->part1.h_active;
840 mode->hdisplay += ((dtd->part1.h_high >> 4) & 0x0f) << 8;
841 mode->hsync_start = mode->hdisplay + dtd->part2.h_sync_off;
845 mode->htotal = mode->hdisplay + dtd->part1.h_blank;
1040 mode->hdisplay,
1518 if (mode->hdisplay > intel_sdv
[all...]
H A Dintel_lvds.c247 if (mode->hdisplay > fixed_mode->hdisplay)
745 if (scan->hdisplay == fixed_mode->hdisplay &&
H A Dintel_overlay.c866 if (rec->dst_x < mode->hdisplay &&
867 rec->dst_x + rec->dst_width <= mode->hdisplay &&
1104 if (mode->hdisplay > 1024 &&
H A Dintel_tv.c1151 .hdisplay = 1280,
1412 mode_ptr->hdisplay = hactive_s;
H A Dintel_display.c3763 master_priv->sarea_priv->pipeA_w = enabled ? crtc->mode.hdisplay : 0;
3767 master_priv->sarea_priv->pipeB_w = enabled ? crtc->mode.hdisplay : 0;
4089 adjusted_mode->hsync_start == adjusted_mode->hdisplay)
4740 ((mode->hdisplay - 1) << 16) | (mode->vdisplay - 1));
4779 pipe_config->requested_mode.hdisplay = ((tmp >> 16) & 0xffff) + 1;
4945 (mode->hdisplay - 1));
6745 u32 pitch = intel_framebuffer_pitch_for_width(mode->hdisplay, bpp);
6764 mode_cmd.width = mode->hdisplay;
6789 if (fb->pitches[0] < intel_framebuffer_pitch_for_width(mode->hdisplay,
7048 mode->hdisplay
[all...]
H A Dintel_sprite.c639 .x2 = crtc->mode.hdisplay,
H A Dintel_dp.c136 if (mode->hdisplay > fixed_mode->hdisplay)
/solaris-x11-s11/open-src/kernel/drm/src/
H A Ddrm_modes.c57 mode->hdisplay, mode->hsync_start,
66 * @hdisplay: hdisplay size
78 * according to the hdisplay, vdisplay, vrefresh.
87 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, argument
124 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY);
133 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;
155 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
157 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
303 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
503 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool lace, int margins) argument
[all...]
H A Ddrm_edid.c1196 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
1248 return (mode->htotal - mode->hdisplay == 160) &&
1249 (mode->hsync_end - mode->hdisplay == 80) &&
1273 if (hsize != ptr->hdisplay)
1466 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
1498 if (m->hdisplay == hsize && m->vdisplay == vsize &&
1506 mode->hdisplay = 1366;
1586 if ((mode->hdisplay == cea_interlaced[i].w) &&
1661 mode->hdisplay = hactive;
1662 mode->hsync_start = mode->hdisplay
2958 drm_add_modes_noedid(struct drm_connector *connector, int hdisplay, int vdisplay) argument
[all...]
H A Ddrm_fb_helper.c379 if (desired_mode->hdisplay < sizes.fb_width)
380 sizes.fb_width = desired_mode->hdisplay;
383 if (desired_mode->hdisplay > sizes.surface_width)
384 sizes.surface_width = desired_mode->hdisplay;
483 if (mode->hdisplay != cmdline_mode->xres ||
H A Ddrm_crtc.c1209 if (in->hdisplay > USHRT_MAX || in->hsync_start > USHRT_MAX ||
1217 out->hdisplay = in->hdisplay;
1250 out->hdisplay = in->hdisplay;
2027 int hdisplay, vdisplay; local
2064 hdisplay = mode->hdisplay;
2068 swap(hdisplay, vdisplay);
2070 if (hdisplay > f
3472 int hdisplay, vdisplay; local
[all...]
/solaris-x11-s11/open-src/kernel/sys/drm/
H A Ddrm_crtc.h121 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
141 int hdisplay; member in struct:drm_display_mode
1033 int hdisplay, int vdisplay, int vrefresh,
1036 int hdisplay, int vdisplay, int vrefresh,
1039 int hdisplay, int vdisplay, int vrefresh,
1043 int hdisplay, int vdisplay);
H A Ddrm_mode.h90 __u16 hdisplay, hsync_start, hsync_end, htotal, hskew; member in struct:drm_mode_modeinfo
/solaris-x11-s11/open-src/kernel/efb/src/
H A Ddrm_mode.h90 __u16 hdisplay, hsync_start, hsync_end, htotal, hskew; member in struct:drm_mode_modeinfo

Completed in 228 milliseconds