Lines Matching refs:dma_handle

120 void *dma_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
123 dma_addr_t dma_handle, unsigned long attrs);
124 void *dmam_alloc_attrs(struct device *dev, size_t size, dma_addr_t *dma_handle,
127 dma_addr_t dma_handle);
194 dma_addr_t *dma_handle, gfp_t flag, unsigned long attrs) in dma_alloc_attrs() argument
199 dma_addr_t dma_handle, unsigned long attrs) in dma_free_attrs() argument
203 dma_addr_t *dma_handle, gfp_t gfp, unsigned long attrs) in dmam_alloc_attrs() argument
208 void *vaddr, dma_addr_t dma_handle) in dmam_free_coherent() argument
361 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp);
363 dma_addr_t dma_handle, enum dma_data_direction dir);
368 dma_addr_t *dma_handle, enum dma_data_direction dir, gfp_t gfp) in dma_alloc_noncoherent() argument
370 struct page *page = dma_alloc_pages(dev, size, dma_handle, dir, gfp); in dma_alloc_noncoherent()
375 void *vaddr, dma_addr_t dma_handle, enum dma_data_direction dir) in dma_free_noncoherent() argument
377 dma_free_pages(dev, size, virt_to_page(vaddr), dma_handle, dir); in dma_free_noncoherent()
476 dma_addr_t *dma_handle, gfp_t gfp) in dma_alloc_coherent() argument
478 return dma_alloc_attrs(dev, size, dma_handle, gfp, in dma_alloc_coherent()
483 void *cpu_addr, dma_addr_t dma_handle) in dma_free_coherent() argument
485 return dma_free_attrs(dev, size, cpu_addr, dma_handle, 0); in dma_free_coherent()
593 dma_addr_t *dma_handle, gfp_t gfp) in dmam_alloc_coherent() argument
595 return dmam_alloc_attrs(dev, size, dma_handle, gfp, in dmam_alloc_coherent()