Home
last modified time | relevance | path

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

/linux-2.4.37.9/arch/parisc/kernel/
Dsba_iommu.c1549 int pdir_size, iov_order; in sba_ioc_init() local
1585 iov_order = get_order(iova_space_size >> (IOVP_SHIFT-PAGE_SHIFT)); in sba_ioc_init()
1586 ASSERT(iov_order <= (30 - IOVP_SHIFT)); /* iova_space_size <= 1GB */ in sba_ioc_init()
1587 ASSERT(iov_order >= (20 - IOVP_SHIFT)); /* iova_space_size >= 1MB */ in sba_ioc_init()
1588 iova_space_size = 1 << (iov_order + IOVP_SHIFT); in sba_ioc_init()
1599 iova_space_size>>20, iov_order + PAGE_SHIFT, pdir_size); in sba_ioc_init()
1602 ioc->hint_shift_pdir = iov_order + PAGE_SHIFT; in sba_ioc_init()
1603 ioc->hint_mask_pdir = ~(0x3 << (iov_order + PAGE_SHIFT)); in sba_ioc_init()
1616 iova_space_mask <<= (iov_order + PAGE_SHIFT); in sba_ioc_init()
Dccio-dma.c1312 int i, iov_order; in ccio_ioc_init() local
1353 iov_order = get_order(iova_space_size) >> (IOVP_SHIFT - PAGE_SHIFT); in ccio_ioc_init()
1354 ASSERT(iov_order <= (30 - IOVP_SHIFT)); /* iova_space_size <= 1GB */ in ccio_ioc_init()
1355 ASSERT(iov_order >= (20 - IOVP_SHIFT)); /* iova_space_size >= 1MB */ in ccio_ioc_init()
1356 iova_space_size = 1 << (iov_order + IOVP_SHIFT); in ccio_ioc_init()
1367 iov_order + PAGE_SHIFT, ioc->pdir_size); in ccio_ioc_init()