Searched refs:IO_TLB_SIZE (Results 1 – 2 of 2) sorted by relevance
222 size = ALIGN(size, IO_TLB_SIZE); in swiotlb_adjust_size()249 return DIV_ROUND_UP(val, IO_TLB_SIZE); in nr_slots()851 (align_mask | (IO_TLB_SIZE - 1)); in swiotlb_align_offset()871 tlb_offset = tlb_addr & (IO_TLB_SIZE - 1); in swiotlb_bounce()1033 alloc_align_mask |= (IO_TLB_SIZE - 1); in swiotlb_area_find_slots()1346 offset &= (IO_TLB_SIZE - 1); in swiotlb_tbl_map_single()1533 min_align = roundup(min_align_mask, IO_TLB_SIZE); in swiotlb_max_mapping_size()1535 return ((size_t)IO_TLB_SIZE) * IO_TLB_SEGSIZE - min_align; in swiotlb_max_mapping_size()
33 #define IO_TLB_SIZE (1 << IO_TLB_SHIFT) macro