Home
last modified time | relevance | path

Searched refs:dma_handle (Results 1 – 6 of 6) sorted by relevance

/kernel/dma/
Dmapping.c27 dma_addr_t dma_handle; member
35 dma_free_attrs(dev, this->size, this->vaddr, this->dma_handle, in dmam_release()
45 this->dma_handle != match->dma_handle); in dmam_match()
61 dma_addr_t dma_handle) in dmam_free_coherent() argument
63 struct dma_devres match_data = { size, vaddr, dma_handle }; in dmam_free_coherent()
65 dma_free_coherent(dev, size, vaddr, dma_handle); in dmam_free_coherent()
84 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() argument
94 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
101 dr->dma_handle = *dma_handle; in dmam_alloc_attrs()
491 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() argument
[all …]
Dops_helpers.c62 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_common_alloc_pages() argument
73 *dma_handle = ops->map_page(dev, page, 0, size, dir, in dma_common_alloc_pages()
75 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
85 dma_addr_t dma_handle, enum dma_data_direction dir) in dma_common_free_pages() argument
90 ops->unmap_page(dev, dma_handle, size, dir, in dma_common_free_pages()
Ddirect.c161 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_from_pool() argument
172 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_from_pool()
177 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_no_mapping() argument
190 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_no_mapping()
195 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dma_direct_alloc() argument
206 return dma_direct_alloc_no_mapping(dev, size, dma_handle, gfp); in dma_direct_alloc()
213 return arch_dma_alloc(dev, size, dma_handle, gfp, attrs); in dma_direct_alloc()
217 return dma_alloc_from_global_coherent(dev, size, dma_handle); in dma_direct_alloc()
232 return dma_direct_alloc_from_pool(dev, size, dma_handle, gfp); in dma_direct_alloc()
279 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc()
[all …]
Ddebug.h43 dma_addr_t dma_handle, size_t size,
47 dma_addr_t dma_handle,
107 dma_addr_t dma_handle, in debug_dma_sync_single_for_cpu() argument
113 dma_addr_t dma_handle, in debug_dma_sync_single_for_device() argument
Dcoherent.c144 ssize_t size, dma_addr_t *dma_handle) in __dma_alloc_from_coherent() argument
163 *dma_handle = dma_get_device_base(dev, mem) + in __dma_alloc_from_coherent()
189 dma_addr_t *dma_handle, void **ret) in dma_alloc_from_dev_coherent() argument
196 *ret = __dma_alloc_from_coherent(dev, mem, size, dma_handle); in dma_alloc_from_dev_coherent()
284 dma_addr_t *dma_handle) in dma_alloc_from_global_coherent() argument
290 dma_handle); in dma_alloc_from_global_coherent()
Ddebug.c1486 void debug_dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, in debug_dma_sync_single_for_cpu() argument
1496 ref.dev_addr = dma_handle; in debug_dma_sync_single_for_cpu()
1505 dma_addr_t dma_handle, size_t size, in debug_dma_sync_single_for_device() argument
1515 ref.dev_addr = dma_handle; in debug_dma_sync_single_for_device()