Lines Matching refs:s_vbi
450 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start() local
470 if (s->type == IVTV_ENC_STREAM_TYPE_MPG && s_vbi->sg_pending_size && in ivtv_dma_enc_start()
471 s->sg_pending_size + s_vbi->sg_pending_size <= s->buffers) { in ivtv_dma_enc_start()
472 ivtv_queue_move(s_vbi, &s_vbi->q_predma, NULL, &s_vbi->q_dma, s_vbi->q_predma.bytesused); in ivtv_dma_enc_start()
473 if (ivtv_use_dma(s_vbi)) in ivtv_dma_enc_start()
474 s_vbi->sg_pending[s_vbi->sg_pending_size - 1].size += 256; in ivtv_dma_enc_start()
475 for (i = 0; i < s_vbi->sg_pending_size; i++) { in ivtv_dma_enc_start()
476 s->sg_pending[s->sg_pending_size++] = s_vbi->sg_pending[i]; in ivtv_dma_enc_start()
478 s_vbi->dma_offset = s_vbi->pending_offset; in ivtv_dma_enc_start()
479 s_vbi->sg_pending_size = 0; in ivtv_dma_enc_start()
480 s_vbi->dma_xfer_cnt++; in ivtv_dma_enc_start()
482 IVTV_DEBUG_HI_DMA("include DMA for %s\n", s_vbi->name); in ivtv_dma_enc_start()