Searched refs:log2_to_int_t (Results 1 – 2 of 2) sorted by relevance
14 #define log2_to_int_t(type, a_lg2) ((type)(((type)1) << (a_lg2))) macro15 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))
235 #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)