Searched refs:tlb_addr (Results 1 – 1 of 1) sorted by relevance
551 static void swiotlb_bounce(struct device *dev, phys_addr_t tlb_addr, size_t size, in swiotlb_bounce() argument555 int index = (tlb_addr - mem->start) >> IO_TLB_SHIFT; in swiotlb_bounce()559 unsigned char *vaddr = mem->vaddr + tlb_addr - mem->start; in swiotlb_bounce()565 tlb_offset = tlb_addr & (IO_TLB_SIZE - 1); in swiotlb_bounce()775 phys_addr_t tlb_addr; in swiotlb_tbl_map_single() local809 tlb_addr = slot_addr(mem->start, index) + offset; in swiotlb_tbl_map_single()817 swiotlb_bounce(dev, tlb_addr, mapping_size, DMA_TO_DEVICE); in swiotlb_tbl_map_single()818 return tlb_addr; in swiotlb_tbl_map_single()821 static void swiotlb_release_slots(struct device *dev, phys_addr_t tlb_addr) in swiotlb_release_slots() argument825 unsigned int offset = swiotlb_align_offset(dev, tlb_addr); in swiotlb_release_slots()[all …]