Searched refs:swiotlb_nslabs (Results 1 – 2 of 2) sorted by relevance
88 unsigned long swiotlb_nslabs; in plat_swiotlb_setup() local91 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; in plat_swiotlb_setup()92 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); in plat_swiotlb_setup()93 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; in plat_swiotlb_setup()96 swiotlb_init_with_tbl(nlm_swiotlb, swiotlb_nslabs, 1); in plat_swiotlb_setup()
260 unsigned long swiotlb_nslabs; in plat_swiotlb_setup() local306 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; in plat_swiotlb_setup()307 swiotlb_nslabs = ALIGN(swiotlb_nslabs, IO_TLB_SEGSIZE); in plat_swiotlb_setup()308 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; in plat_swiotlb_setup()312 if (swiotlb_init_with_tbl(octeon_swiotlb, swiotlb_nslabs, 1) == -ENOMEM) in plat_swiotlb_setup()