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