Home
last modified time | relevance | path

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

/openbmc/linux/arch/ia64/hp/common/
H A Dsba_iommu.c195 static unsigned long iovp_shift; variable
432 #define PDIR_INDEX(iovp) ((iovp)>>iovp_shift)
451 order = order - iovp_shift - 0xffff + 1; in get_iovp_order()
488 boundary_size = dma_get_seg_boundary_nr_pages(dev, iovp_shift); in sba_search_bitmap()
491 shift = ioc->ibase >> iovp_shift; in sba_search_bitmap()
509 bits_wanted = 1UL << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap()
533 unsigned long o = 1 << get_iovp_order(bits_wanted << iovp_shift); in sba_search_bitmap()
624 unsigned int pages_needed = size >> iovp_shift; in sba_alloc_range()
726 int bits_not_wanted = size >> iovp_shift; in sba_free_range()
730 bits_not_wanted = 1UL << get_iovp_order(bits_not_wanted << iovp_shift); in sba_free_range()
[all …]