Home
last modified time | relevance | path

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

/drivers/media/pci/ivtv/
Divtv-fileops.c48 struct ivtv_stream *s_vbi; in ivtv_claim_stream() local
88 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
90 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream()
96 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream()
106 struct ivtv_stream *s_vbi; in ivtv_release_stream() local
129 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
131 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
136 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream()
140 if (s_vbi->fh) { in ivtv_release_stream()
145 if (s_vbi->type == IVTV_DEC_STREAM_TYPE_VBI) in ivtv_release_stream()
[all …]
Divtv-irq.c462 struct ivtv_stream *s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_dma_enc_start() local
482 if (s->type == IVTV_ENC_STREAM_TYPE_MPG && s_vbi->sg_pending_size && in ivtv_dma_enc_start()
483 s->sg_pending_size + s_vbi->sg_pending_size <= s->buffers) { in ivtv_dma_enc_start()
484 ivtv_queue_move(s_vbi, &s_vbi->q_predma, NULL, &s_vbi->q_dma, s_vbi->q_predma.bytesused); in ivtv_dma_enc_start()
485 if (ivtv_use_dma(s_vbi)) in ivtv_dma_enc_start()
486 s_vbi->sg_pending[s_vbi->sg_pending_size - 1].size += 256; in ivtv_dma_enc_start()
487 for (i = 0; i < s_vbi->sg_pending_size; i++) { in ivtv_dma_enc_start()
488 s->sg_pending[s->sg_pending_size++] = s_vbi->sg_pending[i]; in ivtv_dma_enc_start()
490 s_vbi->dma_offset = s_vbi->pending_offset; in ivtv_dma_enc_start()
491 s_vbi->sg_pending_size = 0; in ivtv_dma_enc_start()
[all …]
/drivers/media/pci/cx18/
Dcx18-fileops.c188 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl() local
200 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl()
201 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_get_mdl()
202 while ((mdl = cx18_dequeue(s_vbi, in cx18_get_mdl()
203 &s_vbi->q_full))) { in cx18_get_mdl()
206 s_vbi->type); in cx18_get_mdl()
207 cx18_stream_put_mdl_fw(s_vbi, mdl); in cx18_get_mdl()
501 struct cx18_stream *s_vbi; in cx18_start_capture() local
522 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
539 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_start_capture()
[all …]