static void __iommu_sync_single_for_cpu(struct device *dev, dma_addr_t dev_addr, size_t size, enum dma_data_direction dir) { phys_addr_t phys;
if (is_device_dma_coherent(dev)) return;
phys = iommu_iova_to_phys(iommu_get_domain_for_dev(dev), dev_addr); __dma_unmap_area(phys_to_virt(phys), size, dir);
}