Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/kvm/arm64/
H A Dset_id_regs.c270 uint64_t ftr_max = ftr_bits->mask >> ftr_bits->shift; in get_safe_value() local
272 TEST_ASSERT(ftr_max > 1, "This test doesn't support single bit features"); in get_safe_value()
284 if (ftr < ftr_max) in get_safe_value()
288 if (ftr == ftr_max) in get_safe_value()
296 } else if (ftr != ftr_max) { in get_safe_value()
306 if (ftr < ftr_max - 1) in get_safe_value()
310 if (ftr != 0 && ftr != ftr_max - 1) in get_safe_value()
324 uint64_t ftr_max = ftr_bits->mask >> ftr_bits->shift; in get_invalid_value() local
326 TEST_ASSERT(ftr_max > 1, "This test doesn't support single bit features"); in get_invalid_value()
341 ftr = ftr_max; in get_invalid_value()
[all …]