Lines Matching refs:s_idx
502 struct cx18_stream *s_idx; in cx18_start_capture() local
523 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_capture()
530 if (test_bit(CX18_F_S_INTERNAL_USE, &s_idx->s_flags) && in cx18_start_capture()
531 !test_and_set_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
532 if (cx18_start_v4l2_encode_stream(s_idx)) { in cx18_start_capture()
534 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
570 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_start_capture()
571 cx18_stop_v4l2_encode_stream(s_idx, 0); in cx18_start_capture()
572 clear_bit(CX18_F_S_STREAMING, &s_idx->s_flags); in cx18_start_capture()
718 struct cx18_stream *s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stop_capture() local
735 if (test_bit(CX18_F_S_STREAMING, &s_idx->s_flags)) { in cx18_stop_capture()
737 cx18_stop_v4l2_encode_stream(s_idx, 0); in cx18_stop_capture()