Searched refs:PM_LEVEL_SHIFT (Results 1 – 2 of 2) sorted by relevance
331 #define PM_LEVEL_SHIFT(x) (12 + ((x) * 9)) macro333 ((1ULL << PM_LEVEL_SHIFT((x))) - 1): \335 #define PM_LEVEL_INDEX(x, a) (((a) >> PM_LEVEL_SHIFT((x))) & 0x1ffULL)
2334 return ((1ULL << PM_LEVEL_SHIFT(amd_iommu_gpt_level)) - 1); in dma_max_address()