Lines Matching refs:udma
82 if (itv->udma.SG_handle == 0) { in ivtv_udma_alloc()
84 itv->udma.SG_handle = dma_map_single(&itv->pdev->dev, in ivtv_udma_alloc()
85 itv->udma.SGarray, in ivtv_udma_alloc()
86 sizeof(itv->udma.SGarray), in ivtv_udma_alloc()
96 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_setup()
163 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_unmap()
189 if (itv->udma.SG_handle) { in ivtv_udma_free()
190 dma_unmap_single(&itv->pdev->dev, itv->udma.SG_handle, in ivtv_udma_free()
191 sizeof(itv->udma.SGarray), DMA_TO_DEVICE); in ivtv_udma_free()
195 if (itv->udma.SG_length) { in ivtv_udma_free()
196 dma_unmap_sg(&itv->pdev->dev, itv->udma.SGlist, in ivtv_udma_free()
197 itv->udma.page_count, DMA_TO_DEVICE); in ivtv_udma_free()
201 if (itv->udma.bouncemap[i]) in ivtv_udma_free()
202 __free_page(itv->udma.bouncemap[i]); in ivtv_udma_free()
209 write_reg(itv->udma.SG_handle, IVTV_REG_DECDMAADDR); in ivtv_udma_start()