Home
last modified time | relevance | path

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

/openbmc/linux/kernel/dma/
H A Dswiotlb.c164 (default_nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_adjust_nareas()
209 return default_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()
225 size = default_nslabs << IO_TLB_SHIFT; in swiotlb_adjust_size()
239 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
464 order = get_order(nslabs << IO_TLB_SHIFT); in swiotlb_init_late()
704 tlb_size = nslabs << IO_TLB_SHIFT; in swiotlb_alloc_pool()
710 tlb_size = nslabs << IO_TLB_SHIFT; in swiotlb_alloc_pool()
929 return start + (idx << IO_TLB_SHIFT); in slot_addr()
937 return (boundary_mask >> IO_TLB_SHIFT) + 1; in get_max_slots()
1086 ((i - slot_index) << IO_TLB_SHIFT)); in swiotlb_area_find_slots()
[all …]
/openbmc/linux/include/linux/
H A Dswiotlb.h32 #define IO_TLB_SHIFT 11 macro
33 #define IO_TLB_SIZE (1 << IO_TLB_SHIFT)
/openbmc/linux/drivers/xen/
H A Dswiotlb-xen.c116 unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); in xen_swiotlb_fixup()
128 p + (i << IO_TLB_SHIFT), order, in xen_swiotlb_fixup()