Lines Matching refs:wd_timeout_table
27 static u32 wd_timeout_table[] = { 2, 4, 6, 8, 16, 32, 48, 64 }; in test_find_closest() local
57 FIND_CLOSEST_RANGE_CHECK(-3, 3, wd_timeout_table, 0); in test_find_closest()
58 FIND_CLOSEST_RANGE_CHECK(4, 5, wd_timeout_table, 1); in test_find_closest()
59 FIND_CLOSEST_RANGE_CHECK(6, 7, wd_timeout_table, 2); in test_find_closest()
60 FIND_CLOSEST_RANGE_CHECK(8, 12, wd_timeout_table, 3); in test_find_closest()
61 FIND_CLOSEST_RANGE_CHECK(13, 24, wd_timeout_table, 4); in test_find_closest()
62 FIND_CLOSEST_RANGE_CHECK(25, 40, wd_timeout_table, 5); in test_find_closest()
63 FIND_CLOSEST_RANGE_CHECK(41, 56, wd_timeout_table, 6); in test_find_closest()
64 FIND_CLOSEST_RANGE_CHECK(57, 128, wd_timeout_table, 7); in test_find_closest()
135 static u32 wd_timeout_table[] = { 64, 48, 32, 16, 8, 6, 4, 2 }; in test_find_closest_descending() local
164 FIND_CLOSEST_DESC_RANGE_CHECK(-3, 3, wd_timeout_table, 7); in test_find_closest_descending()
165 FIND_CLOSEST_DESC_RANGE_CHECK(4, 5, wd_timeout_table, 6); in test_find_closest_descending()
166 FIND_CLOSEST_DESC_RANGE_CHECK(6, 7, wd_timeout_table, 5); in test_find_closest_descending()
167 FIND_CLOSEST_DESC_RANGE_CHECK(8, 12, wd_timeout_table, 4); in test_find_closest_descending()
168 FIND_CLOSEST_DESC_RANGE_CHECK(13, 24, wd_timeout_table, 3); in test_find_closest_descending()
169 FIND_CLOSEST_DESC_RANGE_CHECK(25, 40, wd_timeout_table, 2); in test_find_closest_descending()
170 FIND_CLOSEST_DESC_RANGE_CHECK(41, 56, wd_timeout_table, 1); in test_find_closest_descending()
171 FIND_CLOSEST_DESC_RANGE_CHECK(57, 128, wd_timeout_table, 0); in test_find_closest_descending()