Lines Matching refs:s_vbi
188 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()
540 !test_and_set_bit(CX18_F_S_STREAMING, &s_vbi->s_flags)) { in cx18_start_capture()
541 if (cx18_start_v4l2_encode_stream(s_vbi)) { in cx18_start_capture()
543 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags); in cx18_start_capture()
575 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) && in cx18_start_capture()
576 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_start_capture()
577 cx18_stop_v4l2_encode_stream(s_vbi, 0); in cx18_start_capture()
578 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags); in cx18_start_capture()
717 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_stop_capture() local
729 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) && in cx18_stop_capture()
730 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_stop_capture()
733 cx18_stop_v4l2_encode_stream(s_vbi, 0); in cx18_stop_capture()