• Home
  • Raw
  • Download

Lines Matching refs:to_match

3417 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match,  in drm_match_cea_mode_clock_tolerance()  argument
3423 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
3426 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
3437 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
3438 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
3442 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
3457 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
3462 if (!to_match->clock) in drm_match_cea_mode()
3465 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
3476 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
3477 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
3481 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
3520 static u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument
3526 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
3529 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode_clock_tolerance()
3540 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
3541 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
3544 if (drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode_clock_tolerance()
3559 static u8 drm_match_hdmi_mode(const struct drm_display_mode *to_match) in drm_match_hdmi_mode() argument
3564 if (!to_match->clock) in drm_match_hdmi_mode()
3567 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode()
3578 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
3579 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
3580 drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode()