Lines Matching defs:drm_display_mode
650 struct drm_display_mode *mode)
664 struct drm_display_mode *mode)
735 struct drm_display_mode *mode, *t;
737 list_for_each_entry_safe(mode, t, struct drm_display_mode, &connector->probed_modes, head)
740 list_for_each_entry_safe(mode, t, struct drm_display_mode, &connector->modes, head)
911 * Create a new drm_display_mode, give it an ID, and return it.
916 struct drm_display_mode *drm_mode_create(struct drm_device *dev)
918 struct drm_display_mode *nmode;
920 nmode = kzalloc(sizeof(struct drm_display_mode), GFP_KERNEL);
925 kfree(nmode, sizeof(struct drm_display_mode));
940 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode)
947 kfree(mode, sizeof(struct drm_display_mode));
1198 * drm_crtc_convert_to_umode - convert a drm_display_mode into a modeinfo
1200 * @in: drm_display_mode to use
1203 * Convert a drm_display_mode into a drm_mode_modeinfo structure to return to
1207 const struct drm_display_mode *in)
1235 * drm_crtc_convert_to_umode - convert a modeinfo into a drm_display_mode
1236 * @out: drm_display_mode to return to the user
1240 * Convert a drm_mode_modeinfo into a drm_display_mode structure to return to
1243 static int drm_crtc_convert_umode(struct drm_display_mode *out,
1537 struct drm_display_mode *mode;
1582 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head)
1604 list_for_each_entry(mode, struct drm_display_mode, &connector->modes, head) {
2002 struct drm_display_mode *mode = NULL;