Searched refs:IO_TLB_SHIFT (Results 1 – 7 of 7) sorted by relevance
51 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT))58 #define IO_TLB_MIN_SLABS ((1<<20) >> IO_TLB_SHIFT)157 size = io_tlb_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()166 unsigned long bytes = io_tlb_nslabs << IO_TLB_SHIFT; in swiotlb_print_info()194 bytes = PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()209 bytes = nslabs << IO_TLB_SHIFT; in swiotlb_init_with_tbl()246 swiotlb_set_max_segment(io_tlb_nslabs << IO_TLB_SHIFT); in swiotlb_init_with_tbl()262 io_tlb_nslabs = (default_size >> IO_TLB_SHIFT); in swiotlb_init()266 bytes = io_tlb_nslabs << IO_TLB_SHIFT; in swiotlb_init()275 PAGE_ALIGN(io_tlb_nslabs << IO_TLB_SHIFT)); in swiotlb_init()[all …]
154 dma_bits = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT) + PAGE_SHIFT; in xen_swiotlb_fixup()162 p + (i << IO_TLB_SHIFT), in xen_swiotlb_fixup()163 get_order(slabs << IO_TLB_SHIFT), in xen_swiotlb_fixup()176 xen_io_tlb_nslabs = (64 * 1024 * 1024 >> IO_TLB_SHIFT); in xen_set_nslabs()181 return xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_set_nslabs()215 order = get_order(xen_io_tlb_nslabs << IO_TLB_SHIFT); in xen_swiotlb_init()222 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT)) in xen_swiotlb_init()223 #define IO_TLB_MIN_SLABS ((1<<20) >> IO_TLB_SHIFT) in xen_swiotlb_init()234 bytes = xen_io_tlb_nslabs << IO_TLB_SHIFT; in xen_swiotlb_init()276 (xen_io_tlb_nslabs << IO_TLB_SHIFT) >> 20); in xen_swiotlb_init()
243 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; in plat_swiotlb_setup()245 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; in plat_swiotlb_setup()
32 #define IO_TLB_SHIFT 11 macro
33 #define IO_TLB_SEGPAGES (IO_TLB_SEGSIZE << IO_TLB_SHIFT >> PAGE_SHIFT)
1276 unsigned int max_size = (1 << IO_TLB_SHIFT) * IO_TLB_SEGSIZE; in tmio_mmc_host_probe()
3944 unsigned int max_req_size = (1 << IO_TLB_SHIFT) * in sdhci_setup_host()