Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-udma.c67 for_each_sg(dma->SGlist, sg, dma->SG_length, i) { in ivtv_udma_fill_sg_array()
100 if (dma->SG_length || dma->page_count) { in ivtv_udma_setup()
102 dma->SG_length, dma->page_count); in ivtv_udma_setup()
138 dma->SG_length = pci_map_sg(itv->pdev, dma->SGlist, dma->page_count, PCI_DMA_TODEVICE); in ivtv_udma_setup()
144 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_udma_setup()
161 if (dma->SG_length) { in ivtv_udma_unmap()
163 dma->SG_length = 0; in ivtv_udma_unmap()
183 if (itv->udma.SG_length) { in ivtv_udma_free()
Divtv-yuv.c54 if (dma->SG_length || dma->page_count) { in ivtv_yuv_prep_user_dma()
57 dma->SG_length, dma->page_count); in ivtv_yuv_prep_user_dma()
116 dma->SG_length = pci_map_sg(itv->pdev, dma->SGlist, dma->page_count, PCI_DMA_TODEVICE); in ivtv_yuv_prep_user_dma()
123 dma->SGarray[dma->SG_length].size = cpu_to_le32(720*16); in ivtv_yuv_prep_user_dma()
124 dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); in ivtv_yuv_prep_user_dma()
125 dma->SGarray[dma->SG_length].dst = cpu_to_le32(IVTV_DECODER_OFFSET + yuv_offset[frame]); in ivtv_yuv_prep_user_dma()
126 dma->SG_length++; in ivtv_yuv_prep_user_dma()
130 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_yuv_prep_user_dma()
Divtv-driver.h294 int SG_length; member