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

12

/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/i915/
H A Dintel_panel.c37 adjusted_mode->hdisplay = fixed_mode->hdisplay;
65 if (adjusted_mode->hdisplay == mode->hdisplay &&
71 width = mode->hdisplay;
73 x = (adjusted_mode->hdisplay - width + 1)/2;
80 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
81 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
84 x = (adjusted_mode->hdisplay - width + 1) / 2;
88 height = scaled_width / mode->hdisplay;
[all...]
H A Dintel_lvds.c153 if (mode->hdisplay > fixed_mode->hdisplay)
173 border = (mode->hdisplay - width + 1) / 2;
268 if (adjusted_mode->hdisplay == mode->hdisplay &&
292 centre_horizontally(adjusted_mode, mode->hdisplay);
300 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
301 u32 scaled_height = mode->hdisplay * adjusted_mode->vdisplay;
312 u32 scaled_width = adjusted_mode->hdisplay * mode->vdisplay;
313 u32 scaled_height = mode->hdisplay * adjusted_mod
[all...]
H A Ddvo_ivch.c339 if (mode->hdisplay != adjusted_mode->hdisplay ||
345 x_ratio = (((mode->hdisplay - 1) << 16) /
346 (adjusted_mode->hdisplay - 1)) >> 2;
H A Ddvo_ch7017.c313 horizontal_active_pixel_input = mode->hdisplay & 0x00ff;
316 horizontal_active_pixel_output = mode->hdisplay & 0x00ff;
318 active_input_line_output = ((mode->hdisplay & 0x0700) >> 8) |
322 (mode->hdisplay & 0x0700) >> 8;
H A Dintel_dvo.c123 if (mode->hdisplay > intel_dvo->panel_fixed_mode->hdisplay)
145 C(hdisplay);
209 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
212 (adjusted_mode->hdisplay << DVO_SRCDIM_HORIZONTAL_SHIFT) |
H A Dintel_bios.c78 panel_fixed_mode->hdisplay = (dvo_timing->hactive_hi << 8) |
80 panel_fixed_mode->hsync_start = panel_fixed_mode->hdisplay +
84 panel_fixed_mode->htotal = panel_fixed_mode->hdisplay +
194 if (temp_mode->hdisplay == panel_fixed_mode->hdisplay &&
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/
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.c381 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
439 if (hsize == ptr->hdisplay &&
644 /* According to the EDID spec, the hdisplay = hsize * 8 + 248 */
676 if (m->hdisplay == hsize && m->vdisplay == vsize &&
684 mode->hdisplay = 1366;
755 if ((mode->hdisplay == cea_interlaced[i].w) &&
823 mode->hdisplay = hactive;
824 mode->hsync_start = mode->hdisplay + hsync_offset;
826 mode->htotal = mode->hdisplay + hblank;
871 return (mode->htotal - mode->hdisplay
1368 drm_add_modes_noedid(struct drm_connector *connector, int hdisplay, int vdisplay) argument
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/nouveau/
H A Dnv04_dfp.c300 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1;
303 (output_mode->hsync_start - output_mode->hdisplay) >=
305 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay;
311 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1;
334 else if (adjusted_mode->hdisplay == output_mode->hdisplay &&
369 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay;
370 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mode->vdisplay;
388 diff = output_mode->hdisplay -
399 scale = (1 << 12) * adjusted_mode->hdisplay / output_mod
[all...]
H A Dnv17_tv.c197 int hdisplay; member in struct:__anon11276
223 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) {
233 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay &&
246 if (modes[i].hdisplay > output_mode->hdisplay ||
250 if (modes[i].hdisplay == output_mode->hdisplay &&
255 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay,
262 if (output_mode->hdisplay <
[all...]
H A Dnouveau_connector.c461 if (mode->hdisplay < high_w)
464 if (mode->hdisplay == high_w && mode->vdisplay < high_h)
467 if (mode->hdisplay == high_w && mode->vdisplay == high_h &&
471 high_w = mode->hdisplay;
483 int hdisplay; member in struct:moderec
517 while (mode->hdisplay) {
518 if (mode->hdisplay <= native->hdisplay &&
520 m = drm_cvt_mode(dev, mode->hdisplay, mode->vdisplay,
606 (mode->hdisplay > nv_connecto
[all...]
H A Dnv17_tv.h98 int hdisplay; member in struct:nv17_tv_norm_params::__anon11278::__anon11279
H A Dnv50_crtc.c213 horiz = (native_mode->hdisplay << 19) / mode->hdisplay;
217 outX = (mode->hdisplay * horiz) >> 19;
220 outX = (mode->hdisplay * vert) >> 19;
225 outX = native_mode->hdisplay;
231 outX = mode->hdisplay;
245 mode->hdisplay != outX || mode->vdisplay != outY) {
628 adjusted_mode->hsync_start + adjusted_mode->hdisplay;
681 OUT_RING(evo, (mode->vdisplay << 16) | mode->hdisplay);
H A Dnv17_tv_modes.c326 uint64_t rs[] = {mode->hdisplay * id3,
329 do_div(rs[0], overscan * tv_norm->tv_enc_mode.hdisplay);
553 hmargin = (output_mode->hdisplay - crtc_mode->hdisplay) / 2;
556 hmargin = interpolate(0, min(hmargin, output_mode->hdisplay/20), hmargin,
561 hratio = crtc_mode->hdisplay * 0x800 / (output_mode->hdisplay - 2*hmargin);
565 regs->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - hmargin - 1;
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/radeon/
H A Dradeon_connectors.c210 if (native_mode->hdisplay != 0 &&
218 } else if (native_mode->hdisplay != 0 &&
227 mode = drm_cvt_mode(dev, native_mode->hdisplay, native_mode->vdisplay, 60, true, false, false);
271 if (common_modes[i].w > native_mode->hdisplay ||
273 (common_modes[i].w == native_mode->hdisplay &&
403 if (mode->hdisplay == native_mode->hdisplay &&
459 if ((mode->hdisplay < 320) || (mode->vdisplay < 240))
469 if ((mode->hdisplay > native_mode->hdisplay) ||
[all...]
H A Dradeon_legacy_crtc.c51 int xres = mode->hdisplay;
107 if (native_mode->hdisplay == 0 ||
112 if (xres > native_mode->hdisplay)
113 xres = native_mode->hdisplay;
117 if (xres == native_mode->hdisplay)
131 / native_mode->hdisplay + 1;
135 ((native_mode->hdisplay/8-1) << 16));
188 (((native_mode->hdisplay / 8) & 0x1ff) << 16));
H A Dradeon_display.c1102 if ((mode->vdisplay == 480 && mode->hdisplay == 720) || /* 480p */
1140 else if (mode->hdisplay < radeon_encoder->native_mode.hdisplay ||
1151 src_h = crtc->mode.hdisplay;
1152 dst_h = radeon_crtc->native_mode.hdisplay;
1161 radeon_crtc->h_border = (mode->hdisplay >> 5) + 16;
1166 src_h = crtc->mode.hdisplay;
1167 dst_h = crtc->mode.hdisplay - (radeon_crtc->h_border * 2);
H A Drs690.c194 if (mode1->hdisplay > mode2->hdisplay) {
195 if (mode1->hdisplay > 2560)
199 } else if (mode2->hdisplay > mode1->hdisplay) {
200 if (mode2->hdisplay > 2560)
H A Dradeon_encoders.c238 unsigned hblank = native_mode->htotal - native_mode->hdisplay;
240 unsigned hover = native_mode->hsync_start - native_mode->hdisplay;
249 adjusted_mode->hdisplay = native_mode->hdisplay;
253 adjusted_mode->htotal = native_mode->hdisplay + hblank;
254 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
264 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
H A Dradeon_combios.c1135 lvds->native_mode.hdisplay =
1139 lvds->native_mode.hdisplay =
1142 if ((lvds->native_mode.hdisplay < 640) ||
1144 lvds->native_mode.hdisplay = 640;
1165 DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.hdisplay,
1196 lvds->native_mode.hdisplay = RBIOS16(lcd_info + 0x19);
1199 DRM_INFO("Panel Size %dx%d\n", lvds->native_mode.hdisplay,
1257 if ((RBIOS16(tmp) == lvds->native_mode.hdisplay) &&
1259 lvds->native_mode.htotal = lvds->native_mode.hdisplay +
1261 lvds->native_mode.hsync_start = lvds->native_mode.hdisplay
[all...]
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/include/drm/
H A Ddrm_crtc.h107 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
127 int hdisplay; member in struct:drm_display_mode
767 int hdisplay, int vdisplay, int vrefresh,
770 int hdisplay, int vdisplay, int vrefresh,
773 int hdisplay, int vdisplay, int vrefresh,
777 int hdisplay, int vdisplay);
H A Ddrm_mode.h86 __u16 hdisplay, hsync_start, hsync_end, htotal, hskew; member in struct:drm_mode_modeinfo
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/wxWidgets-2.8.12/src/unix/
H A Ddisplayx11.cpp180 #define wxCVM2(v, dc) wxVideoMode(v.hdisplay, v.vdisplay, DefaultDepth((Display*)wxGetDisplay(), DefaultScreen((Display*)wxGetDisplay())), wxCRR2(v,dc))
255 ppXModes[i]->hdisplay == mode.w &&
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/vmwgfx/
H A Dvmwgfx_ldu.c108 w = max(w, crtc->x + crtc->mode.hdisplay);
143 vmw_write(dev_priv, SVGA_REG_DISPLAY_WIDTH, crtc->mode.hdisplay);
278 if (set->x + mode->hdisplay > fb->width ||
443 mode->hdisplay = ldu->pref_width;
457 if (vmw_ldu_connector_builtin[i].hdisplay > max_width ||
/netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/drivers/gpu/drm/i2c/
H A Dch7006_mode.c112 .hdisplay = hd, \
185 if (mode->mode.hdisplay != drm_mode->hdisplay ||
352 hpos = round_fixed((norm->hvirtual * aspect - mode->hdisplay * scale)

Completed in 297 milliseconds

12