Home
last modified time | relevance | path

Searched refs:tv_mode (Results 1 – 5 of 5) sorted by relevance

/kernel/linux/linux-5.10/drivers/gpu/drm/i915/display/
Dintel_tv.c307 struct tv_mode { struct
378 static const struct tv_mode tv_modes[] = {
946 static const struct tv_mode *intel_tv_mode_find(const struct drm_connector_state *conn_state) in intel_tv_mode_find()
957 const struct tv_mode *tv_mode = intel_tv_mode_find(connector->state); in intel_tv_mode_valid() local
967 if (abs(tv_mode->refresh - drm_mode_vrefresh(mode) * 1000) >= 1000) in intel_tv_mode_valid()
974 intel_tv_mode_vdisplay(const struct tv_mode *tv_mode) in intel_tv_mode_vdisplay() argument
976 if (tv_mode->progressive) in intel_tv_mode_vdisplay()
977 return tv_mode->nbr_end + 1; in intel_tv_mode_vdisplay()
979 return 2 * (tv_mode->nbr_end + 1); in intel_tv_mode_vdisplay()
984 const struct tv_mode *tv_mode) in intel_tv_mode_to_mode() argument
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/sun4i/
Dsun4i_tv.c140 struct tv_mode { struct
213 static const struct tv_mode tv_modes[] = {
292 static const struct tv_mode *sun4i_tv_find_tv_by_mode(const struct drm_display_mode *mode) in sun4i_tv_find_tv_by_mode()
298 const struct tv_mode *tv_mode = &tv_modes[i]; in sun4i_tv_find_tv_by_mode() local
301 mode->name, tv_mode->name); in sun4i_tv_find_tv_by_mode()
303 if (!strcmp(mode->name, tv_mode->name)) in sun4i_tv_find_tv_by_mode()
304 return tv_mode; in sun4i_tv_find_tv_by_mode()
309 const struct tv_mode *tv_mode = &tv_modes[i]; in sun4i_tv_find_tv_by_mode() local
312 mode->name, tv_mode->name, in sun4i_tv_find_tv_by_mode()
313 mode->vdisplay, tv_mode->vdisplay); in sun4i_tv_find_tv_by_mode()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_vec.c168 const struct vc4_vec_tv_mode *tv_mode; member
371 vec->tv_mode = &vc4_vec_tv_modes[VC4_VEC_TV_MODE_NTSC]; in vc4_vec_connector_init()
462 vec->tv_mode->mode_set(vec); in vc4_vec_encoder_enable()
484 vec->tv_mode = &vc4_vec_tv_modes[conn_state->tv.mode]; in vc4_vec_encoder_atomic_mode_set()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/dispnv04/
Dtvnv17.c204 const struct drm_display_mode *tv_mode; in nv17_tv_get_ld_modes() local
207 for (tv_mode = nv17_tv_modes; tv_mode->hdisplay; tv_mode++) { in nv17_tv_get_ld_modes()
210 mode = drm_mode_duplicate(encoder->dev, tv_mode); in nv17_tv_get_ld_modes()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_connectors.c1128 struct drm_display_mode *tv_mode; in radeon_tv_get_modes() local
1141 tv_mode = drm_cvt_mode(dev, 800, 600, 60, false, false, false); in radeon_tv_get_modes()
1142 tv_mode->type = DRM_MODE_TYPE_DRIVER | DRM_MODE_TYPE_PREFERRED; in radeon_tv_get_modes()
1143 drm_mode_probed_add(connector, tv_mode); in radeon_tv_get_modes()