Lines Matching refs:s_vbi
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()
525 !test_and_set_bit(CX18_F_S_STREAMING, &s_vbi->s_flags)) { in cx18_start_capture()
526 if (cx18_start_v4l2_encode_stream(s_vbi)) { in cx18_start_capture()
528 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags); in cx18_start_capture()
560 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) && in cx18_start_capture()
561 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_start_capture()
562 cx18_stop_v4l2_encode_stream(s_vbi, 0); in cx18_start_capture()
563 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags); in cx18_start_capture()
643 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI]; in cx18_stop_capture() local
655 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) && in cx18_stop_capture()
656 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) { in cx18_stop_capture()
658 cx18_stop_v4l2_encode_stream(s_vbi, 0); in cx18_stop_capture()