Lines Matching refs:dma_device
2704 struct device *dma_device; member
2879 struct device *dma_device);
4037 return IS_ENABLED(CONFIG_INFINIBAND_VIRT_DMA) && !dev->dma_device; in ib_uses_virt_dma()
4048 return dma_pci_p2pdma_supported(dev->dma_device); in ib_dma_pci_p2p_dma_supported()
4085 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
4101 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
4116 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single()
4135 return dma_map_page(dev->dma_device, page, offset, size, direction); in ib_dma_map_page()
4150 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page()
4161 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs()
4171 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_unmap_sg_attrs()
4196 return dma_map_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_map_sgtable_attrs()
4205 dma_unmap_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_unmap_sgtable_attrs()
4246 return dma_get_max_seg_size(dev->dma_device); in ib_dma_max_seg_size()
4262 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); in ib_dma_sync_single_for_cpu()
4278 dma_sync_single_for_device(dev->dma_device, addr, size, dir); in ib_dma_sync_single_for_device()