Searched refs:swiotlb_nslabs (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/mips/netlogic/common/
H A Dnlm-dma.c98 unsigned long swiotlb_nslabs; plat_swiotlb_setup() local
101 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; plat_swiotlb_setup()
102 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); plat_swiotlb_setup()
103 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; plat_swiotlb_setup()
106 swiotlb_init_with_tbl(nlm_swiotlb, swiotlb_nslabs, 1); plat_swiotlb_setup()
/linux-4.1.27/arch/mips/cavium-octeon/
H A Ddma-octeon.c268 unsigned long swiotlb_nslabs; plat_swiotlb_setup() local
314 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; plat_swiotlb_setup()
315 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); plat_swiotlb_setup()
316 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; plat_swiotlb_setup()
320 if (swiotlb_init_with_tbl(octeon_swiotlb, swiotlb_nslabs, 1) == -ENOMEM) plat_swiotlb_setup()

Completed in 141 milliseconds