Home
last modified time | relevance | path

Searched refs:swiotlb_virt_to_bus (Results 1 – 1 of 1) sorted by relevance

/linux-3.4.99/lib/
Dswiotlb.c119 static dma_addr_t swiotlb_virt_to_bus(struct device *hwdev, in swiotlb_virt_to_bus() function
487 dma_addr_t start_dma_addr = swiotlb_virt_to_bus(hwdev, io_tlb_start); in map_single()
579 if (ret && swiotlb_virt_to_bus(hwdev, ret) + size - 1 > dma_mask) { in swiotlb_alloc_coherent()
598 dev_addr = swiotlb_virt_to_bus(hwdev, ret); in swiotlb_alloc_coherent()
689 dev_addr = swiotlb_virt_to_bus(dev, map); in swiotlb_map_page()
696 dev_addr = swiotlb_virt_to_bus(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
832 sg->dma_address = swiotlb_virt_to_bus(hwdev, map); in swiotlb_map_sg_attrs()
915 return (dma_addr == swiotlb_virt_to_bus(hwdev, io_tlb_overflow_buffer)); in swiotlb_dma_mapping_error()
928 return swiotlb_virt_to_bus(hwdev, io_tlb_end - 1) <= mask; in swiotlb_dma_supported()