Lines Matching refs:NUL2E
75 #define NUL2E (NUL1E * NL2PG) macro
77 #define smmu_l0_pindex(v) (NUL2E + NUL1E + ((v) >> IOMMU_L0_SHIFT))
78 #define smmu_l1_pindex(v) (NUL2E + ((v) >> IOMMU_L1_SHIFT))
355 if (m->pindex >= (NUL2E + NUL1E)) { in _smmu_pmap_unwire_l3()
361 } else if (m->pindex >= NUL2E) { in _smmu_pmap_unwire_l3()
375 if (m->pindex < NUL2E) { in _smmu_pmap_unwire_l3()
384 } else if (m->pindex < (NUL2E + NUL1E)) { in _smmu_pmap_unwire_l3()
468 if (ptepindex >= (NUL2E + NUL1E)) { in _pmap_alloc_l3()
472 l0index = ptepindex - (NUL2E + NUL1E); in _pmap_alloc_l3()
475 } else if (ptepindex >= NUL2E) { in _pmap_alloc_l3()
480 l1index = ptepindex - NUL2E; in _pmap_alloc_l3()
487 if (_pmap_alloc_l3(pmap, NUL2E + NUL1E + l0index) in _pmap_alloc_l3()
513 if (_pmap_alloc_l3(pmap, NUL2E + l1index) == NULL) { in _pmap_alloc_l3()
527 if (_pmap_alloc_l3(pmap, NUL2E + l1index) in _pmap_alloc_l3()