Searched refs:PDIR_INDEX (Results 1 – 3 of 3) sorted by relevance
286 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) macro435 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; in ccio_free_range()674 unsigned int idx = PDIR_INDEX(iovp); in ccio_mark_invalid()1193 idx = PDIR_INDEX(iovp) >> 3; in ccio_cujo20_fixup()1197 idx += PDIR_INDEX(CUJO_20_STEP) >> 3; in ccio_cujo20_fixup()
314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) macro492 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()613 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; in sba_mark_invalid()623 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()1370 ioc->pdir_base[PDIR_INDEX(iova_space_size/2)] = SBA_AGPGART_COOKIE; in sba_ioc_init_pluto()
440 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift) macro732 unsigned int pide = PDIR_INDEX(iovp); in sba_free_range()851 int off = PDIR_INDEX(iovp); in sba_mark_invalid()860 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); in sba_mark_invalid()1019 int off = PDIR_INDEX(iovp); in sba_mark_clean()1664 ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE; in ioc_iova_init()