/kernel/linux/linux-5.10/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 168 m->hdisplay, m->vdisplay, in panel_simple_get_display_modes() 665 .hdisplay = 1280, 691 .hdisplay = 480, 715 .hdisplay = 800, 765 .hdisplay = 1024, 812 .hdisplay = 1366, 835 .hdisplay = 1366, 863 .hdisplay = 1366, 892 .hdisplay = 1366, 914 .hdisplay [all...] |
H A D | panel-arm-versatile.c | 138 .hdisplay = 320, 161 .hdisplay = 640, 183 .hdisplay = 176, 206 .hdisplay = 240,
|
H A D | panel-tpo-tpg110.c | 106 .hdisplay = 800, 122 .hdisplay = 640, 138 .hdisplay = 480, 154 .hdisplay = 480, 170 .hdisplay = 400,
|
H A D | panel-sharp-lq101r1sx01.c | 133 err = mipi_dsi_dcs_set_column_address(left, 0, mode->hdisplay / 2 - 1); in sharp_setup_symmetrical_split() 145 err = mipi_dsi_dcs_set_column_address(right, mode->hdisplay / 2, in sharp_setup_symmetrical_split() 146 mode->hdisplay - 1); in sharp_setup_symmetrical_split() 264 .hdisplay = 2560, 282 default_mode.hdisplay, default_mode.vdisplay, in sharp_panel_get_modes()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/ |
H A D | drm_modes.c | 119 * @hdisplay: hdisplay size 127 * according to the hdisplay, vdisplay, vrefresh. 140 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, in drm_cvt_mode() argument 161 if (!hdisplay || !vdisplay) in drm_cvt_mode() 182 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode() 191 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode() 213 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode() 215 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode() 366 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) drm_gtf_mode_complex() argument 571 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool interlaced, int margins) drm_gtf_mode() argument 788 drm_mode_get_hv_timing(const struct drm_display_mode *mode, int *hdisplay, int *vdisplay) drm_mode_get_hv_timing() argument [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */ in tve200_display_check() 83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */ in tve200_display_check() 84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */ in tve200_display_check() 85 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */ in tve200_display_check() 86 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */ in tve200_display_check() 88 mode->hdisplay, mode->vdisplay); in tve200_display_check() 102 * There's no pitch register, the mode's hdisplay in tve200_display_check() 105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { in tve200_display_check() 171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ in tve200_display_enable() 172 (mode->hdisplay in tve200_display_enable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/tve200/ |
H A D | tve200_display.c | 82 if (!(mode->hdisplay == 352 && mode->vdisplay == 240) && /* SIF(525) */ in tve200_display_check() 83 !(mode->hdisplay == 352 && mode->vdisplay == 288) && /* CIF(625) */ in tve200_display_check() 84 !(mode->hdisplay == 640 && mode->vdisplay == 480) && /* VGA */ in tve200_display_check() 85 !(mode->hdisplay == 720 && mode->vdisplay == 480) && /* D1 */ in tve200_display_check() 86 !(mode->hdisplay == 720 && mode->vdisplay == 576)) { /* D1 */ in tve200_display_check() 88 mode->hdisplay, mode->vdisplay); in tve200_display_check() 102 * There's no pitch register, the mode's hdisplay in tve200_display_check() 105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) { in tve200_display_check() 171 if ((mode->hdisplay == 352 && mode->vdisplay == 240) || /* SIF(525) */ in tve200_display_enable() 172 (mode->hdisplay in tve200_display_enable() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/panel/ |
H A D | panel-simple.c | 209 m->hdisplay, m->vdisplay, in panel_simple_get_display_modes() 716 .hdisplay = 1280, 742 .hdisplay = 480, 766 .hdisplay = 800, 876 .hdisplay = 1024, 901 .hdisplay = 1366, 924 .hdisplay = 1366, 984 .hdisplay = 1280, 1008 .hdisplay = 800, 1086 .hdisplay [all...] |
H A D | panel-edp.c | 288 m->hdisplay, m->vdisplay, in panel_edp_get_display_modes() 987 .hdisplay = 1366, 1015 .hdisplay = 1920, 1042 .hdisplay = 1920, 1069 .hdisplay = 1366, 1091 .hdisplay = 1920, 1119 .hdisplay = 1280, 1130 .hdisplay = 1280, 1160 .hdisplay = 2160, 1172 .hdisplay [all...] |
H A D | panel-arm-versatile.c | 138 .hdisplay = 320, 161 .hdisplay = 640, 183 .hdisplay = 176, 206 .hdisplay = 240,
|
/kernel/linux/linux-5.10/include/drm/ |
H A D | drm_modes.h | 136 .hdisplay = (hd), .hsync_start = (hss), .hsync_end = (hse), \ 153 .hdisplay = (hd), .hsync_start = (hd), .hsync_end = (hd), \ 174 * @hdisplay: horizontal display size 231 u16 hdisplay; member 405 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ 444 int hdisplay, int vdisplay, int vrefresh, 448 int hdisplay, int vdisplay, int vrefresh, 451 int hdisplay, int vdisplay, 468 int *hdisplay, int *vdisplay);
|
/kernel/linux/linux-6.6/drivers/gpu/drm/ |
H A D | drm_modes.c | 455 mode->hdisplay = hactive; in fill_analog_mode() 456 mode->hsync_start = mode->hdisplay + hfp; in fill_analog_mode() 528 * @hdisplay: hdisplay size 535 * Note that @hdisplay is larger than the usual constraints for the PAL 547 unsigned int hdisplay, in drm_analog_tv_mode() 584 pixel_clock_hz, hdisplay, vdisplay, interlace); in drm_analog_tv_mode() 599 * @hdisplay: hdisplay size 607 * according to the hdisplay, vdispla 544 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) drm_analog_tv_mode() argument 620 drm_cvt_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool reduced, bool interlaced, bool margins) drm_cvt_mode() argument 846 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) drm_gtf_mode_complex() argument 1051 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, bool interlaced, int margins) drm_gtf_mode() argument 1316 drm_mode_get_hv_timing(const struct drm_display_mode *mode, int *hdisplay, int *vdisplay) drm_mode_get_hv_timing() argument [all...] |
/kernel/linux/linux-6.6/include/drm/ |
H A D | drm_modes.h | 136 .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 433 (m)->hdisplay, (m)->hsync_start, (m)->hsync_end, (m)->htotal, \ 474 unsigned int hdisplay, 489 int hdisplay, int vdisplay, int vrefresh, 493 int hdisplay, int vdisplay, int vrefresh, 496 int hdisplay, int vdisplay, 531 int *hdisplay, in [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_encoders.c | 169 unsigned hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 171 unsigned hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 179 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 183 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup() 192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_encoders.c | 169 unsigned int hblank = native_mode->htotal - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 171 unsigned int hover = native_mode->hsync_start - native_mode->hdisplay; in amdgpu_panel_mode_fixup() 179 adjusted_mode->hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup() 182 adjusted_mode->htotal = native_mode->hdisplay + hblank; in amdgpu_panel_mode_fixup() 183 adjusted_mode->hsync_start = native_mode->hdisplay + hover; in amdgpu_panel_mode_fixup() 192 adjusted_mode->crtc_hdisplay = native_mode->hdisplay; in amdgpu_panel_mode_fixup()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.c | 207 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes() 219 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes() 237 int hdisplay; in nv17_tv_get_hd_modes() member 253 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes() 257 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes() 263 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes() 270 if (output_mode->hdisplay < in nv17_tv_get_hd_modes() [all...] |
H A D | dfp.c | 192 mode->hdisplay > nv_connector->native_mode->hdisplay || in nv04_dfp_mode_fixup() 301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 304 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set() 306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set() 312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 335 else if (adjusted_mode->hdisplay == output_mode->hdisplay && in nv04_dfp_mode_set() 375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set() 376 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mod in nv04_dfp_mode_set() [all...] |
/kernel/linux/linux-6.6/drivers/gpu/drm/nouveau/dispnv04/ |
H A D | tvnv17.c | 208 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes() 220 if (mode->hdisplay == tv_norm->tv_enc_mode.hdisplay && in nv17_tv_get_ld_modes() 238 int hdisplay; in nv17_tv_get_hd_modes() member 254 if (modes[i].hdisplay > output_mode->hdisplay || in nv17_tv_get_hd_modes() 258 if (modes[i].hdisplay == output_mode->hdisplay && in nv17_tv_get_hd_modes() 264 mode = drm_cvt_mode(encoder->dev, modes[i].hdisplay, in nv17_tv_get_hd_modes() 271 if (output_mode->hdisplay < in nv17_tv_get_hd_modes() [all...] |
H A D | dfp.c | 192 mode->hdisplay > nv_connector->native_mode->hdisplay || in nv04_dfp_mode_fixup() 301 regp->fp_horiz_regs[FP_DISPLAY_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 304 (output_mode->hsync_start - output_mode->hdisplay) >= in nv04_dfp_mode_set() 306 regp->fp_horiz_regs[FP_CRTC] = output_mode->hdisplay; in nv04_dfp_mode_set() 312 regp->fp_horiz_regs[FP_VALID_END] = output_mode->hdisplay - 1; in nv04_dfp_mode_set() 335 else if (adjusted_mode->hdisplay == output_mode->hdisplay && in nv04_dfp_mode_set() 375 mode_ratio = (1 << 12) * adjusted_mode->hdisplay / adjusted_mode->vdisplay; in nv04_dfp_mode_set() 376 panel_ratio = (1 << 12) * output_mode->hdisplay / output_mod in nv04_dfp_mode_set() [all...] |
/kernel/linux/linux-5.10/drivers/gpu/drm/gma500/ |
H A D | mdfld_tmd_vid.c | 47 mode->hdisplay = (ti->hactive_hi << 8) | ti->hactive_lo; in tmd_vid_get_config_mode() 49 mode->hsync_start = mode->hdisplay + \ in tmd_vid_get_config_mode() 55 mode->htotal = mode->hdisplay + ((ti->hblank_hi << 8) | \ in tmd_vid_get_config_mode() 67 dev_dbg(dev->dev, "hdisplay is %d\n", mode->hdisplay); in tmd_vid_get_config_mode() 77 mode->hdisplay = 480; in tmd_vid_get_config_mode()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/gud/ |
H A D | gud_internal.h | 136 dst->hdisplay = cpu_to_le16(src->hdisplay); in gud_from_display_mode() 154 dst->hdisplay = le16_to_cpu(src->hdisplay); in gud_to_display_mode()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/pl111/ |
H A D | pl111_display.c | 63 bw = bw * mode->hdisplay * mode->vdisplay * cpp; in pl111_mode_valid() 72 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 78 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 92 if (mode->hdisplay % 16) in pl111_display_check() 102 /* There's no pitch register -- the mode's hdisplay in pl111_display_check() 105 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) in pl111_display_check() 146 ppl = (mode->hdisplay / 16) - 1; in pl111_display_enable() 148 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable() 156 cpl = mode->hdisplay - 1; in pl111_display_enable()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/pl111/ |
H A D | pl111_display.c | 64 bw = bw * mode->hdisplay * mode->vdisplay * cpp; in pl111_mode_valid() 73 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 79 mode->hdisplay, mode->vdisplay, in pl111_mode_valid() 93 if (mode->hdisplay % 16) in pl111_display_check() 103 /* There's no pitch register -- the mode's hdisplay in pl111_display_check() 106 if (fb->pitches[0] != mode->hdisplay * fb->format->cpp[0]) in pl111_display_check() 147 ppl = (mode->hdisplay / 16) - 1; in pl111_display_enable() 149 hfp = mode->hsync_start - mode->hdisplay - 1; in pl111_display_enable() 157 cpl = mode->hdisplay - 1; in pl111_display_enable()
|
/kernel/linux/linux-5.10/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_plane.c | 48 if (crtc_state->mode.hdisplay != state->crtc_w || in tilcdc_plane_atomic_check() 52 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay, in tilcdc_plane_atomic_check() 57 pitch = crtc_state->mode.hdisplay * in tilcdc_plane_atomic_check()
|
/kernel/linux/linux-6.6/drivers/gpu/drm/tilcdc/ |
H A D | tilcdc_plane.c | 51 if (crtc_state->mode.hdisplay != new_state->crtc_w || in tilcdc_plane_atomic_check() 55 crtc_state->mode.hdisplay, crtc_state->mode.vdisplay, in tilcdc_plane_atomic_check() 60 pitch = crtc_state->mode.hdisplay * in tilcdc_plane_atomic_check()
|