Lines Matching refs:dma_device
2703 struct device *dma_device; member
2867 struct device *dma_device);
4025 return IS_ENABLED(CONFIG_INFINIBAND_VIRT_DMA) && !dev->dma_device; in ib_uses_virt_dma()
4036 return dma_pci_p2pdma_supported(dev->dma_device); in ib_dma_pci_p2p_dma_supported()
4073 return dma_mapping_error(dev->dma_device, dma_addr); in ib_dma_mapping_error()
4089 return dma_map_single(dev->dma_device, cpu_addr, size, direction); in ib_dma_map_single()
4104 dma_unmap_single(dev->dma_device, addr, size, direction); in ib_dma_unmap_single()
4123 return dma_map_page(dev->dma_device, page, offset, size, direction); in ib_dma_map_page()
4138 dma_unmap_page(dev->dma_device, addr, size, direction); in ib_dma_unmap_page()
4149 return dma_map_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_map_sg_attrs()
4159 dma_unmap_sg_attrs(dev->dma_device, sg, nents, direction, in ib_dma_unmap_sg_attrs()
4184 return dma_map_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_map_sgtable_attrs()
4193 dma_unmap_sgtable(dev->dma_device, sgt, direction, dma_attrs); in ib_dma_unmap_sgtable_attrs()
4234 return dma_get_max_seg_size(dev->dma_device); in ib_dma_max_seg_size()
4250 dma_sync_single_for_cpu(dev->dma_device, addr, size, dir); in ib_dma_sync_single_for_cpu()
4266 dma_sync_single_for_device(dev->dma_device, addr, size, dir); in ib_dma_sync_single_for_device()