Lines Matching refs:dma_handle
81 dma_addr_t *dma_handle, gfp_t gfp,
84 void *vaddr, dma_addr_t dma_handle,
97 void (*unmap_page)(struct device *dev, dma_addr_t dma_handle,
114 void (*unmap_resource)(struct device *dev, dma_addr_t dma_handle,
118 dma_addr_t dma_handle, size_t size,
121 dma_addr_t dma_handle, size_t size,
164 dma_addr_t *dma_handle, void **ret);
170 void *dma_alloc_from_global_coherent(ssize_t size, dma_addr_t *dma_handle);
181 dma_addr_t *dma_handle) in dma_alloc_from_global_coherent() argument
509 dma_addr_t *dma_handle, gfp_t flag, in dma_alloc_attrs() argument
518 if (dma_alloc_from_dev_coherent(dev, size, dma_handle, &cpu_addr)) in dma_alloc_attrs()
529 cpu_addr = ops->alloc(dev, size, dma_handle, flag, attrs); in dma_alloc_attrs()
530 debug_dma_alloc_coherent(dev, size, *dma_handle, cpu_addr); in dma_alloc_attrs()
535 void *cpu_addr, dma_addr_t dma_handle, in dma_free_attrs() argument
556 debug_dma_free_coherent(dev, size, cpu_addr, dma_handle); in dma_free_attrs()
557 ops->free(dev, size, cpu_addr, dma_handle, attrs); in dma_free_attrs()
561 dma_addr_t *dma_handle, gfp_t flag) in dma_alloc_coherent() argument
563 return dma_alloc_attrs(dev, size, dma_handle, flag, 0); in dma_alloc_coherent()
567 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() argument
569 return dma_free_attrs(dev, size, cpu_addr, dma_handle, 0); in dma_free_coherent()
710 dma_addr_t *dma_handle, gfp_t flag) in dma_zalloc_coherent() argument
712 void *ret = dma_alloc_coherent(dev, size, dma_handle, in dma_zalloc_coherent()
772 dma_addr_t *dma_handle, gfp_t gfp);
774 dma_addr_t dma_handle);
777 dma_addr_t *dma_handle, gfp_t gfp) in dmam_alloc_coherent() argument
780 void *vaddr, dma_addr_t dma_handle) { } in dmam_free_coherent() argument
784 dma_addr_t *dma_handle, gfp_t gfp,