Searched refs:pdir_size (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/parisc/ |
D | sba_iommu.c | 696 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported() 1129 sba_alloc_pdir(unsigned int pdir_size) in sba_alloc_pdir() argument 1132 unsigned long pdir_order = get_order(pdir_size); in sba_alloc_pdir() 1170 if (((virt_to_phys(pdir_base)+pdir_size-1) & PIRANHA_ADDR_MASK) == PIRANHA_ADDR_VAL) { in sba_alloc_pdir() 1180 new_pdir += pdir_size; in sba_alloc_pdir() 1183 pdir_size <<=1; in sba_alloc_pdir() 1217 pdir_size -= 128*1024; in sba_alloc_pdir() 1221 memset((void *) pdir_base, 0, pdir_size); in sba_alloc_pdir() 1295 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto() 1302 get_order(ioc->pdir_size)); in sba_ioc_init_pluto() [all …]
|
D | ccio-dma.c | 229 u32 pdir_size; /* bytes, function of IOV Space size */ member 673 BUG_ON(idx >= (ioc->pdir_size / sizeof(u64))); in ccio_mark_invalid() 1277 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in ccio_ioc_init() 1279 BUG_ON(ioc->pdir_size > 8 * 1024 * 1024); /* max pdir size <= 8MB */ in ccio_ioc_init() 1282 BUG_ON((1 << get_order(ioc->pdir_size)) != (ioc->pdir_size >> PAGE_SHIFT)); in ccio_ioc_init() 1291 get_order(ioc->pdir_size)); in ccio_ioc_init() 1295 memset(ioc->pdir_base, 0, ioc->pdir_size); in ccio_ioc_init() 1301 ioc->res_size = (ioc->pdir_size / sizeof(u64)) >> 3; in ccio_ioc_init()
|
/linux-6.1.9/arch/ia64/hp/common/ |
D | sba_iommu.c | 237 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member 857 ASSERT(off < ioc->pdir_size); in sba_mark_invalid() 1609 ioc->pdir_size = (ioc->iov_size / iovp_size) * PDIR_ENTRY_SIZE; in ioc_iova_init() 1611 get_order(ioc->pdir_size)); in ioc_iova_init() 1615 memset(ioc->pdir_base, 0, ioc->pdir_size); in ioc_iova_init() 1618 iovp_size >> 10, ioc->pdir_base, ioc->pdir_size); in ioc_iova_init() 1637 ioc->pdir_size /= 2; in ioc_iova_init() 1665 for (index = 0 ; index < (ioc->pdir_size / PDIR_ENTRY_SIZE) ; index++) in ioc_iova_init() 1687 ioc->res_size = ioc->pdir_size / PDIR_ENTRY_SIZE; /* entries */ in ioc_resource_init() 1708 ioc->pdir_base[(ioc->pdir_size / PDIR_ENTRY_SIZE) - 1] = (0x80000000000000FF in ioc_resource_init() [all …]
|
/linux-6.1.9/arch/parisc/include/asm/ |
D | ropes.h | 70 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member
|