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