Searched refs:swiotlbsize (Results 1 – 2 of 2) sorted by relevance
87 size_t swiotlbsize; in plat_swiotlb_setup() local90 swiotlbsize = 1 << 20; /* 1 MB for now */ in plat_swiotlb_setup()91 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; in plat_swiotlb_setup()93 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; in plat_swiotlb_setup()95 nlm_swiotlb = alloc_bootmem_low_pages(swiotlbsize); in plat_swiotlb_setup()
259 size_t swiotlbsize; in plat_swiotlb_setup() local281 swiotlbsize = PAGE_SIZE; in plat_swiotlb_setup()290 swiotlbsize = addr_size / 4; in plat_swiotlb_setup()291 if (swiotlbsize > 64 * (1<<20)) in plat_swiotlb_setup()292 swiotlbsize = 64 * (1<<20); in plat_swiotlb_setup()298 swiotlbsize = 64 * (1<<20); in plat_swiotlb_setup()304 swiotlbsize = 64 * (1<<20); in plat_swiotlb_setup()306 swiotlb_nslabs = swiotlbsize >> IO_TLB_SHIFT; in plat_swiotlb_setup()308 swiotlbsize = swiotlb_nslabs << IO_TLB_SHIFT; in plat_swiotlb_setup()310 octeon_swiotlb = alloc_bootmem_low_pages(swiotlbsize); in plat_swiotlb_setup()