Home
last modified time | relevance | path

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

/Linux-v5.4/kernel/dma/
Dswiotlb.c117 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in setup_io_tlb_npages()
229 io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); in swiotlb_init_with_tbl()
254 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in swiotlb_init()
286 io_tlb_nslabs = ALIGN(io_tlb_nslabs, IO_TLB_SEGSIZE); in swiotlb_late_init_with_default_size()
360 io_tlb_list[i] = IO_TLB_SEGSIZE - OFFSET(i, IO_TLB_SEGSIZE); in swiotlb_late_init_with_tbl()
533 for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE - 1) && io_tlb_list[i]; i--) in swiotlb_tbl_map_single()
605 count = ((index + nslots) < ALIGN(index + 1, IO_TLB_SEGSIZE) ? in swiotlb_tbl_unmap_single()
619 for (i = index - 1; (OFFSET(i, IO_TLB_SEGSIZE) != IO_TLB_SEGSIZE -1) && io_tlb_list[i]; i--) in swiotlb_tbl_unmap_single()
692 return ((size_t)1 << IO_TLB_SHIFT) * IO_TLB_SEGSIZE; in swiotlb_max_mapping_size()
/Linux-v5.4/drivers/xen/
Dswiotlb-xen.c127 dma_bits = get_order(IO_TLB_SEGSIZE << IO_TLB_SHIFT) + PAGE_SHIFT; in xen_swiotlb_fixup()
131 int slabs = min(nslabs - i, (unsigned long)IO_TLB_SEGSIZE); in xen_swiotlb_fixup()
150 xen_io_tlb_nslabs = ALIGN(xen_io_tlb_nslabs, IO_TLB_SEGSIZE); in xen_set_nslabs()
/Linux-v5.4/include/linux/
Dswiotlb.h24 #define IO_TLB_SEGSIZE 128 macro
/Linux-v5.4/arch/mips/cavium-octeon/
Ddma-octeon.c240 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); in plat_swiotlb_setup()
/Linux-v5.4/drivers/mmc/host/
Dsdhci.c4190 IO_TLB_SEGSIZE; in sdhci_setup_host()