Searched refs:ffs_t (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/iommu/generic_pt/ |
| H A D | kunit_generic_pt.h | 162 KUNIT_ASSERT_EQ(test, ffs_t(u32, 1), 0); in test_bitops() 163 KUNIT_ASSERT_EQ(test, ffs_t(u32, BIT(2)), 2); in test_bitops() 164 KUNIT_ASSERT_EQ(test, ffs_t(u32, BIT(31)), 31); in test_bitops() 166 KUNIT_ASSERT_EQ(test, ffs_t(u64, 1), 0); in test_bitops() 167 KUNIT_ASSERT_EQ(test, ffs_t(u64, BIT(2)), 2); in test_bitops() 168 KUNIT_ASSERT_EQ(test, ffs_t(u64, BIT_ULL(63)), 63); in test_bitops() 179 KUNIT_ASSERT_EQ(test, log2_mod_t(u32, val, ffs_t(u32, val)), 0); in test_bitops() 180 KUNIT_ASSERT_EQ(test, log2_mod_t(u64, val, ffs_t(u64, val)), 0); in test_bitops()
|
| H A D | pt_defs.h | 244 #define vaffs(a) ffs_t(pt_vaddr_t, a) 300 #define oaffs(a) ffs_t(pt_oaddr_t, a)
|
| H A D | pt_log2.h | 97 #define ffs_t(type, a) _dispatch_sz(type, __ffs, a) macro
|
| H A D | pt_iter.h | 505 return max(ffs_t(u64, PT_TOP_PHYS_MASK), in pt_top_memsize_lg2()
|