• Home
  • Raw
  • Download

Lines Matching refs:to_match

3416 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match,  in drm_match_cea_mode_clock_tolerance()  argument
3422 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
3425 if (to_match->picture_aspect_ratio) in drm_match_cea_mode_clock_tolerance()
3436 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
3437 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
3441 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode_clock_tolerance()
3456 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
3461 if (!to_match->clock) in drm_match_cea_mode()
3464 if (to_match->picture_aspect_ratio) in drm_match_cea_mode()
3475 if (KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock1) && in drm_match_cea_mode()
3476 KHZ2PICOS(to_match->clock) != KHZ2PICOS(clock2)) in drm_match_cea_mode()
3480 if (drm_mode_match(to_match, &cea_mode, match_flags)) in drm_match_cea_mode()
3519 static u8 drm_match_hdmi_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_hdmi_mode_clock_tolerance() argument
3525 if (!to_match->clock) in drm_match_hdmi_mode_clock_tolerance()
3528 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode_clock_tolerance()
3539 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_hdmi_mode_clock_tolerance()
3540 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_hdmi_mode_clock_tolerance()
3543 if (drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode_clock_tolerance()
3558 static u8 drm_match_hdmi_mode(const struct drm_display_mode *to_match) in drm_match_hdmi_mode() argument
3563 if (!to_match->clock) in drm_match_hdmi_mode()
3566 if (to_match->picture_aspect_ratio) in drm_match_hdmi_mode()
3577 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_hdmi_mode()
3578 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_hdmi_mode()
3579 drm_mode_match(to_match, hdmi_mode, match_flags)) in drm_match_hdmi_mode()