Lines Matching refs:size
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…
18 …or_cpu)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_dire…
19 …device)(struct device *dev, dma_addr_t iova, unsigned long offset, size_t size, enum dma_data_dire…
55 dma_alloc_coherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_coherent() argument
58 return hppa_dma_ops->alloc_consistent(dev, size, dma_handle, flag); in dma_alloc_coherent()
62 dma_alloc_noncoherent(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_noncoherent() argument
65 return hppa_dma_ops->alloc_noncoherent(dev, size, dma_handle, flag); in dma_alloc_noncoherent()
69 dma_free_coherent(struct device *dev, size_t size, in dma_free_coherent() argument
72 hppa_dma_ops->free_consistent(dev, size, vaddr, dma_handle); in dma_free_coherent()
76 dma_free_noncoherent(struct device *dev, size_t size, in dma_free_noncoherent() argument
79 hppa_dma_ops->free_consistent(dev, size, vaddr, dma_handle); in dma_free_noncoherent()
83 dma_map_single(struct device *dev, void *ptr, size_t size, in dma_map_single() argument
86 return hppa_dma_ops->map_single(dev, ptr, size, direction); in dma_map_single()
90 dma_unmap_single(struct device *dev, dma_addr_t dma_addr, size_t size, in dma_unmap_single() argument
93 hppa_dma_ops->unmap_single(dev, dma_addr, size, direction); in dma_unmap_single()
112 size_t size, enum dma_data_direction direction) in dma_map_page() argument
114 return dma_map_single(dev, (page_address(page) + (offset)), size, direction); in dma_map_page()
118 dma_unmap_page(struct device *dev, dma_addr_t dma_address, size_t size, in dma_unmap_page() argument
121 dma_unmap_single(dev, dma_address, size, direction); in dma_unmap_page()
126 dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_cpu() argument
130 hppa_dma_ops->dma_sync_single_for_cpu(dev, dma_handle, 0, size, direction); in dma_sync_single_for_cpu()
134 dma_sync_single_for_device(struct device *dev, dma_addr_t dma_handle, size_t size, in dma_sync_single_for_device() argument
138 hppa_dma_ops->dma_sync_single_for_device(dev, dma_handle, 0, size, direction); in dma_sync_single_for_device()
143 unsigned long offset, size_t size, in dma_sync_single_range_for_cpu() argument
147 hppa_dma_ops->dma_sync_single_for_cpu(dev, dma_handle, offset, size, direction); in dma_sync_single_range_for_cpu()
152 unsigned long offset, size_t size, in dma_sync_single_range_for_device() argument
156 hppa_dma_ops->dma_sync_single_for_device(dev, dma_handle, offset, size, direction); in dma_sync_single_range_for_device()
193 dma_cache_sync(struct device *dev, void *vaddr, size_t size, in dma_cache_sync() argument
197 flush_kernel_dcache_range((unsigned long)vaddr, size); in dma_cache_sync()
229 struct resource *res, unsigned long size,
234 #define ccio_allocate_resource(dev, res, size, min, max, align) \ argument
235 allocate_resource(&iomem_resource, res, size, min, max, \
250 dma_addr_t dma_addr, size_t size) in dma_mmap_coherent() argument
257 size_t size) in dma_get_sgtable() argument