Searched refs:PDIR_INDEX (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/arch/ia64/hp/common/
H A Dsba_iommu.c440 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift) macro
732 unsigned int pide = PDIR_INDEX(iovp); sba_free_range()
851 int off = PDIR_INDEX(iovp); sba_mark_invalid()
860 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); sba_mark_invalid()
1019 int off = PDIR_INDEX(iovp); sba_mark_clean()
1666 ((u64 *)ioc->pdir_base)[PDIR_INDEX(ioc->iov_size/2)] = ZX1_SBA_IOMMU_COOKIE; ioc_iova_init()
/linux-4.1.27/drivers/parisc/
H A Dccio-dma.c286 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) macro
435 unsigned int res_idx = PDIR_INDEX(iovp) >> 3; ccio_free_range()
674 unsigned int idx = PDIR_INDEX(iovp); ccio_mark_invalid()
1191 idx = PDIR_INDEX(iovp) >> 3; ccio_cujo20_fixup()
1195 idx += PDIR_INDEX(CUJO_20_STEP) >> 3; ccio_cujo20_fixup()
H A Dsba_iommu.c314 #define PDIR_INDEX(iovp) ((iovp)>>IOVP_SHIFT) macro
492 unsigned int pide = PDIR_INDEX(iovp); sba_free_range()
613 u64 *pdir_ptr = &ioc->pdir_base[PDIR_INDEX(iovp)]; sba_mark_invalid()
623 sba_dump_pdir_entry(ioc,"sba_mark_invalid()", PDIR_INDEX(iovp)); sba_mark_invalid()
1369 ioc->pdir_base[PDIR_INDEX(iova_space_size/2)] = SBA_AGPGART_COOKIE; sba_ioc_init_pluto()

Completed in 106 milliseconds