Searched refs:to_match (Results 1 – 1 of 1) sorted by relevance
3416 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument3422 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() argument3461 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()[all …]