Lines Matching refs:to_match

3033 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match,  in drm_match_cea_mode_clock_tolerance()  argument
3039 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
3042 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
3053 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
3054 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
3058 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
3073 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
3078 if (!to_match->clock) in drm_match_cea_mode()
3081 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
3092 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
3093 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
3097 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
3141 static u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument
3147 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
3158 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
3159 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
3162 if (drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode_clock_tolerance()
3177 static u8 drm_match_hdmi_mode(const struct drm_display_mode *to_match) in drm_match_hdmi_mode() argument
3182 if (!to_match->clock) in drm_match_hdmi_mode()
3193 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
3194 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
3195 drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode()