Lines Matching defs:s_vbi
173 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI];
185 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) &&
186 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) {
187 while ((mdl = cx18_dequeue(s_vbi,
188 &s_vbi->q_full))) {
191 s_vbi->type);
192 cx18_stream_put_mdl_fw(s_vbi, mdl);
486 struct cx18_stream *s_vbi;
507 s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI];
524 if (test_bit(CX18_F_S_INTERNAL_USE, &s_vbi->s_flags) &&
525 !test_and_set_bit(CX18_F_S_STREAMING, &s_vbi->s_flags)) {
526 if (cx18_start_v4l2_encode_stream(s_vbi)) {
528 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags);
560 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) &&
561 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) {
562 cx18_stop_v4l2_encode_stream(s_vbi, 0);
563 clear_bit(CX18_F_S_STREAMING, &s_vbi->s_flags);
643 struct cx18_stream *s_vbi = &cx->streams[CX18_ENC_STREAM_TYPE_VBI];
655 if (test_bit(CX18_F_S_STREAMING, &s_vbi->s_flags) &&
656 !test_bit(CX18_F_S_APPL_IO, &s_vbi->s_flags)) {
658 cx18_stop_v4l2_encode_stream(s_vbi, 0);