Searched refs:to_match (Results 1 – 4 of 4) sorted by relevance
3634 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument3640 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()3643 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()3654 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()3655 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()3659 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()3674 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument3679 if (!to_match->clock) in drm_match_cea_mode()3682 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()3693 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()[all …]
3907 u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument3912 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()3923 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()3924 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()3927 if (drm_mode_equal_no_clocks(to_match, cea_mode)) in drm_match_cea_mode_clock_tolerance()3944 u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument3949 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()3960 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()3961 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()3964 if (drm_mode_equal_no_clocks(to_match, hdmi_mode)) in drm_match_hdmi_mode_clock_tolerance()[all …]
538 u8 drm_match_cea_mode(const struct drm_display_mode *to_match);572 static inline u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
374 u8 drm_match_cea_mode(struct drm_display_mode *to_match);