Lines Matching refs:paddr
421 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_device() local
423 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_device()
424 swiotlb_sync_single_for_device(dev, paddr, sg->length, in dma_direct_sync_sg_for_device()
428 arch_sync_dma_for_device(paddr, sg->length, in dma_direct_sync_sg_for_device()
444 phys_addr_t paddr = dma_to_phys(dev, sg_dma_address(sg)); in dma_direct_sync_sg_for_cpu() local
447 arch_sync_dma_for_cpu(paddr, sg->length, dir); in dma_direct_sync_sg_for_cpu()
449 if (unlikely(is_swiotlb_buffer(dev, paddr))) in dma_direct_sync_sg_for_cpu()
450 swiotlb_sync_single_for_cpu(dev, paddr, sg->length, in dma_direct_sync_sg_for_cpu()
454 arch_dma_mark_clean(paddr, sg->length); in dma_direct_sync_sg_for_cpu()
525 dma_addr_t dma_direct_map_resource(struct device *dev, phys_addr_t paddr, in dma_direct_map_resource() argument
528 dma_addr_t dma_addr = paddr; in dma_direct_map_resource()