Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/include/linux/
Ddma-mapping.h104 size_t offset, size_t size, enum dma_data_direction dir,
107 enum dma_data_direction dir, unsigned long attrs);
109 enum dma_data_direction dir, unsigned long attrs);
111 int nents, enum dma_data_direction dir,
114 size_t size, enum dma_data_direction dir, unsigned long attrs);
116 enum dma_data_direction dir, unsigned long attrs);
118 enum dma_data_direction dir);
120 size_t size, enum dma_data_direction dir);
122 int nelems, enum dma_data_direction dir);
124 int nelems, enum dma_data_direction dir);
[all …]
Ddma-map-ops.h21 dma_addr_t *dma_handle, enum dma_data_direction dir,
24 dma_addr_t dma_handle, enum dma_data_direction dir);
26 dma_addr_t *dma_handle, enum dma_data_direction dir,
29 dma_addr_t dma_handle, enum dma_data_direction dir);
39 enum dma_data_direction dir, unsigned long attrs);
41 size_t size, enum dma_data_direction dir,
48 enum dma_data_direction dir, unsigned long attrs);
50 enum dma_data_direction dir, unsigned long attrs);
52 size_t size, enum dma_data_direction dir,
55 size_t size, enum dma_data_direction dir,
[all …]
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-buf.h155 enum dma_data_direction);
166 enum dma_data_direction);
210 int (*begin_cpu_access)(struct dma_buf *, enum dma_data_direction);
229 int (*end_cpu_access)(struct dma_buf *, enum dma_data_direction);
410 enum dma_data_direction dir;
510 enum dma_data_direction);
512 enum dma_data_direction);
515 enum dma_data_direction dir);
517 enum dma_data_direction dir);
Dpci-p2pdma.h34 int nents, enum dma_data_direction dir, unsigned long attrs);
36 int nents, enum dma_data_direction dir, unsigned long attrs);
87 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_map_sg_attrs()
93 struct scatterlist *sg, int nents, enum dma_data_direction dir, in pci_p2pdma_unmap_sg_attrs()
123 int nents, enum dma_data_direction dir) in pci_p2pdma_map_sg()
129 struct scatterlist *sg, int nents, enum dma_data_direction dir) in pci_p2pdma_unmap_sg()
Dswiotlb.h52 enum dma_data_direction dir, unsigned long attrs);
58 enum dma_data_direction dir,
63 size_t size, enum dma_data_direction dir,
67 size_t size, enum dma_data_direction dir, unsigned long attrs);
Ddma-direction.h5 enum dma_data_direction { enum
12 static inline int valid_dma_direction(enum dma_data_direction dir) in valid_dma_direction()
/kernel/linux/linux-5.10/kernel/dma/
Ddirect.h21 enum dma_data_direction dir, unsigned long attrs);
27 int nents, enum dma_data_direction dir);
30 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_device()
39 int nents, enum dma_data_direction dir, unsigned long attrs);
41 struct scatterlist *sgl, int nents, enum dma_data_direction dir);
44 struct scatterlist *sgl, int nents, enum dma_data_direction dir, in dma_direct_unmap_sg()
49 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in dma_direct_sync_sg_for_cpu()
55 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_device()
67 dma_addr_t addr, size_t size, enum dma_data_direction dir) in dma_direct_sync_single_for_cpu()
85 enum dma_data_direction dir, unsigned long attrs) in dma_direct_map_page()
[all …]
Dmapping.c141 size_t offset, size_t size, enum dma_data_direction dir, in dma_map_page_attrs()
163 enum dma_data_direction dir, unsigned long attrs) in dma_unmap_page_attrs()
181 enum dma_data_direction dir, unsigned long attrs) in dma_map_sg_attrs()
203 int nents, enum dma_data_direction dir, in dma_unmap_sg_attrs()
218 size_t size, enum dma_data_direction dir, unsigned long attrs) in dma_map_resource()
243 enum dma_data_direction dir, unsigned long attrs) in dma_unmap_resource()
255 enum dma_data_direction dir) in dma_sync_single_for_cpu()
269 size_t size, enum dma_data_direction dir) in dma_sync_single_for_device()
283 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_cpu()
297 int nelems, enum dma_data_direction dir) in dma_sync_sg_for_device()
[all …]
/kernel/linux/linux-5.10/arch/arm/mm/
Ddma-mapping-nommu.c79 enum dma_data_direction dir) in __dma_page_cpu_to_dev()
90 enum dma_data_direction dir) in __dma_page_dev_to_cpu()
100 enum dma_data_direction dir, in arm_nommu_dma_map_page()
111 size_t size, enum dma_data_direction dir, in arm_nommu_dma_unmap_page()
119 int nents, enum dma_data_direction dir, in arm_nommu_dma_map_sg()
135 int nents, enum dma_data_direction dir, in arm_nommu_dma_unmap_sg()
146 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_nommu_dma_sync_single_for_device()
152 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_nommu_dma_sync_single_for_cpu()
158 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_device()
168 int nents, enum dma_data_direction dir) in arm_nommu_dma_sync_sg_for_cpu()
Ddma-mapping.c107 size_t, enum dma_data_direction);
109 size_t, enum dma_data_direction);
126 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_dma_map_page()
135 unsigned long offset, size_t size, enum dma_data_direction dir, in arm_coherent_dma_map_page()
156 size_t size, enum dma_data_direction dir, unsigned long attrs) in arm_dma_unmap_page()
164 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_cpu()
172 dma_addr_t handle, size_t size, enum dma_data_direction dir) in arm_dma_sync_single_for_device()
860 size_t size, enum dma_data_direction dir, in dma_cache_maint_page()
913 size_t size, enum dma_data_direction dir) in __dma_page_cpu_to_dev()
929 size_t size, enum dma_data_direction dir) in __dma_page_dev_to_cpu()
[all …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/arch/powerpc/include/asm/
Diommu.h43 enum dma_data_direction direction,
54 enum dma_data_direction *direction,
212 enum dma_data_direction *direction);
216 enum dma_data_direction *direction);
255 enum dma_data_direction direction,
260 enum dma_data_direction direction,
271 enum dma_data_direction direction,
274 size_t size, enum dma_data_direction direction,
316 extern enum dma_data_direction iommu_tce_direction(unsigned long tce);
317 extern unsigned long iommu_direction_to_tce_perm(enum dma_data_direction dir);
/kernel/linux/linux-5.10/arch/mips/mm/
Ddma-noncoherent.c58 enum dma_data_direction dir) in dma_sync_virt_for_device()
76 enum dma_data_direction dir) in dma_sync_virt_for_cpu()
96 enum dma_data_direction dir, bool for_device) in dma_sync_phys()
125 enum dma_data_direction dir) in arch_sync_dma_for_device()
132 enum dma_data_direction dir) in arch_sync_dma_for_cpu()
/kernel/linux/linux-5.10/arch/arm/include/asm/
Ddma-mapping.h116 enum dma_data_direction, unsigned long attrs);
118 enum dma_data_direction, unsigned long attrs);
120 enum dma_data_direction);
122 enum dma_data_direction);
/kernel/linux/linux-5.10/arch/microblaze/kernel/
Ddma.c18 enum dma_data_direction direction) in __dma_sync()
34 enum dma_data_direction dir) in arch_sync_dma_for_device()
40 enum dma_data_direction dir) in arch_sync_dma_for_cpu()
/kernel/linux/linux-5.10/include/rdma/
Drw.h47 u64 remote_addr, u32 rkey, enum dma_data_direction dir);
50 enum dma_data_direction dir);
56 enum dma_data_direction dir);
60 enum dma_data_direction dir);
/kernel/linux/linux-5.10/net/smc/
Dsmc_ib.h66 enum dma_data_direction data_direction);
69 enum dma_data_direction data_direction);
84 enum dma_data_direction data_direction);
87 enum dma_data_direction data_direction);
/kernel/linux/linux-5.10/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,
/kernel/linux/linux-5.10/include/drm/
Ddrm_prime.h58 enum dma_data_direction;
81 enum dma_data_direction dir);
84 enum dma_data_direction dir);
/kernel/linux/linux-5.10/drivers/gpu/drm/omapdrm/
Domap_gem_dmabuf.c20 enum dma_data_direction dir) in omap_gem_map_dma_buf()
57 struct sg_table *sg, enum dma_data_direction dir) in omap_gem_unmap_dma_buf()
66 enum dma_data_direction dir) in omap_gem_dmabuf_begin_cpu_access()
81 enum dma_data_direction dir) in omap_gem_dmabuf_end_cpu_access()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Ddma-iommu.c44 enum dma_data_direction direction, in dma_iommu_map_page()
53 size_t size, enum dma_data_direction direction, in dma_iommu_unmap_page()
62 int nelems, enum dma_data_direction direction, in dma_iommu_map_sg()
70 int nelems, enum dma_data_direction direction, in dma_iommu_unmap_sg()
/kernel/linux/linux-5.10/drivers/media/common/videobuf2/
Dvideobuf2-vmalloc.c28 enum dma_data_direction dma_dir;
38 unsigned long size, enum dma_data_direction dma_dir, in vb2_vmalloc_alloc()
76 enum dma_data_direction dma_dir) in vb2_vmalloc_get_userptr()
207 enum dma_data_direction dma_dir;
269 struct dma_buf_attachment *db_attach, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_map()
306 struct sg_table *sgt, enum dma_data_direction dma_dir) in vb2_vmalloc_dmabuf_ops_unmap()
398 unsigned long size, enum dma_data_direction dma_dir) in vb2_vmalloc_attach_dmabuf()
/kernel/linux/linux-5.10/drivers/net/ipa/
Dgsi_trans.h62 enum dma_data_direction direction;
142 enum dma_data_direction direction);
160 dma_addr_t addr, enum dma_data_direction direction,
/kernel/linux/linux-5.10/arch/mips/jazz/
Djazzdma.c525 unsigned long offset, size_t size, enum dma_data_direction dir, in jazz_dma_map_page()
536 size_t size, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_unmap_page()
544 int nents, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_map_sg()
563 int nents, enum dma_data_direction dir, unsigned long attrs) in jazz_dma_unmap_sg()
576 dma_addr_t addr, size_t size, enum dma_data_direction dir) in jazz_dma_sync_single_for_device()
582 dma_addr_t addr, size_t size, enum dma_data_direction dir) in jazz_dma_sync_single_for_cpu()
588 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in jazz_dma_sync_sg_for_device()
598 struct scatterlist *sgl, int nents, enum dma_data_direction dir) in jazz_dma_sync_sg_for_cpu()

12345678910>>...12