/arch/powerpc/include/asm/ |
D | dma-mapping.h | 87 return dev->archdata.dma_ops; in get_dma_ops() 92 dev->archdata.dma_ops = ops; in set_dma_ops() 124 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported() local 126 if (unlikely(dma_ops == NULL)) in dma_supported() 128 if (dma_ops->dma_supported == NULL) in dma_supported() 130 return dma_ops->dma_supported(dev, mask); in dma_supported() 141 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs() local 144 BUG_ON(!dma_ops); in dma_alloc_attrs() 146 cpu_addr = dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs() 159 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local [all …]
|
D | device.h | 20 struct dma_map_ops *dma_ops; member
|
/arch/ia64/kernel/ |
D | pci-dma.c | 101 dma_ops = &intel_dma_ops; in pci_iommu_alloc() 103 dma_ops->sync_single_for_cpu = machvec_dma_sync_single; in pci_iommu_alloc() 104 dma_ops->sync_sg_for_cpu = machvec_dma_sync_sg; in pci_iommu_alloc() 105 dma_ops->sync_single_for_device = machvec_dma_sync_single; in pci_iommu_alloc() 106 dma_ops->sync_sg_for_device = machvec_dma_sync_sg; in pci_iommu_alloc() 107 dma_ops->dma_supported = iommu_dma_supported; in pci_iommu_alloc()
|
D | dma-mapping.c | 7 struct dma_map_ops *dma_ops; variable 8 EXPORT_SYMBOL(dma_ops); 22 return dma_ops; in dma_get_ops()
|
D | pci-swiotlb.c | 50 dma_ops = &swiotlb_dma_ops; in swiotlb_dma_init() 62 dma_ops = &swiotlb_dma_ops; in pci_swiotlb_init()
|
/arch/unicore32/include/asm/ |
D | dma-mapping.h | 35 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_supported() local 37 if (unlikely(dma_ops == NULL)) in dma_supported() 40 return dma_ops->dma_supported(dev, mask); in dma_supported() 45 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error() local 47 if (dma_ops->mapping_error) in dma_mapping_error() 48 return dma_ops->mapping_error(dev, dma_addr); in dma_mapping_error() 91 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_alloc_attrs() local 93 return dma_ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs() 102 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local 104 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs); in dma_free_attrs()
|
/arch/hexagon/include/asm/ |
D | dma-mapping.h | 36 extern struct dma_map_ops *dma_ops; 46 return dma_ops; in get_dma_ops() 66 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_mapping_error() local 68 if (dma_ops->mapping_error) in dma_mapping_error() 69 return dma_ops->mapping_error(dev, dma_addr); in dma_mapping_error() 83 BUG_ON(!dma_ops); in dma_alloc_attrs() 98 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_free_attrs() local 100 BUG_ON(!dma_ops); in dma_free_attrs() 102 dma_ops->free(dev, size, cpu_addr, dma_handle, attrs); in dma_free_attrs()
|
/arch/powerpc/kernel/ |
D | dma.c | 176 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_set_mask() local 180 if ((dma_ops != NULL) && (dma_ops->set_dma_mask != NULL)) in dma_set_mask() 181 return dma_ops->set_dma_mask(dev, dma_mask); in dma_set_mask() 191 struct dma_map_ops *dma_ops = get_dma_ops(dev); in dma_get_required_mask() local 196 if (unlikely(dma_ops == NULL)) in dma_get_required_mask() 199 if (dma_ops->get_required_mask) in dma_get_required_mask() 200 return dma_ops->get_required_mask(dev); in dma_get_required_mask()
|
/arch/arm/include/asm/mach/ |
D | dma.h | 17 struct dma_ops { struct 43 const struct dma_ops *d_ops; argument
|
/arch/x86/include/asm/ |
D | dma-mapping.h | 29 extern struct dma_map_ops *dma_ops; 34 return dma_ops; in get_dma_ops() 36 if (unlikely(!dev) || !dev->archdata.dma_ops) in get_dma_ops() 37 return dma_ops; in get_dma_ops() 39 return dev->archdata.dma_ops; in get_dma_ops()
|
D | device.h | 9 struct dma_map_ops *dma_ops; member
|
/arch/microblaze/include/asm/ |
D | dma-mapping.h | 46 extern struct dma_map_ops *dma_ops; 60 if (unlikely(!dev) || !dev->archdata.dma_ops) in get_dma_ops() 63 return dev->archdata.dma_ops; in get_dma_ops() 68 dev->archdata.dma_ops = ops; in set_dma_ops()
|
D | device.h | 16 struct dma_map_ops *dma_ops; member
|
/arch/hexagon/kernel/ |
D | dma.c | 27 struct dma_map_ops *dma_ops; variable 28 EXPORT_SYMBOL(dma_ops); 218 if (dma_ops) in hexagon_dma_init() 221 dma_ops = &hexagon_dma_ops; in hexagon_dma_init()
|
/arch/mips/include/asm/ |
D | device.h | 13 struct dma_map_ops *dma_ops; member
|
D | dma-mapping.h | 16 if (dev && dev->archdata.dma_ops) in get_dma_ops() 17 return dev->archdata.dma_ops; in get_dma_ops()
|
/arch/alpha/include/asm/ |
D | dma-mapping.h | 6 extern struct dma_map_ops *dma_ops; 10 return dma_ops; in get_dma_ops()
|
/arch/sh/kernel/ |
D | dma-nommu.c | 79 if (dma_ops) in no_iommu_init() 81 dma_ops = &nommu_dma_ops; in no_iommu_init()
|
/arch/sparc/include/asm/ |
D | dma-mapping.h | 15 extern struct dma_map_ops *dma_ops, pci32_dma_ops; 24 return dma_ops; in get_dma_ops()
|
/arch/sh/include/asm/ |
D | dma.h | 65 struct dma_ops { struct 105 struct dma_ops *ops;
|
D | dma-mapping.h | 4 extern struct dma_map_ops *dma_ops; 9 return dma_ops; in get_dma_ops()
|
/arch/arm/mach-footbridge/ |
D | dma.c | 37 static struct dma_ops fb_dma_ops = {
|
/arch/x86/xen/ |
D | pci-swiotlb-xen.c | 58 dma_ops = &xen_swiotlb_dma_ops; in pci_xen_swiotlb_init()
|
/arch/sh/mm/ |
D | consistent.c | 25 struct dma_map_ops *dma_ops; variable 26 EXPORT_SYMBOL(dma_ops);
|
/arch/alpha/kernel/ |
D | pci-noop.c | 188 struct dma_map_ops *dma_ops = &alpha_noop_ops; variable 189 EXPORT_SYMBOL(dma_ops);
|