Searched refs:s_vbi (Results 1 – 3 of 3) sorted by relevance
/linux-6.1.9/drivers/media/pci/ivtv/ |
D | ivtv-fileops.c | 36 struct ivtv_stream *s_vbi; in ivtv_claim_stream() local 76 s_vbi = &itv->streams[vbi_type]; in ivtv_claim_stream() 78 if (!test_and_set_bit(IVTV_F_S_CLAIMED, &s_vbi->s_flags)) { in ivtv_claim_stream() 84 set_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags); in ivtv_claim_stream() 94 struct ivtv_stream *s_vbi; in ivtv_release_stream() local 117 s_vbi = &itv->streams[IVTV_DEC_STREAM_TYPE_VBI]; in ivtv_release_stream() 119 s_vbi = &itv->streams[IVTV_ENC_STREAM_TYPE_VBI]; in ivtv_release_stream() 124 if (!test_and_clear_bit(IVTV_F_S_INTERNAL_USE, &s_vbi->s_flags)) { in ivtv_release_stream() 128 if (s_vbi->fh) { in ivtv_release_stream() 133 if (s_vbi->type == IVTV_DEC_STREAM_TYPE_VBI) in ivtv_release_stream() [all …]
|
D | ivtv-irq.c | 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() [all …]
|
/linux-6.1.9/drivers/media/pci/cx18/ |
D | cx18-fileops.c | 173 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 …]
|