Searched refs:FIND_CLOSEST_RANGE_CHECK (Results 1 – 1 of 1) sorted by relevance
/linux/lib/ |
H A D | util_macros_kunit.c | 11 #define FIND_CLOSEST_RANGE_CHECK(from, to, array, exp_idx) \ macro 38 FIND_CLOSEST_RANGE_CHECK(-3, 2, ina226_avg_tab, 0); in test_find_closest() 39 FIND_CLOSEST_RANGE_CHECK(3, 10, ina226_avg_tab, 1); in test_find_closest() 40 FIND_CLOSEST_RANGE_CHECK(11, 40, ina226_avg_tab, 2); in test_find_closest() 41 FIND_CLOSEST_RANGE_CHECK(41, 96, ina226_avg_tab, 3); in test_find_closest() 42 FIND_CLOSEST_RANGE_CHECK(97, 192, ina226_avg_tab, 4); in test_find_closest() 43 FIND_CLOSEST_RANGE_CHECK(193, 384, ina226_avg_tab, 5); in test_find_closest() 44 FIND_CLOSEST_RANGE_CHECK(385, 768, ina226_avg_tab, 6); in test_find_closest() 45 FIND_CLOSEST_RANGE_CHECK(769, 2048, ina226_avg_tab, 7); in test_find_closest() 48 FIND_CLOSEST_RANGE_CHECK(-3, 1, ad7616_oversampling_avail, 0); in test_find_closest() [all …]
|