Searched refs:gen8_pd_shift (Results 1 – 1 of 1) sorted by relevance
140 #define gen8_pd_shift(lvl) ((lvl) * ilog2(GEN8_PDES)) macro141 #define gen8_pd_index(i, lvl) i915_pde_index((i), gen8_pd_shift(lvl))142 #define __gen8_pte_shift(lvl) (GEN8_PTE_SHIFT + gen8_pd_shift(lvl))150 const int shift = gen8_pd_shift(lvl); in gen8_pd_range()151 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_range()154 end += ~mask >> gen8_pd_shift(1); in gen8_pd_range()165 const u64 mask = ~0ull << gen8_pd_shift(lvl + 1); in gen8_pd_contains()174 if ((start ^ end) >> gen8_pd_shift(1)) in gen8_pt_count()257 if (atomic_fetch_inc(&pt->used) >> gen8_pd_shift(1) && in __gen8_ppgtt_clear()263 start += (u64)I915_PDES << gen8_pd_shift(lvl); in __gen8_ppgtt_clear()[all …]