Lines Matching refs:dma_handle
79 dma_addr_t *dma_handle, gfp_t gfp, in xen_grant_dma_alloc() argument
111 *dma_handle = grant_to_dma(grant); in xen_grant_dma_alloc()
117 dma_addr_t dma_handle, unsigned long attrs) in xen_grant_dma_free() argument
130 grant = dma_to_grant(dma_handle); in xen_grant_dma_free()
146 dma_addr_t *dma_handle, in xen_grant_dma_alloc_pages() argument
152 vaddr = xen_grant_dma_alloc(dev, size, dma_handle, gfp, 0); in xen_grant_dma_alloc_pages()
160 struct page *vaddr, dma_addr_t dma_handle, in xen_grant_dma_free_pages() argument
163 xen_grant_dma_free(dev, size, page_to_virt(vaddr), dma_handle, 0); in xen_grant_dma_free_pages()
176 dma_addr_t dma_handle; in xen_grant_dma_map_page() local
197 dma_handle = grant_to_dma(grant) + dma_offset; in xen_grant_dma_map_page()
199 return dma_handle; in xen_grant_dma_map_page()
202 static void xen_grant_dma_unmap_page(struct device *dev, dma_addr_t dma_handle, in xen_grant_dma_unmap_page() argument
207 unsigned long dma_offset = xen_offset_in_page(dma_handle); in xen_grant_dma_unmap_page()
221 grant = dma_to_grant(dma_handle); in xen_grant_dma_unmap_page()