Home
last modified time | relevance | path

Searched refs:dma_data_direction (Results 1 – 25 of 245) sorted by relevance

12345678910

/Linux-v4.19/include/linux/
Dswiotlb.h55 enum dma_data_direction dir,
60 size_t size, enum dma_data_direction dir,
65 size_t size, enum dma_data_direction dir,
77 enum dma_data_direction dir,
80 size_t size, enum dma_data_direction dir,
85 enum dma_data_direction dir,
90 int nelems, enum dma_data_direction dir,
95 size_t size, enum dma_data_direction dir);
99 int nelems, enum dma_data_direction dir);
103 size_t size, enum dma_data_direction dir);
[all …]
Ddma-buf.h132 enum dma_data_direction);
144 enum dma_data_direction);
188 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
207 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
388 enum dma_data_direction);
390 enum dma_data_direction);
392 enum dma_data_direction dir);
394 enum dma_data_direction dir);
Dpci-dma-compat.h40 return dma_map_single(&hwdev->dev, ptr, size, (enum dma_data_direction)direction); in pci_map_single()
47 dma_unmap_single(&hwdev->dev, dma_addr, size, (enum dma_data_direction)direction); in pci_unmap_single()
54 return dma_map_page(&hwdev->dev, page, offset, size, (enum dma_data_direction)direction); in pci_map_page()
61 dma_unmap_page(&hwdev->dev, dma_address, size, (enum dma_data_direction)direction); in pci_unmap_page()
68 return dma_map_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_map_sg()
75 dma_unmap_sg(&hwdev->dev, sg, nents, (enum dma_data_direction)direction); in pci_unmap_sg()
82 dma_sync_single_for_cpu(&hwdev->dev, dma_handle, size, (enum dma_data_direction)direction); in pci_dma_sync_single_for_cpu()
89 dma_sync_single_for_device(&hwdev->dev, dma_handle, size, (enum dma_data_direction)direction); in pci_dma_sync_single_for_device()
96 dma_sync_sg_for_cpu(&hwdev->dev, sg, nelems, (enum dma_data_direction)direction); in pci_dma_sync_sg_for_cpu()
103 dma_sync_sg_for_device(&hwdev->dev, sg, nelems, (enum dma_data_direction)direction); in pci_dma_sync_sg_for_device()
Ddma-noncoherent.h22 enum dma_data_direction direction);
29 size_t size, enum dma_data_direction dir);
32 phys_addr_t paddr, size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
39 size_t size, enum dma_data_direction dir);
42 phys_addr_t paddr, size_t size, enum dma_data_direction dir) in arch_sync_dma_for_cpu()
Ddma-mapping.h95 enum dma_data_direction dir,
98 size_t size, enum dma_data_direction dir,
105 int nents, enum dma_data_direction dir,
109 enum dma_data_direction dir,
112 size_t size, enum dma_data_direction dir,
115 size_t size, enum dma_data_direction dir,
119 enum dma_data_direction dir);
122 enum dma_data_direction dir);
125 enum dma_data_direction dir);
128 enum dma_data_direction dir);
[all …]
Ddma-iommu.h40 int dma_info_to_prot(enum dma_data_direction dir, bool coherent,
65 enum dma_data_direction dir, unsigned long attrs);
67 enum dma_data_direction dir, unsigned long attrs);
69 size_t size, enum dma_data_direction dir, unsigned long attrs);
71 size_t size, enum dma_data_direction dir, unsigned long attrs);
/Linux-v4.19/kernel/dma/
Dnoncoherent.c15 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_noncoherent_sync_single_for_device()
21 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_noncoherent_sync_sg_for_device()
31 unsigned long offset, size_t size, enum dma_data_direction dir, in dma_noncoherent_map_page()
44 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_noncoherent_map_sg()
55 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_noncoherent_sync_single_for_cpu()
62 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_noncoherent_sync_sg_for_cpu()
73 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_noncoherent_unmap_page()
80 int nents, enum dma_data_direction dir, unsigned long attrs) in dma_noncoherent_unmap_sg()
Dswiotlb.c441 size_t size, enum dma_data_direction dir) in swiotlb_bounce()
480 enum dma_data_direction dir, in swiotlb_tbl_map_single()
598 enum dma_data_direction dir, unsigned long attrs) in map_single()
617 size_t size, enum dma_data_direction dir, in swiotlb_tbl_unmap_single()
662 size_t size, enum dma_data_direction dir, in swiotlb_tbl_sync_single()
765 swiotlb_full(struct device *dev, size_t size, enum dma_data_direction dir, in swiotlb_full()
801 enum dma_data_direction dir, in swiotlb_map_page()
846 size_t size, enum dma_data_direction dir, in unmap_single()
871 size_t size, enum dma_data_direction dir, in swiotlb_unmap_page()
889 size_t size, enum dma_data_direction dir, in swiotlb_sync_single()
[all …]
/Linux-v4.19/include/xen/arm/
Dpage-coherent.h18 enum dma_data_direction dir, unsigned long attrs);
20 size_t size, enum dma_data_direction dir,
23 dma_addr_t handle, size_t size, enum dma_data_direction dir);
26 dma_addr_t handle, size_t size, enum dma_data_direction dir);
42 enum dma_data_direction dir, unsigned long attrs) in xen_dma_map_page()
67 size_t size, enum dma_data_direction dir, unsigned long attrs) in xen_dma_unmap_page()
86 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_cpu()
97 dma_addr_t handle, size_t size, enum dma_data_direction dir) in xen_dma_sync_single_for_device()
/Linux-v4.19/arch/arm/mm/
Ddma-mapping-nommu.c98 enum dma_data_direction dir) in __dma_page_cpu_to_dev()
109 enum dma_data_direction dir) in __dma_page_dev_to_cpu()
119 enum dma_data_direction dir, in arm_nommu_dma_map_page()
130 size_t size, enum dma_data_direction dir, in arm_nommu_dma_unmap_page()
138 int nents, enum dma_data_direction dir, in arm_nommu_dma_map_sg()
154 int nents, enum dma_data_direction dir, in arm_nommu_dma_unmap_sg()
165 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_nommu_dma_sync_single_for_device()
171 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_nommu_dma_sync_single_for_cpu()
177 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_device()
187 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_cpu()
/Linux-v4.19/arch/powerpc/include/asm/
Diommu.h56 enum dma_data_direction direction,
67 enum dma_data_direction *direction);
72 enum dma_data_direction *direction);
222 unsigned long *hpa, enum dma_data_direction *direction);
264 enum dma_data_direction direction,
269 enum dma_data_direction direction,
280 enum dma_data_direction direction,
283 size_t size, enum dma_data_direction direction,
325 extern enum dma_data_direction iommu_tce_direction(unsigned long tce);
326 extern unsigned long iommu_direction_to_tce_perm(enum dma_data_direction dir);
/Linux-v4.19/drivers/spi/
Dinternals.h25 enum dma_data_direction dir);
27 struct sg_table *sgt, enum dma_data_direction dir);
31 enum dma_data_direction dir) in spi_map_buf()
38 enum dma_data_direction dir) in spi_unmap_buf()
/Linux-v4.19/arch/arm/xen/
Dmm.c48 size_t size, enum dma_data_direction dir, enum dma_cache_op op) in dma_cache_maint()
88 size_t size, enum dma_data_direction dir) in __xen_dma_page_dev_to_cpu()
94 size_t size, enum dma_data_direction dir) in __xen_dma_page_cpu_to_dev()
101 enum dma_data_direction dir, unsigned long attrs) in __xen_dma_map_page()
112 size_t size, enum dma_data_direction dir, in __xen_dma_unmap_page()
125 dma_addr_t handle, size_t size, enum dma_data_direction dir) in __xen_dma_sync_single_for_cpu()
133 dma_addr_t handle, size_t size, enum dma_data_direction dir) in __xen_dma_sync_single_for_device()
/Linux-v4.19/arch/x86/include/asm/xen/
Dpage-coherent.h26 enum dma_data_direction dir, unsigned long attrs) { } in xen_dma_map_page()
29 size_t size, enum dma_data_direction dir, in xen_dma_unmap_page()
33 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_cpu()
36 dma_addr_t handle, size_t size, enum dma_data_direction dir) { } in xen_dma_sync_single_for_device()
/Linux-v4.19/arch/arm64/mm/
Ddma-mapping.c159 enum dma_data_direction dir, in __swiotlb_map_page()
174 size_t size, enum dma_data_direction dir, in __swiotlb_unmap_page()
184 int nelems, enum dma_data_direction dir, in __swiotlb_map_sg_attrs()
202 enum dma_data_direction dir, in __swiotlb_unmap_sg_attrs()
218 enum dma_data_direction dir) in __swiotlb_sync_single_for_cpu()
227 enum dma_data_direction dir) in __swiotlb_sync_single_for_device()
236 enum dma_data_direction dir) in __swiotlb_sync_sg_for_cpu()
250 enum dma_data_direction dir) in __swiotlb_sync_sg_for_device()
436 enum dma_data_direction dir, in __dummy_map_page()
443 size_t size, enum dma_data_direction dir, in __dummy_unmap_page()
[all …]
/Linux-v4.19/net/smc/
Dsmc_ib.h58 enum dma_data_direction data_direction);
61 enum dma_data_direction data_direction);
75 enum dma_data_direction data_direction);
78 enum dma_data_direction data_direction);
/Linux-v4.19/arch/hexagon/kernel/
Ddma.c99 int nents, enum dma_data_direction dir, in hexagon_map_sg()
128 enum dma_data_direction dir) in dma_sync()
169 enum dma_data_direction dir, in hexagon_map_page()
186 enum dma_data_direction dir) in hexagon_sync_single_for_cpu()
193 enum dma_data_direction dir) in hexagon_sync_single_for_device()
/Linux-v4.19/arch/ia64/sn/pci/
Dpci_dma.c178 enum dma_data_direction dir, in sn_dma_map_page()
217 size_t size, enum dma_data_direction dir, in sn_dma_unmap_page()
239 int nhwentries, enum dma_data_direction dir, in sn_dma_unmap_sg()
272 int nhwentries, enum dma_data_direction dir, in sn_dma_map_sg()
318 size_t size, enum dma_data_direction dir) in sn_dma_sync_single_for_cpu()
325 enum dma_data_direction dir) in sn_dma_sync_single_for_device()
331 int nelems, enum dma_data_direction dir) in sn_dma_sync_sg_for_cpu()
337 int nelems, enum dma_data_direction dir) in sn_dma_sync_sg_for_device()
/Linux-v4.19/include/rdma/
Drw.h64 u64 remote_addr, u32 rkey, enum dma_data_direction dir);
67 enum dma_data_direction dir);
73 enum dma_data_direction dir);
77 enum dma_data_direction dir);
/Linux-v4.19/arch/mips/mm/
Ddma-noncoherent.c130 enum dma_data_direction dir) in dma_sync_virt()
156 enum dma_data_direction dir) in dma_sync_phys()
188 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
195 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_cpu()
202 enum dma_data_direction direction) in arch_dma_cache_sync()
/Linux-v4.19/arch/powerpc/kernel/
Ddma-iommu.c43 enum dma_data_direction direction, in dma_iommu_map_page()
52 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_page()
61 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg()
69 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg()
/Linux-v4.19/arch/microblaze/kernel/
Ddma.c19 enum dma_data_direction direction) in __dma_sync()
35 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_device()
41 size_t size, enum dma_data_direction dir) in arch_sync_dma_for_cpu()
/Linux-v4.19/arch/arm/include/asm/
Ddma-mapping.h205 enum dma_data_direction, unsigned long attrs);
207 enum dma_data_direction, unsigned long attrs);
209 enum dma_data_direction);
211 enum dma_data_direction);
/Linux-v4.19/drivers/xen/
Dswiotlb-xen.c370 enum dma_data_direction dir, in xen_swiotlb_map_page()
428 size_t size, enum dma_data_direction dir, in xen_unmap_single()
456 size_t size, enum dma_data_direction dir, in xen_swiotlb_unmap_page()
474 size_t size, enum dma_data_direction dir, in xen_swiotlb_sync_single()
499 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_cpu()
506 size_t size, enum dma_data_direction dir) in xen_swiotlb_sync_single_for_device()
517 int nelems, enum dma_data_direction dir, in xen_swiotlb_unmap_sg_attrs()
548 int nelems, enum dma_data_direction dir, in xen_swiotlb_map_sg_attrs()
613 int nelems, enum dma_data_direction dir, in xen_swiotlb_sync_sg()
626 int nelems, enum dma_data_direction dir) in xen_swiotlb_sync_sg_for_cpu()
[all …]
/Linux-v4.19/drivers/scsi/ibmvscsi_tgt/
Dlibsrp.h112 enum dma_data_direction, unsigned int);
119 u64 srp_data_length(struct srp_cmd *cmd, enum dma_data_direction dir);
120 int srp_get_desc_table(struct srp_cmd *srp_cmd, enum dma_data_direction *dir,

12345678910