Searched refs:tv_mode (Results 1 – 5 of 5) sorted by relevance
/Linux-v5.4/drivers/gpu/drm/i915/display/ |
D | intel_tv.c | 308 struct tv_mode { struct 379 static const struct tv_mode tv_modes[] = { 943 static const struct tv_mode *intel_tv_mode_find(const struct drm_connector_state *conn_state) in intel_tv_mode_find() 954 const struct tv_mode *tv_mode = intel_tv_mode_find(connector->state); in intel_tv_mode_valid() local 964 if (tv_mode && abs(tv_mode->refresh - drm_mode_vrefresh(mode) * 1000) in intel_tv_mode_valid() 972 intel_tv_mode_vdisplay(const struct tv_mode *tv_mode) in intel_tv_mode_vdisplay() argument 974 if (tv_mode->progressive) in intel_tv_mode_vdisplay() 975 return tv_mode->nbr_end + 1; in intel_tv_mode_vdisplay() 977 return 2 * (tv_mode->nbr_end + 1); in intel_tv_mode_vdisplay() 982 const struct tv_mode *tv_mode) in intel_tv_mode_to_mode() argument [all …]
|
/Linux-v5.4/drivers/gpu/drm/sun4i/ |
D | sun4i_tv.c | 139 struct tv_mode { struct 212 static const struct tv_mode tv_modes[] = { 291 static const struct tv_mode *sun4i_tv_find_tv_by_mode(const struct drm_display_mode *mode) in sun4i_tv_find_tv_by_mode() 297 const struct tv_mode *tv_mode = &tv_modes[i]; in sun4i_tv_find_tv_by_mode() local 300 mode->name, tv_mode->name); in sun4i_tv_find_tv_by_mode() 302 if (!strcmp(mode->name, tv_mode->name)) in sun4i_tv_find_tv_by_mode() 303 return tv_mode; in sun4i_tv_find_tv_by_mode() 308 const struct tv_mode *tv_mode = &tv_modes[i]; in sun4i_tv_find_tv_by_mode() local 311 mode->name, tv_mode->name, in sun4i_tv_find_tv_by_mode() 312 mode->vdisplay, tv_mode->vdisplay); in sun4i_tv_find_tv_by_mode() [all …]
|
/Linux-v5.4/drivers/gpu/drm/vc4/ |
D | vc4_vec.c | 167 const struct vc4_vec_tv_mode *tv_mode; member 370 vec->tv_mode = &vc4_vec_tv_modes[VC4_VEC_TV_MODE_NTSC]; in vc4_vec_connector_init() 465 vec->tv_mode->mode_set(vec); in vc4_vec_encoder_enable() 487 vec->tv_mode = &vc4_vec_tv_modes[conn_state->tv.mode]; in vc4_vec_encoder_atomic_mode_set()
|
/Linux-v5.4/drivers/gpu/drm/nouveau/dispnv04/ |
D | tvnv17.c | 204 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()
|
/Linux-v5.4/drivers/gpu/drm/radeon/ |
D | radeon_connectors.c | 1128 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()
|