Lines Matching refs:iova_space_size
1230 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()
1317 ioc->chainid_shift = get_order(iova_space_size) + PAGE_SHIFT - CCIO_CHAINID_SHIFT; in ccio_ioc_init()