Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/media/pci/ivtv/
Divtv-queue.c201 s->sg_processing = kzalloc(SGsize, GFP_KERNEL|__GFP_NOWARN); in ivtv_stream_alloc()
202 if (s->sg_processing == NULL) { in ivtv_stream_alloc()
216 kfree(s->sg_processing); in ivtv_stream_alloc()
217 s->sg_processing = NULL; in ivtv_stream_alloc()
277 kfree(s->sg_processing); in ivtv_stream_free()
280 s->sg_processing = NULL; in ivtv_stream_free()
Divtv-irq.c74 u32 size = s->sg_processing[i].size & 0x3ffff; in ivtv_pio_work_handler()
78 memcpy_fromio(buf->buf, itv->dec_mem + s->sg_processing[i].src - IVTV_DECODER_OFFSET, size); in ivtv_pio_work_handler()
81 memcpy_fromio(buf->buf, itv->enc_mem + s->sg_processing[i].src, size); in ivtv_pio_work_handler()
418 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_enc_start_xfer()
419 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_enc_start_xfer()
420 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_enc_start_xfer()
434 s->sg_dma->src = cpu_to_le32(s->sg_processing[s->sg_processed].src); in ivtv_dma_dec_start_xfer()
435 s->sg_dma->dst = cpu_to_le32(s->sg_processing[s->sg_processed].dst); in ivtv_dma_dec_start_xfer()
436 s->sg_dma->size = cpu_to_le32(s->sg_processing[s->sg_processed].size | 0x80000000); in ivtv_dma_dec_start_xfer()
486 memcpy(s->sg_processing, s->sg_pending, sizeof(struct ivtv_sg_host_element) * s->sg_pending_size); in ivtv_dma_enc_start()
[all …]
Divtv-driver.h370 struct ivtv_sg_host_element *sg_processing; member