Searched refs:pdir_size (Results 1 - 4 of 4) sorted by relevance
/linux-4.4.14/drivers/parisc/ |
H A D | sba_iommu.c | 700 (ioc->pdir_size / sizeof(u64) * IOVP_SIZE) ))); sba_dma_supported() 1114 sba_alloc_pdir(unsigned int pdir_size) sba_alloc_pdir() argument 1117 unsigned long pdir_order = get_order(pdir_size); sba_alloc_pdir() 1155 if (((virt_to_phys(pdir_base)+pdir_size-1) & PIRANHA_ADDR_MASK) == PIRANHA_ADDR_VAL) { sba_alloc_pdir() 1165 new_pdir += pdir_size; sba_alloc_pdir() 1168 pdir_size <<=1; sba_alloc_pdir() 1202 pdir_size -= 128*1024; sba_alloc_pdir() 1206 memset((void *) pdir_base, 0, pdir_size); sba_alloc_pdir() 1280 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); sba_ioc_init_pluto() 1287 get_order(ioc->pdir_size)); sba_ioc_init_pluto() 1291 memset(ioc->pdir_base, 0, ioc->pdir_size); sba_ioc_init_pluto() 1294 __func__, ioc->pdir_base, ioc->pdir_size); sba_ioc_init_pluto() 1368 ioc->pdir_size /= 2; sba_ioc_init_pluto() 1378 unsigned int pdir_size, iov_order, tcnfg; sba_ioc_init() local 1414 ioc->pdir_size = pdir_size = (iova_space_size/IOVP_SIZE) * sizeof(u64); sba_ioc_init() 1423 ioc->pdir_base = sba_alloc_pdir(pdir_size); sba_ioc_init() 1426 __func__, ioc->pdir_base, pdir_size); sba_ioc_init() 1687 /* resource map size dictated by pdir_size */ sba_common_init() 1688 res_size = sba_dev->ioc[i].pdir_size/sizeof(u64); /* entries */ sba_common_init() 1742 iterate_pages( sba_dev->ioc[i].pdir_base, sba_dev->ioc[i].pdir_size, sba_common_init()
|
H A D | ccio-dma.c | 229 u32 pdir_size; /* bytes, function of IOV Space size */ member in struct:ioc 677 BUG_ON(idx >= (ioc->pdir_size / sizeof(u64))); ccio_mark_invalid() 1289 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); ccio_ioc_init() 1291 BUG_ON(ioc->pdir_size > 8 * 1024 * 1024); /* max pdir size <= 8MB */ ccio_ioc_init() 1294 BUG_ON((1 << get_order(ioc->pdir_size)) != (ioc->pdir_size >> PAGE_SHIFT)); ccio_ioc_init() 1303 get_order(ioc->pdir_size)); ccio_ioc_init() 1307 memset(ioc->pdir_base, 0, ioc->pdir_size); ccio_ioc_init() 1312 /* resource map size dictated by pdir_size */ ccio_ioc_init() 1313 ioc->res_size = (ioc->pdir_size / sizeof(u64)) >> 3; ccio_ioc_init()
|
/linux-4.4.14/arch/ia64/hp/common/ |
H A D | sba_iommu.c | 241 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member in struct:ioc 866 ASSERT(off < ioc->pdir_size); sba_mark_invalid() 1633 ioc->pdir_size = (ioc->iov_size / iovp_size) * PDIR_ENTRY_SIZE; ioc_iova_init() 1635 get_order(ioc->pdir_size)); ioc_iova_init() 1639 memset(ioc->pdir_base, 0, ioc->pdir_size); ioc_iova_init() 1642 iovp_size >> 10, ioc->pdir_base, ioc->pdir_size); ioc_iova_init() 1661 ioc->pdir_size /= 2; ioc_iova_init() 1689 for (index = 0 ; index < (ioc->pdir_size / PDIR_ENTRY_SIZE) ; index++) ioc_iova_init() 1710 /* resource map size dictated by pdir_size */ ioc_resource_init() 1711 ioc->res_size = ioc->pdir_size / PDIR_ENTRY_SIZE; /* entries */ ioc_resource_init() 1732 ioc->pdir_base[(ioc->pdir_size / PDIR_ENTRY_SIZE) - 1] = (0x80000000000000FF ioc_resource_init() 1909 seq_printf(s, "IOVA size : %ld MB\n", ((ioc->pdir_size >> 3) * iovp_size)/(1024*1024)); ioc_show() 1915 seq_printf(s, "PDIR size : %d entries\n", ioc->pdir_size >> 3); ioc_show()
|
/linux-4.4.14/arch/parisc/include/asm/ |
H A D | ropes.h | 69 unsigned int pdir_size; /* in bytes, determined by IOV Space size */ member in struct:ioc
|
Completed in 158 milliseconds