Home
last modified time | relevance | path

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

/linux/drivers/media/pci/ivtv/
H A Divtv-fileops.c37 struct ivtv_stream *s_vbi; in ivtv_claim_stream() local
77 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream()
79 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream()
85 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream()
95 struct ivtv_stream *s_vbi; in ivtv_release_stream() local
118 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream()
120 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream()
125 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream()
129 if (s_vbi->fh) { in ivtv_release_stream()
134 if (s_vbi->type == IVTV_DEC_STREAM_TYPE_VBI) in ivtv_release_stream()
[all …]
H A Divtv-irq.c450 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()
[all …]
/linux/drivers/media/pci/cx18/
H A Dcx18-fileops.c173 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_get_mdl() local
185 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_get_mdl()
186 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_get_mdl()
187 while ((mdl = cx18_dequeue(s_vbi, in cx18_get_mdl()
188 &s_vbi->q_full))) { in cx18_get_mdl()
191 s_vbi->type); in cx18_get_mdl()
192 cx18_stream_put_mdl_fw(s_vbi, mdl); in cx18_get_mdl()
486 struct cx18_stream *s_vbi; in cx18_start_capture() local
507 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_start_capture()
524 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) && in cx18_start_capture()
[all …]