Home
last modified time | relevance | path

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

/kernel/dma/
Dmapping.c28 dma_addr_t dma_handle; member
36 dma_free_attrs(dev, this->size, this->vaddr, this->dma_handle, in dmam_release()
46 this->dma_handle != match->dma_handle); in dmam_match()
62 dma_addr_t dma_handle) in dmam_free_coherent() argument
64 struct dma_devres match_data = { size, vaddr, dma_handle }; in dmam_free_coherent()
66 dma_free_coherent(dev, size, vaddr, dma_handle); in dmam_free_coherent()
85 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dmam_alloc_attrs() argument
95 vaddr = dma_alloc_attrs(dev, size, dma_handle, gfp, attrs); in dmam_alloc_attrs()
102 dr->dma_handle = *dma_handle; in dmam_alloc_attrs()
496 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle, in dma_alloc_attrs() argument
[all …]
Ddirect.c175 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_from_pool() argument
189 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_from_pool()
194 dma_addr_t *dma_handle, gfp_t gfp) in dma_direct_alloc_no_mapping() argument
207 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_no_mapping()
212 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dma_direct_alloc() argument
224 return dma_direct_alloc_no_mapping(dev, size, dma_handle, gfp); in dma_direct_alloc()
235 return arch_dma_alloc(dev, size, dma_handle, gfp, in dma_direct_alloc()
244 dma_handle); in dma_direct_alloc()
255 dma_handle, gfp); in dma_direct_alloc()
268 return dma_direct_alloc_from_pool(dev, size, dma_handle, gfp); in dma_direct_alloc()
[all …]
Dops_helpers.c64 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_common_alloc_pages() argument
75 *dma_handle = ops->map_page(dev, page, 0, size, dir, in dma_common_alloc_pages()
77 if (*dma_handle == DMA_MAPPING_ERROR) { in dma_common_alloc_pages()
87 dma_addr_t dma_handle, enum dma_data_direction dir) in dma_common_free_pages() argument
92 ops->unmap_page(dev, dma_handle, size, dir, in dma_common_free_pages()
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.c143 ssize_t size, dma_addr_t *dma_handle) in __dma_alloc_from_coherent() argument
162 *dma_handle = dma_get_device_base(dev, mem) + in __dma_alloc_from_coherent()
188 dma_addr_t *dma_handle, void **ret) in dma_alloc_from_dev_coherent() argument
195 *ret = __dma_alloc_from_coherent(dev, mem, size, dma_handle); in dma_alloc_from_dev_coherent()
283 dma_addr_t *dma_handle) in dma_alloc_from_global_coherent() argument
289 dma_handle); in dma_alloc_from_global_coherent()
Ddebug.c1485 void debug_dma_sync_single_for_cpu(struct device *dev, dma_addr_t dma_handle, in debug_dma_sync_single_for_cpu() argument
1495 ref.dev_addr = dma_handle; in debug_dma_sync_single_for_cpu()
1504 dma_addr_t dma_handle, size_t size, in debug_dma_sync_single_for_device() argument
1514 ref.dev_addr = dma_handle; in debug_dma_sync_single_for_device()