Lines Matching refs:default_nslabs
78 static unsigned long default_nslabs = IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT; variable
112 if (default_nslabs < IO_TLB_SEGSIZE * default_nareas) in round_up_default_nslabs()
113 default_nslabs = IO_TLB_SEGSIZE * default_nareas; in round_up_default_nslabs()
114 else if (is_power_of_2(default_nslabs)) in round_up_default_nslabs()
116 default_nslabs = roundup_pow_of_two(default_nslabs); in round_up_default_nslabs()
140 (default_nslabs << IO_TLB_SHIFT) >> 20); in swiotlb_adjust_nareas()
165 default_nslabs = in setup_io_tlb_npages()
193 return default_nslabs << IO_TLB_SHIFT; in swiotlb_size_or_default()
203 if (default_nslabs != IO_TLB_DEFAULT_SIZE >> IO_TLB_SHIFT) in swiotlb_adjust_size()
207 default_nslabs = ALIGN(size >> IO_TLB_SHIFT, IO_TLB_SEGSIZE); in swiotlb_adjust_size()
209 size = default_nslabs << IO_TLB_SHIFT; in swiotlb_adjust_size()
380 nslabs = default_nslabs; in swiotlb_init_remap()
389 if (default_nslabs != nslabs) { in swiotlb_init_remap()
391 default_nslabs, nslabs); in swiotlb_init_remap()
392 default_nslabs = nslabs; in swiotlb_init_remap()