Lines Matching refs:udma
82 if (itv->udma.SG_handle == 0) { in ivtv_udma_alloc()
84 itv->udma.SG_handle = pci_map_single(itv->pdev, itv->udma.SGarray, in ivtv_udma_alloc()
85 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); in ivtv_udma_alloc()
94 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_setup()
152 struct ivtv_user_dma *dma = &itv->udma; in ivtv_udma_unmap()
177 if (itv->udma.SG_handle) { in ivtv_udma_free()
178 pci_unmap_single(itv->pdev, itv->udma.SG_handle, in ivtv_udma_free()
179 sizeof(itv->udma.SGarray), PCI_DMA_TODEVICE); in ivtv_udma_free()
183 if (itv->udma.SG_length) { in ivtv_udma_free()
184 pci_unmap_sg(itv->pdev, itv->udma.SGlist, itv->udma.page_count, PCI_DMA_TODEVICE); in ivtv_udma_free()
188 if (itv->udma.bouncemap[i]) in ivtv_udma_free()
189 __free_page(itv->udma.bouncemap[i]); in ivtv_udma_free()
196 write_reg(itv->udma.SG_handle, IVTV_REG_DECDMAADDR); in ivtv_udma_start()