Home
last modified time | relevance | path

Searched refs:SG_length (Results 1 – 3 of 3) sorted by relevance

/drivers/media/pci/ivtv/
Divtv-udma.c79 for (i = 0, sg = dma->SGlist; i < dma->SG_length; i++, sg = sg_next(sg)) { in ivtv_udma_fill_sg_array()
112 if (dma->SG_length || dma->page_count) { in ivtv_udma_setup()
114 dma->SG_length, dma->page_count); in ivtv_udma_setup()
154 dma->SG_length = pci_map_sg(itv->pdev, dma->SGlist, dma->page_count, PCI_DMA_TODEVICE); in ivtv_udma_setup()
160 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_udma_setup()
178 if (dma->SG_length) { in ivtv_udma_unmap()
180 dma->SG_length = 0; in ivtv_udma_unmap()
203 if (itv->udma.SG_length) { in ivtv_udma_free()
Divtv-yuv.c67 if (dma->SG_length || dma->page_count) { in ivtv_yuv_prep_user_dma()
70 dma->SG_length, dma->page_count); in ivtv_yuv_prep_user_dma()
134 dma->SG_length = pci_map_sg(itv->pdev, dma->SGlist, dma->page_count, PCI_DMA_TODEVICE); in ivtv_yuv_prep_user_dma()
141 dma->SGarray[dma->SG_length].size = cpu_to_le32(720*16); in ivtv_yuv_prep_user_dma()
142 dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); in ivtv_yuv_prep_user_dma()
143 dma->SGarray[dma->SG_length].dst = cpu_to_le32(IVTV_DECODER_OFFSET + yuv_offset[frame]); in ivtv_yuv_prep_user_dma()
144 dma->SG_length++; in ivtv_yuv_prep_user_dma()
148 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_yuv_prep_user_dma()
Divtv-driver.h293 int SG_length; member