Lines Matching full:drm_display_mode

58 void drm_mode_debug_printmodeline(const struct drm_display_mode *mode)  in drm_mode_debug_printmodeline()
68 * Create a new, cleared drm_display_mode with kzalloc, allocate an ID for it
74 struct drm_display_mode *drm_mode_create(struct drm_device *dev) in drm_mode_create()
76 struct drm_display_mode *nmode; in drm_mode_create()
78 nmode = kzalloc(sizeof(struct drm_display_mode), GFP_KERNEL); in drm_mode_create()
93 void drm_mode_destroy(struct drm_device *dev, struct drm_display_mode *mode) in drm_mode_destroy()
112 struct drm_display_mode *mode) in drm_mode_probed_add()
326 struct drm_display_mode *mode, in fill_analog_mode()
533 * This function creates a struct drm_display_mode instance suited for
545 struct drm_display_mode *drm_analog_tv_mode(struct drm_device *dev, in drm_analog_tv_mode()
552 struct drm_display_mode *mode; in drm_analog_tv_mode()
619 * The modeline based on the CVT algorithm stored in a drm_display_mode object.
623 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, in drm_cvt_mode()
638 struct drm_display_mode *drm_mode; in drm_cvt_mode()
647 /* allocate the drm_display_mode structure. If failure, we will in drm_cvt_mode()
844 * The modeline based on the full GTF algorithm stored in a drm_display_mode object.
848 struct drm_display_mode *
867 struct drm_display_mode *drm_mode; in drm_gtf_mode_complex()
1049 * The modeline based on the GTF algorithm stored in a drm_display_mode object.
1053 struct drm_display_mode *
1067 * @dmode: drm_display_mode structure to use as destination
1072 struct drm_display_mode *dmode) in drm_display_mode_from_videomode()
1107 * @dmode: drm_display_mode structure to use as source
1112 void drm_display_mode_to_videomode(const struct drm_display_mode *dmode, in drm_display_mode_to_videomode()
1178 * of_get_drm_display_mode - get a drm_display_mode from devicetree
1192 struct drm_display_mode *dmode, u32 *bus_flags, in of_get_drm_display_mode()
1214 * of_get_drm_panel_display_mode - get a panel-timing drm_display_mode from devicetree
1226 struct drm_display_mode *dmode, u32 *bus_flags) in of_get_drm_panel_display_mode()
1270 void drm_mode_set_name(struct drm_display_mode *mode) in drm_mode_set_name()
1288 int drm_mode_vrefresh(const struct drm_display_mode *mode) in drm_mode_vrefresh()
1318 void drm_mode_get_hv_timing(const struct drm_display_mode *mode, in drm_mode_get_hv_timing()
1321 struct drm_display_mode adjusted; in drm_mode_get_hv_timing()
1346 void drm_mode_set_crtcinfo(struct drm_display_mode *p, int adjust_flags) in drm_mode_set_crtcinfo()
1418 void drm_mode_copy(struct drm_display_mode *dst, const struct drm_display_mode *src) in drm_mode_copy()
1437 void drm_mode_init(struct drm_display_mode *dst, const struct drm_display_mode *src) in drm_mode_init()
1455 struct drm_display_mode *drm_mode_duplicate(struct drm_device *dev, in drm_mode_duplicate()
1456 const struct drm_display_mode *mode) in drm_mode_duplicate()
1458 struct drm_display_mode *nmode; in drm_mode_duplicate()
1470 static bool drm_mode_match_timings(const struct drm_display_mode *mode1, in drm_mode_match_timings()
1471 const struct drm_display_mode *mode2) in drm_mode_match_timings()
1485 static bool drm_mode_match_clock(const struct drm_display_mode *mode1, in drm_mode_match_clock()
1486 const struct drm_display_mode *mode2) in drm_mode_match_clock()
1498 static bool drm_mode_match_flags(const struct drm_display_mode *mode1, in drm_mode_match_flags()
1499 const struct drm_display_mode *mode2) in drm_mode_match_flags()
1505 static bool drm_mode_match_3d_flags(const struct drm_display_mode *mode1, in drm_mode_match_3d_flags()
1506 const struct drm_display_mode *mode2) in drm_mode_match_3d_flags()
1512 static bool drm_mode_match_aspect_ratio(const struct drm_display_mode *mode1, in drm_mode_match_aspect_ratio()
1513 const struct drm_display_mode *mode2) in drm_mode_match_aspect_ratio()
1529 bool drm_mode_match(const struct drm_display_mode *mode1, in drm_mode_match()
1530 const struct drm_display_mode *mode2, in drm_mode_match()
1573 bool drm_mode_equal(const struct drm_display_mode *mode1, in drm_mode_equal()
1574 const struct drm_display_mode *mode2) in drm_mode_equal()
1596 bool drm_mode_equal_no_clocks(const struct drm_display_mode *mode1, in drm_mode_equal_no_clocks()
1597 const struct drm_display_mode *mode2) in drm_mode_equal_no_clocks()
1617 bool drm_mode_equal_no_clocks_no_stereo(const struct drm_display_mode *mode1, in drm_mode_equal_no_clocks_no_stereo()
1618 const struct drm_display_mode *mode2) in drm_mode_equal_no_clocks_no_stereo()
1627 drm_mode_validate_basic(const struct drm_display_mode *mode) in drm_mode_validate_basic()
1670 const struct drm_display_mode *mode) in drm_mode_validate_driver()
1700 drm_mode_validate_size(const struct drm_display_mode *mode, in drm_mode_validate_size()
1725 drm_mode_validate_ycbcr420(const struct drm_display_mode *mode, in drm_mode_validate_ycbcr420()
1807 struct drm_display_mode *mode, *t; in drm_mode_prune_invalid()
1842 struct drm_display_mode *a = list_entry(lh_a, struct drm_display_mode, head); in drm_mode_compare()
1843 struct drm_display_mode *b = list_entry(lh_b, struct drm_display_mode, head); in drm_mode_compare()
1864 * @mode_list: list of drm_display_mode structures to sort
1887 struct drm_display_mode *pmode, *pt; in drm_connector_list_update()
1892 struct drm_display_mode *mode; in drm_connector_list_update()
2504 static struct drm_display_mode *drm_named_mode(struct drm_device *dev, in drm_named_mode()
2537 struct drm_display_mode *
2541 struct drm_display_mode *mode; in drm_mode_create_from_cmdline_mode()
2573 * drm_mode_convert_to_umode - convert a drm_display_mode into a modeinfo
2575 * @in: drm_display_mode to use
2577 * Convert a drm_display_mode into a drm_mode_modeinfo structure to return to
2581 const struct drm_display_mode *in) in drm_mode_convert_to_umode()
2624 * drm_mode_convert_umode - convert a modeinfo into a drm_display_mode
2626 * @out: drm_display_mode to return to the user
2629 * Convert a drm_mode_modeinfo into a drm_display_mode structure to return to
2636 struct drm_display_mode *out, in drm_mode_convert_umode()
2710 const struct drm_display_mode *mode) in drm_mode_is_420_only()
2730 const struct drm_display_mode *mode) in drm_mode_is_420_also()
2749 const struct drm_display_mode *mode) in drm_mode_is_420()
2768 struct drm_display_mode *mode; in drm_set_preferred_mode()