Searched refs:tlb_addr (Results 1 – 1 of 1) sorted by relevance
/lib/ |
D | swiotlb.c | 388 static void swiotlb_bounce(phys_addr_t orig_addr, phys_addr_t tlb_addr, in swiotlb_bounce() argument 392 unsigned char *vaddr = phys_to_virt(tlb_addr); in swiotlb_bounce() 431 phys_addr_t tlb_addr; in swiotlb_tbl_map_single() local 498 tlb_addr = io_tlb_start + (index << IO_TLB_SHIFT); in swiotlb_tbl_map_single() 530 swiotlb_bounce(orig_addr, tlb_addr, size, DMA_TO_DEVICE); in swiotlb_tbl_map_single() 532 return tlb_addr; in swiotlb_tbl_map_single() 551 void swiotlb_tbl_unmap_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_unmap_single() argument 556 int index = (tlb_addr - io_tlb_start) >> IO_TLB_SHIFT; in swiotlb_tbl_unmap_single() 564 swiotlb_bounce(orig_addr, tlb_addr, size, DMA_FROM_DEVICE); in swiotlb_tbl_unmap_single() 595 void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_sync_single() argument [all …]
|