Lines Matching refs:handle
41 dma_addr_t *handle, gfp_t gfp) in __dma_alloc() argument
72 *handle = page_to_bus(page); in __dma_alloc()
88 struct page *page, dma_addr_t handle) in __dma_free() argument
97 dma_addr_t *handle, gfp_t gfp) in dma_alloc_coherent() argument
102 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_coherent()
111 void *cpu_addr, dma_addr_t handle) in dma_free_coherent() argument
117 cpu_addr, (unsigned long)handle, (unsigned)size); in dma_free_coherent()
120 __dma_free(dev, size, page, handle); in dma_free_coherent()
125 dma_addr_t *handle, gfp_t gfp) in dma_alloc_writecombine() argument
130 page = __dma_alloc(dev, size, handle, gfp); in dma_alloc_writecombine()
135 *handle = phys; in dma_alloc_writecombine()
143 void *cpu_addr, dma_addr_t handle) in dma_free_writecombine() argument
149 page = phys_to_page(handle); in dma_free_writecombine()
150 __dma_free(dev, size, page, handle); in dma_free_writecombine()