Home
last modified time | relevance | path

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

/linux/drivers/iommu/generic_pt/
H A Dpt_log2.h14 #define log2_to_int_t(type, a_lg2) ((type)(((type)1) << (a_lg2))) macro
15 static_assert(log2_to_int_t(unsigned int, 0) == 1);
18 #define log2_to_max_int_t(type, a_lg2) ((type)(log2_to_int_t(type, a_lg2) - 1))
H A Dpt_defs.h235 #define log2_to_int(a_lg2) log2_to_int_t(pt_vaddr_t, a_lg2)
291 #define oalog2_to_int(a_lg2) log2_to_int_t(pt_oaddr_t, a_lg2)
H A Diommu_pt.h549 step = log2_to_int_t(unsigned int, in __map_range_leaf()