Lines Matching refs:to_match

3634 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match,  in drm_match_cea_mode_clock_tolerance()  argument
3640 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() argument
3679 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()
3694 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
3698 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
3737 static u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument
3743 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
3746 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode_clock_tolerance()
3757 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
3758 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
3761 if (drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode_clock_tolerance()
3776 static u8 drm_match_hdmi_mode(const struct drm_display_mode *to_match) in drm_match_hdmi_mode() argument
3781 if (!to_match->clock) in drm_match_hdmi_mode()
3784 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode()
3795 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
3796 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
3797 drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode()