Searched refs:iova_space_size (Results 1 – 2 of 2) sorted by relevance
1276 u32 iova_space_size; in sba_ioc_init_pluto() local1287 iova_space_size = ~(READ_REG(ioc->ioc_hpa + IOC_IMASK) & 0xFFFFFFFFUL) + 1; in sba_ioc_init_pluto()1289 if ((ioc->ibase < 0xfed00000UL) && ((ioc->ibase + iova_space_size) > 0xfee00000UL)) { in sba_ioc_init_pluto()1291 iova_space_size /= 2; in sba_ioc_init_pluto()1298 iov_order = get_order(iova_space_size >> (IOVP_SHIFT - PAGE_SHIFT)); in sba_ioc_init_pluto()1299 ioc->pdir_size = (iova_space_size / IOVP_SIZE) * sizeof(u64); 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()1388 ioc->pdir_base[PDIR_INDEX(iova_space_size/2)] = SBA_AGPGART_COOKIE; in sba_ioc_init_pluto()1396 u32 iova_space_size, iova_space_mask; in sba_ioc_init() local[all …]
1230 u32 iova_space_size; in ccio_ioc_init() local1243 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 …]