Lines Matching refs:device

10 	int  (*dma_supported)(struct device *dev, u64 mask);
11 void *(*alloc_consistent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag);
12 void *(*alloc_noncoherent)(struct device *dev, size_t size, dma_addr_t *iova, gfp_t flag);
13 void (*free_consistent)(struct device *dev, size_t size, void *vaddr, dma_addr_t iova);
14 …dma_addr_t (*map_single)(struct device *dev, void *addr, size_t size, enum dma_data_direction dire…
15 …void (*unmap_single)(struct device *dev, dma_addr_t iova, size_t size, enum dma_data_direction dir…
16 …int (*map_sg)(struct device *dev, struct scatterlist *sg, int nents, enum dma_data_direction dire…
17 …void (*unmap_sg)(struct device *dev, struct scatterlist *sg, int nhwents, enum dma_data_direction …
18 …void (*dma_sync_single_for_cpu)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t …
19 …void (*dma_sync_single_for_device)(struct device *dev, dma_addr_t iova, unsigned long offset, size…
20 …void (*dma_sync_sg_for_cpu)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_data_…
21 …void (*dma_sync_sg_for_device)(struct device *dev, struct scatterlist *sg, int nelems, enum dma_da…
53 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent()
60 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent()
67 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent()
74 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent()
81 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single()
88 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single()
95 dma_map_sg(struct device *dev, struct scatterlist *sg, int nents, in dma_map_sg()
102 dma_unmap_sg(struct device *dev, struct scatterlist *sg, int nhwentries, in dma_unmap_sg()
109 dma_map_page(struct device *dev, struct page *page, unsigned long offset, in dma_map_page()
116 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page()
124 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu()
132 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device()
140 dma_sync_single_range_for_cpu(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_cpu()
149 dma_sync_single_range_for_device(struct device *dev, dma_addr_t dma_handle, in dma_sync_single_range_for_device()
158 dma_sync_sg_for_cpu(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_cpu()
166 dma_sync_sg_for_device(struct device *dev, struct scatterlist *sg, int nelems, in dma_sync_sg_for_device()
174 dma_supported(struct device *dev, u64 mask) in dma_supported()
180 dma_set_mask(struct device *dev, u64 mask) in dma_set_mask()
191 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync()
199 parisc_walk_tree(struct device *dev) in parisc_walk_tree()
201 struct device *otherdev; in parisc_walk_tree()
245 static inline int dma_mmap_coherent(struct device *dev, in dma_mmap_coherent()
252 static inline int dma_get_sgtable(struct device *dev, struct sg_table *sgt, in dma_get_sgtable()