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

1234567891011>>

/linux-master/drivers/gpu/drm/tve200/
H A Dtve200_display.c82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */
83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */
84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */
85 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */
86 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */
88 mode->hdisplay, mode->vdisplay);
102 * There's no pitch register, the mode's hdisplay
105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) {
171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */
172 (mode->hdisplay
[all...]
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_encoders.c169 unsigned int hblank = native_mode->htotal - native_mode->hdisplay;
171 unsigned int hover = native_mode->hsync_start - native_mode->hdisplay;
179 adjusted_mode->hdisplay = native_mode->hdisplay;
182 adjusted_mode->htotal = native_mode->hdisplay + hblank;
183 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
/linux-master/include/drm/
H A Ddrm_modes.h136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \
151 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \
199 * @hdisplay: horizontal display size
259 u16 hdisplay; member in struct:drm_display_mode
433 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \
476 unsigned int hdisplay,
491 int hdisplay, int vdisplay, int vrefresh,
495 int hdisplay, int vdisplay, int vrefresh,
498 int hdisplay, int vdisplay,
533 int *hdisplay, in
[all...]
/linux-master/drivers/gpu/drm/tilcdc/
H A Dtilcdc_plane.c51 if (crtc_state->mode.hdisplay != new_state->crtc_w ||
55 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay,
60 pitch = crtc_state->mode.hdisplay *
/linux-master/drivers/gpu/drm/
H A Ddrm_modes.c456 mode->hdisplay = hactive;
457 mode->hsync_start = mode->hdisplay + hfp;
529 * @hdisplay: hdisplay size
536 * Note that @hdisplay is larger than the usual constraints for the PAL
548 unsigned int hdisplay,
585 pixel_clock_hz, hdisplay, vdisplay, interlace);
600 * @hdisplay: hdisplay size
608 * according to the hdisplay, vdispla
545 drm_analog_tv_mode(struct drm_device *dev, enum drm_connector_tv_mode tv_mode, unsigned long pixel_clock_hz, unsigned int hdisplay, unsigned int vdisplay, bool interlace) argument
621 drm_cvt_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool reduced, bool interlaced, bool margins) argument
847 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
1052 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool interlaced, int margins) argument
1316 drm_mode_get_hv_timing(const struct drm_display_mode *mode, int *hdisplay, int *vdisplay) argument
[all...]
/linux-master/drivers/gpu/drm/panel/
H A Dpanel-simple.c210 m->hdisplay, m->vdisplay,
770 .hdisplay = 1280,
796 .hdisplay = 480,
820 .hdisplay = 800,
930 .hdisplay = 1024,
955 .hdisplay = 1366,
978 .hdisplay = 1366,
1038 .hdisplay = 1280,
1062 .hdisplay = 800,
1171 .hdisplay
[all...]
H A Dpanel-edp.c301 m->hdisplay, m->vdisplay,
1023 .hdisplay = 1366,
1036 .hdisplay = 1366,
1064 .hdisplay = 1920,
1091 .hdisplay = 1920,
1118 .hdisplay = 1366,
1140 .hdisplay = 1920,
1168 .hdisplay = 1280,
1179 .hdisplay = 1280,
1209 .hdisplay
[all...]
H A Dpanel-arm-versatile.c138 .hdisplay = 320,
161 .hdisplay = 640,
183 .hdisplay = 176,
206 .hdisplay = 240,
H A Dpanel-sharp-lq101r1sx01.c133 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1);
145 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2,
146 mode->hdisplay - 1);
264 .hdisplay = 2560,
282 default_mode.hdisplay, default_mode.vdisplay,
H A Dpanel-tpo-tpg110.c106 .hdisplay = 800,
122 .hdisplay = 640,
138 .hdisplay = 480,
154 .hdisplay = 480,
170 .hdisplay = 400,
H A Dpanel-mantix-mlaf057we51.c187 .hdisplay = 720,
202 .hdisplay = 720,
229 ctx->default_mode->hdisplay, ctx->default_mode->vdisplay,
316 ctx->default_mode->hdisplay, ctx->default_mode->vdisplay,
/linux-master/drivers/gpu/drm/radeon/
H A Dradeon_encoders.c327 unsigned int hblank = native_mode->htotal - native_mode->hdisplay;
329 unsigned int hover = native_mode->hsync_start - native_mode->hdisplay;
338 adjusted_mode->hdisplay = native_mode->hdisplay;
342 adjusted_mode->htotal = native_mode->hdisplay + hblank;
343 adjusted_mode->hsync_start = native_mode->hdisplay + hover;
353 adjusted_mode->crtc_hdisplay = native_mode->hdisplay;
/linux-master/drivers/gpu/drm/msm/disp/dpu1/
H A Ddpu_writeback.c66 mode->name, mode->hdisplay, mode->vdisplay);
68 if (fb->width != mode->hdisplay) {
69 DPU_ERROR("invalid fb w=%d, mode w=%d\n", fb->width, mode->hdisplay);
/linux-master/drivers/gpu/drm/bridge/
H A Dti-dlpc3433.c136 buf[4] = mode->hdisplay & 0xff;
137 buf[5] = (mode->hdisplay & 0xff00) >> 8;
143 buf[4] = mode->hdisplay & 0xff;
144 buf[5] = (mode->hdisplay & 0xff00) >> 8;
150 buf[0] = mode->hdisplay & 0xff;
151 buf[1] = (mode->hdisplay & 0xff00) >> 8;
/linux-master/drivers/gpu/drm/nouveau/dispnv04/
H A Dtvnv17.c208 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) {
220 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay &&
238 int hdisplay; member in struct:__anon1143
254 if (modes[i].hdisplay > output_mode->hdisplay ||
258 if (modes[i].hdisplay == output_mode->hdisplay &&
264 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay,
271 if (output_mode->hdisplay <
[all...]
H A Ddfp.c192 mode->hdisplay > nv_connector->native_mode->hdisplay ||
301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1;
304 (output_mode->hsync_start - output_mode->hdisplay) >=
306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay;
312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1;
335 else if (adjusted_mode->hdisplay == output_mode->hdisplay &&
375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay;
376 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mod
[all...]
/linux-master/drivers/gpu/drm/tests/
H A Ddrm_modes_test.c51 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720);
98 KUNIT_EXPECT_EQ(test, mode->hdisplay, 720);
/linux-master/drivers/gpu/drm/gud/
H A Dgud_internal.h136 dst->hdisplay = cpu_to_le16(src->hdisplay);
154 dst->hdisplay = le16_to_cpu(src->hdisplay);
/linux-master/drivers/gpu/drm/gma500/
H A Dcdv_intel_lvds.c172 if (mode->hdisplay > fixed_mode->hdisplay)
207 adjusted_mode->hdisplay = panel_fixed_mode->hdisplay;
280 if (mode->hdisplay != adjusted_mode->hdisplay ||
369 if (crtc->saved_mode.hdisplay != 0 &&
H A Doaktrail_lvds.c135 (mode->hdisplay != adjusted_mode->crtc_hdisplay)) {
137 (mode->hdisplay * adjusted_mode->crtc_vdisplay))
140 mode->vdisplay) > (mode->hdisplay *
229 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo;
231 mode->hsync_start = mode->hdisplay + \
237 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \
249 pr_info("hdisplay is %d\n", mode->hdisplay);
/linux-master/drivers/gpu/drm/virtio/
H A Dvirtgpu_display.c93 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);
/linux-master/drivers/gpu/drm/pl111/
H A Dpl111_display.c64 bw = bw * mode->hdisplay * mode->vdisplay * cpp;
73 mode->hdisplay, mode->vdisplay,
79 mode->hdisplay, mode->vdisplay,
93 if (mode->hdisplay % 16)
103 /* There's no pitch register -- the mode's hdisplay
106 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0])
147 ppl = (mode->hdisplay / 16) - 1;
149 hfp = mode->hsync_start - mode->hdisplay - 1;
157 cpl = mode->hdisplay - 1;
/linux-master/drivers/gpu/drm/imx/lcdc/
H A Dimx-lcdc.c160 framesize = FIELD_PREP(IMX21LCDC_LSR_XMAX, crtc->mode.hdisplay >> 4) |
165 lhcr = FIELD_PREP(IMX21LCDC_LHCR_HFPORCH, crtc->mode.hsync_start - crtc->mode.hdisplay - 1) |
281 if (mode->hdisplay < LCDC_MIN_XRES || mode->hdisplay > LCDC_MAX_XRES ||
283 mode->hdisplay % 0x10) { /* must be multiple of 16 */
285 mode->hdisplay, mode->vdisplay);
290 old_mode->hdisplay != mode->hdisplay ||
/linux-master/drivers/gpu/drm/i915/display/
H A Ddvo_ns2501.c531 ("is mode valid (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d)\n",
532 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal);
540 if ((mode->hdisplay == 640 && mode->vdisplay == 480 && mode->clock == 25175) ||
541 (mode->hdisplay == 800 && mode->vdisplay == 600 && mode->clock == 40000) ||
542 (mode->hdisplay == 1024 && mode->vdisplay == 768 && mode->clock == 65000)) {
558 ("set mode (hdisplay=%d,htotal=%d,vdisplay=%d,vtotal=%d).\n",
559 mode->hdisplay, mode->htotal, mode->vdisplay, mode->vtotal);
563 "hdisplay : %d\n"
591 if (mode->hdisplay == 640 && mode->vdisplay == 480)
593 else if (mode->hdisplay
[all...]
H A Ddvo_ch7017.c302 horizontal_active_pixel_input = mode->hdisplay & 0x00ff;
305 horizontal_active_pixel_output = mode->hdisplay & 0x00ff;
307 active_input_line_output = ((mode->hdisplay & 0x0700) >> 8) |
311 (mode->hdisplay & 0x0700) >> 8;

Completed in 479 milliseconds

1234567891011>>