Lines Matching refs:dma_handle
24 scif_alloc_coherent(dma_addr_t *dma_handle, in scif_alloc_coherent() argument
33 *dma_handle = virt_to_phys(va); in scif_alloc_coherent()
36 size, dma_handle, gfp); in scif_alloc_coherent()
38 *dma_handle = *dma_handle + scifdev->base_addr; in scif_alloc_coherent()
58 scif_map_single(dma_addr_t *dma_handle, in scif_map_single() argument
64 *dma_handle = virt_to_phys((local)); in scif_map_single()
66 *dma_handle = dma_map_single(&scifdev->sdev->dev, in scif_map_single()
68 if (dma_mapping_error(&scifdev->sdev->dev, *dma_handle)) in scif_map_single()
71 *dma_handle = *dma_handle + scifdev->base_addr; in scif_map_single()
74 *dma_handle = 0; in scif_map_single()
115 scif_map_page(dma_addr_t *dma_handle, struct page *page, in scif_map_page() argument
121 *dma_handle = page_to_phys(page); in scif_map_page()
124 *dma_handle = dma_map_page(&sdev->dev, in scif_map_page()
127 if (dma_mapping_error(&sdev->dev, *dma_handle)) in scif_map_page()
130 *dma_handle = *dma_handle + scifdev->base_addr; in scif_map_page()
133 *dma_handle = 0; in scif_map_page()