Searched refs:IO_TLB_SIZE (Results 1 – 2 of 2) sorted by relevance
115 size = ALIGN(size, IO_TLB_SIZE); in swiotlb_adjust_size()140 return DIV_ROUND_UP(val, IO_TLB_SIZE); in nr_slots()389 return addr & dma_get_min_align_mask(dev) & (IO_TLB_SIZE - 1); in swiotlb_align_offset()409 tlb_offset = tlb_addr & (IO_TLB_SIZE - 1); in swiotlb_bounce()502 dma_get_min_align_mask(dev) & ~(IO_TLB_SIZE - 1); in swiotlb_find_slots()749 min_align = roundup(min_align_mask, IO_TLB_SIZE); in swiotlb_max_mapping_size()751 return ((size_t)IO_TLB_SIZE) * IO_TLB_SEGSIZE - min_align; in swiotlb_max_mapping_size()
32 #define IO_TLB_SIZE (1 << IO_TLB_SHIFT) macro