Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/pci/ivtv/
H A Divtv-udma.c67 for_each_sg(dma->SGlist, sg, dma->SG_length, i) { in ivtv_udma_fill_sg_array()
102 if (dma->SG_length || dma->page_count) { in ivtv_udma_setup()
104 dma->SG_length, dma->page_count); in ivtv_udma_setup()
142 dma->SG_length = dma_map_sg(&itv->pdev->dev, dma->SGlist, in ivtv_udma_setup()
144 if (!dma->SG_length) { in ivtv_udma_setup()
155 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_udma_setup()
172 if (dma->SG_length) { in ivtv_udma_unmap()
175 dma->SG_length = 0; in ivtv_udma_unmap()
195 if (itv->udma.SG_length) { in ivtv_udma_free()
H A 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()
115 dma->SG_length = dma_map_sg(&itv->pdev->dev, dma->SGlist, in ivtv_yuv_prep_user_dma()
117 if (!dma->SG_length) { in ivtv_yuv_prep_user_dma()
129 dma->SGarray[dma->SG_length].size = cpu_to_le32(720*16); in ivtv_yuv_prep_user_dma()
130 dma->SGarray[dma->SG_length].src = cpu_to_le32(yi->blanking_dmaptr); in ivtv_yuv_prep_user_dma()
131 dma->SGarray[dma->SG_length].dst = cpu_to_le32(IVTV_DECODER_OFFSET + yuv_offset[frame]); in ivtv_yuv_prep_user_dma()
132 dma->SG_length++; in ivtv_yuv_prep_user_dma()
136 dma->SGarray[dma->SG_length - 1].size |= cpu_to_le32(0x80000000); in ivtv_yuv_prep_user_dma()
H A Divtv-driver.h292 int SG_length; member