Home
last modified time | relevance | path

Searched refs:to_match (Results 1 – 2 of 2) sorted by relevance

/drivers/gpu/drm/
Ddrm_edid.c2596 static u8 drm_match_cea_mode_clock_tolerance(const struct drm_display_mode *to_match, in drm_match_cea_mode_clock_tolerance() argument
2601 if (!to_match->clock) in drm_match_cea_mode_clock_tolerance()
2612 if (abs(to_match->clock - clock1) > clock_tolerance && in drm_match_cea_mode_clock_tolerance()
2613 abs(to_match->clock - clock2) > clock_tolerance) in drm_match_cea_mode_clock_tolerance()
2616 if (drm_mode_equal_no_clocks(to_match, cea_mode)) in drm_match_cea_mode_clock_tolerance()
2630 u8 drm_match_cea_mode(const struct drm_display_mode *to_match) in drm_match_cea_mode() argument
2634 if (!to_match->clock) in drm_match_cea_mode()
2645 if ((KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock1) || in drm_match_cea_mode()
2646 KHZ2PICOS(to_match->clock) == KHZ2PICOS(clock2)) && in drm_match_cea_mode()
2647 drm_mode_equal_no_clocks_no_stereo(to_match, cea_mode)) in drm_match_cea_mode()
[all …]
/drivers/hwtracing/coresight/
Dcoresight.c833 char *to_match; in coresight_name_match() local
836 to_match = data; in coresight_name_match()
839 if (to_match && !strcmp(to_match, dev_name(&i_csdev->dev))) in coresight_name_match()