Home
last modified time | relevance | path

Searched refs:iova_space_size (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/parisc/
H A Dsba_iommu.c1276 u32 iova_space_size; in sba_ioc_init_pluto() local
1291 iova_space_size /= 2; in sba_ioc_init_pluto()
1302 __func__, ioc->ioc_hpa, iova_space_size >> 20, in sba_ioc_init_pluto()
1386 __func__, (iova_space_size/2) >> 20); in sba_ioc_init_pluto()
1396 u32 iova_space_size, iova_space_mask; in sba_ioc_init() local
1416 if (iova_space_size < (1 << (20 - PAGE_SHIFT))) { in sba_ioc_init()
1417 iova_space_size = 1 << (20 - PAGE_SHIFT); in sba_ioc_init()
1420 iova_space_size = 1 << (30 - PAGE_SHIFT); in sba_ioc_init()
1428 iov_order = get_order(iova_space_size << PAGE_SHIFT); in sba_ioc_init()
1431 iova_space_size = 1 << (iov_order + PAGE_SHIFT); in sba_ioc_init()
[all …]
H A Dccio-dma.c1230 u32 iova_space_size; in ccio_ioc_init() local
1243 iova_space_size = (u32) (totalram_pages() / count_parisc_driver(&ccio_driver)); in ccio_ioc_init()
1247 if (iova_space_size < (1 << (20 - PAGE_SHIFT))) { in ccio_ioc_init()
1248 iova_space_size = 1 << (20 - PAGE_SHIFT); in ccio_ioc_init()
1250 } else if (iova_space_size > (1 << (30 - PAGE_SHIFT))) { in ccio_ioc_init()
1251 iova_space_size = 1 << (30 - PAGE_SHIFT); in ccio_ioc_init()
1268 iov_order = get_order(iova_space_size << PAGE_SHIFT); in ccio_ioc_init()
1271 iova_space_size = 1 << (iov_order + PAGE_SHIFT); in ccio_ioc_init()
1273 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in ccio_ioc_init()
1283 iova_space_size>>20, in ccio_ioc_init()
[all …]