Home
last modified time | relevance | path

Searched refs:pdir_size (Results 1 – 4 of 4) sorted by relevance

/linux-3.4.99/drivers/parisc/
Dsba_iommu.c700 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); in sba_dma_supported()
1115 sba_alloc_pdir(unsigned int pdir_size) in sba_alloc_pdir() argument
1118 unsigned long pdir_order = get_order(pdir_size); in sba_alloc_pdir()
1156 if (((virt_to_phys(pdir_base)+pdir_size-1) & PIRANHA_ADDR_MASK) == PIRANHA_ADDR_VAL) { in sba_alloc_pdir()
1166 new_pdir += pdir_size; in sba_alloc_pdir()
1169 pdir_size <<=1; in sba_alloc_pdir()
1203 pdir_size -= 128*1024; in sba_alloc_pdir()
1207 memset((void *) pdir_base, 0, pdir_size); in sba_alloc_pdir()
1281 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()
1288 get_order(ioc->pdir_size)); in sba_ioc_init_pluto()
[all …]
Dccio-dma.c229 u32 pdir_size; /* bytes, function of IOV Space size */ member
677 BUG_ON(idx >= (ioc->pdir_size / sizeof(u64))); in ccio_mark_invalid()
1300 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in ccio_ioc_init()
1302 BUG_ON(ioc->pdir_size > 8 * 1024 * 1024); /* max pdir size <= 8MB */ in ccio_ioc_init()
1305 BUG_ON((1 << get_order(ioc->pdir_size)) != (ioc->pdir_size >> PAGE_SHIFT)); in ccio_ioc_init()
1314 get_order(ioc->pdir_size)); in ccio_ioc_init()
1318 memset(ioc->pdir_base, 0, ioc->pdir_size); in ccio_ioc_init()
1324 ioc->res_size = (ioc->pdir_size / sizeof(u64)) >> 3; in ccio_ioc_init()
/linux-3.4.99/arch/ia64/hp/common/
Dsba_iommu.c241 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member
866 ASSERT(off < ioc->pdir_size); in sba_mark_invalid()
1635 ioc->pdir_size = (ioc->iov_size / iovp_size) * PDIR_ENTRY_SIZE; in ioc_iova_init()
1637 get_order(ioc->pdir_size)); in ioc_iova_init()
1641 memset(ioc->pdir_base, 0, ioc->pdir_size); in ioc_iova_init()
1644 iovp_size >> 10, ioc->pdir_base, ioc->pdir_size); in ioc_iova_init()
1663 ioc->pdir_size /= 2; in ioc_iova_init()
1691 for (index = 0 ; index < (ioc->pdir_size / PDIR_ENTRY_SIZE) ; index++) in ioc_iova_init()
1713 ioc->res_size = ioc->pdir_size / PDIR_ENTRY_SIZE; /* entries */ in ioc_resource_init()
1734 ioc->pdir_base[(ioc->pdir_size / PDIR_ENTRY_SIZE) - 1] = (0x80000000000000FF in ioc_resource_init()
[all …]
/linux-3.4.99/arch/parisc/include/asm/
Dropes.h69 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member