Home
last modified time | relevance | path

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

/linux-6.12.1/kernel/dma/
Dswiotlb.c55 #define SLABS_PER_PAGE (1 << (PAGE_SHIFT - IO_TLB_SHIFT))
62 #define IO_TLB_MIN_SLABS ((1<<20) >> IO_TLB_SHIFT)
102 static unsigned long default_nslabs = IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT;
164 (default_nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_adjust_nareas()
209 return default_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()
219 if (default_nslabs != IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT) in swiotlb_adjust_size()
223 default_nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_adjust_size()
225 size = default_nslabs << IO_TLB_SHIFT; in swiotlb_adjust_size()
239 (mem->nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_print_info()
265 bytes = PAGE_ALIGN(mem->nslabs << IO_TLB_SHIFT); in swiotlb_update_mem_attributes()
[all …]
/linux-6.12.1/include/linux/
Dswiotlb.h32 #define IO_TLB_SHIFT 11 macro
33 #define IO_TLB_SIZE (1 << IO_TLB_SHIFT)
/linux-6.12.1/drivers/xen/
Dswiotlb-xen.c117 unsigned int order = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT); in xen_swiotlb_fixup()
129 p + (i << IO_TLB_SHIFT), order, in xen_swiotlb_fixup()