Lines Matching refs:sg_dma_address
1006 iommu_dma_sync_single_for_cpu(dev, sg_dma_address(sg), in iommu_dma_sync_sg_for_cpu()
1023 sg_dma_address(sg), in iommu_dma_sync_sg_for_device()
1123 dma_addr_t s_dma_addr = sg_dma_address(s); in __finalise_sg()
1124 unsigned int s_iova_off = sg_dma_address(s); in __finalise_sg()
1128 sg_dma_address(s) = DMA_MAPPING_ERROR; in __finalise_sg()
1136 sg_dma_address(cur) = s_dma_addr; in __finalise_sg()
1165 sg_dma_address(cur) = dma_addr + s_iova_off; in __finalise_sg()
1190 if (sg_dma_address(s) != DMA_MAPPING_ERROR) in __invalidate_sg()
1191 s->offset += sg_dma_address(s); in __invalidate_sg()
1195 sg_dma_address(s) = DMA_MAPPING_ERROR; in __invalidate_sg()
1207 iommu_dma_unmap_page(dev, sg_dma_address(s), in iommu_dma_unmap_sg_swiotlb()
1220 sg_dma_address(s) = iommu_dma_map_page(dev, sg_page(s), in iommu_dma_map_sg_swiotlb()
1222 if (sg_dma_address(s) == DMA_MAPPING_ERROR) in iommu_dma_map_sg_swiotlb()
1304 sg_dma_address(s) = s_iova_off; in iommu_dma_map_sg()
1390 start = sg_dma_address(tmp); in iommu_dma_unmap_sg()
1404 end = sg_dma_address(tmp) + sg_dma_len(tmp); in iommu_dma_unmap_sg()