Lines Matching refs:phys_addr_t
63 static phys_addr_t io_tlb_start, io_tlb_end;
76 static phys_addr_t io_tlb_overflow_buffer;
89 #define INVALID_PHYS_ADDR (~(phys_addr_t)0)
90 static phys_addr_t *io_tlb_orig_addr;
193 PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t)), in swiotlb_init_with_tbl()
319 io_tlb_orig_addr = (phys_addr_t *) in swiotlb_late_init_with_tbl()
322 sizeof(phys_addr_t))); in swiotlb_late_init_with_tbl()
362 get_order(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free()
371 PAGE_ALIGN(io_tlb_nslabs * sizeof(phys_addr_t))); in swiotlb_free()
380 int is_swiotlb_buffer(phys_addr_t paddr) in is_swiotlb_buffer()
388 static void swiotlb_bounce(phys_addr_t orig_addr, phys_addr_t tlb_addr, in swiotlb_bounce()
425 phys_addr_t swiotlb_tbl_map_single(struct device *hwdev, in swiotlb_tbl_map_single()
427 phys_addr_t orig_addr, size_t size, in swiotlb_tbl_map_single()
431 phys_addr_t tlb_addr; in swiotlb_tbl_map_single()
540 static phys_addr_t
541 map_single(struct device *hwdev, phys_addr_t phys, size_t size, in map_single()
552 void swiotlb_tbl_unmap_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_unmap_single()
558 phys_addr_t orig_addr = io_tlb_orig_addr[index]; in swiotlb_tbl_unmap_single()
596 void swiotlb_tbl_sync_single(struct device *hwdev, phys_addr_t tlb_addr, in swiotlb_tbl_sync_single()
601 phys_addr_t orig_addr = io_tlb_orig_addr[index]; in swiotlb_tbl_sync_single()
657 phys_addr_t paddr = map_single(hwdev, 0, size, DMA_FROM_DEVICE); in swiotlb_alloc_coherent()
695 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_free_coherent()
743 phys_addr_t map, phys = page_to_phys(page) + offset; in swiotlb_map_page()
787 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in unmap_single()
831 phys_addr_t paddr = dma_to_phys(hwdev, dev_addr); in swiotlb_sync_single()
888 phys_addr_t paddr = sg_phys(sg); in swiotlb_map_sg_attrs()
893 phys_addr_t map = map_single(hwdev, sg_phys(sg), in swiotlb_map_sg_attrs()