Home
last modified time | relevance | path

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

/linux-2.6.39/lib/
Dswiotlb.c114 static dma_addr_t swiotlb_virt_to_bus(struct device *hwdev, in swiotlb_virt_to_bus() function
482 dma_addr_t start_dma_addr = swiotlb_virt_to_bus(hwdev, io_tlb_start); in map_single()
574 if (ret && swiotlb_virt_to_bus(hwdev, ret) + size - 1 > dma_mask) { in swiotlb_alloc_coherent()
593 dev_addr = swiotlb_virt_to_bus(hwdev, ret); in swiotlb_alloc_coherent()
684 dev_addr = swiotlb_virt_to_bus(dev, map); in swiotlb_map_page()
691 dev_addr = swiotlb_virt_to_bus(dev, io_tlb_overflow_buffer); in swiotlb_map_page()
827 sg->dma_address = swiotlb_virt_to_bus(hwdev, map); in swiotlb_map_sg_attrs()
910 return (dma_addr == swiotlb_virt_to_bus(hwdev, io_tlb_overflow_buffer)); in swiotlb_dma_mapping_error()
923 return swiotlb_virt_to_bus(hwdev, io_tlb_end - 1) <= mask; in swiotlb_dma_supported()