Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/parisc/
Dsba_iommu.c1256 u32 iova_space_size; in sba_ioc_init_pluto() local
1267 iova_space_size = ~(READ_REG(ioc->ioc_hpa + IOC_IMASK) & 0xFFFFFFFFUL) + 1; in sba_ioc_init_pluto()
1269 if ((ioc->ibase < 0xfed00000UL) && ((ioc->ibase + iova_space_size) > 0xfee00000UL)) { in sba_ioc_init_pluto()
1271 iova_space_size /= 2; in sba_ioc_init_pluto()
1278 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); in sba_ioc_init_pluto()
1279 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in sba_ioc_init_pluto()
1282 __func__, ioc->ioc_hpa, iova_space_size >> 20, in sba_ioc_init_pluto()
1366 __func__, (iova_space_size/2) >> 20); in sba_ioc_init_pluto()
1368 ioc->pdir_base[PDIR_INDEX(iova_space_size/2)] = SBA_AGPGART_COOKIE; in sba_ioc_init_pluto()
1376 u32 iova_space_size, iova_space_mask; in sba_ioc_init() local
[all …]
Dccio-dma.c1256 u32 iova_space_size; in ccio_ioc_init() local
1269 iova_space_size = (u32) (totalram_pages / count_parisc_driver(&ccio_driver)); in ccio_ioc_init()
1273 if (iova_space_size < (1 << (20 - PAGE_SHIFT))) { in ccio_ioc_init()
1274 iova_space_size = 1 << (20 - PAGE_SHIFT); in ccio_ioc_init()
1276 } else if (iova_space_size > (1 << (30 - PAGE_SHIFT))) { in ccio_ioc_init()
1277 iova_space_size = 1 << (30 - PAGE_SHIFT); in ccio_ioc_init()
1294 iov_order = get_order(iova_space_size << PAGE_SHIFT); in ccio_ioc_init()
1297 iova_space_size = 1 << (iov_order + PAGE_SHIFT); in ccio_ioc_init()
1299 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); in ccio_ioc_init()
1309 iova_space_size>>20, in ccio_ioc_init()
[all …]