Lines Matching refs:dma_ops
55 extern const struct dma_mapping_ops* dma_ops;
60 if (dma_ops->mapping_error)
61 return dma_ops->mapping_error(dma_addr);
82 return dma_ops->map_single(hwdev, ptr, size, direction);
90 dma_ops->unmap_single(dev, addr, size, direction);
103 if (dma_ops->sync_single_for_cpu)
104 dma_ops->sync_single_for_cpu(hwdev, dma_handle, size,
114 if (dma_ops->sync_single_for_device)
115 dma_ops->sync_single_for_device(hwdev, dma_handle, size,
125 if (dma_ops->sync_single_range_for_cpu) {
126 dma_ops->sync_single_range_for_cpu(hwdev, dma_handle, offset, size, direction);
137 if (dma_ops->sync_single_range_for_device)
138 dma_ops->sync_single_range_for_device(hwdev, dma_handle,
149 if (dma_ops->sync_sg_for_cpu)
150 dma_ops->sync_sg_for_cpu(hwdev, sg, nelems, direction);
159 if (dma_ops->sync_sg_for_device) {
160 dma_ops->sync_sg_for_device(hwdev, sg, nelems, direction);
170 return dma_ops->map_sg(hwdev, sg, nents, direction);
178 dma_ops->unmap_sg(hwdev, sg, nents, direction);