Lines Matching refs:to_match

4208 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match,  in drm_match_cea_mode_clock_tolerance()  argument
4214 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
4217 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
4230 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
4231 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
4235 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
4250 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
4255 if (!to_match->clock) in drm_match_cea_mode()
4258 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
4271 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
4272 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
4276 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
4315 static u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument
4321 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
4324 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode_clock_tolerance()
4335 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
4336 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
4339 if (drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode_clock_tolerance()
4354 static u8 drm_match_hdmi_mode(const struct drm_display_mode *to_match) in drm_match_hdmi_mode() argument
4359 if (!to_match->clock) in drm_match_hdmi_mode()
4362 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode()
4373 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
4374 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
4375 drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode()