Lines Matching refs:streams
238 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
305 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
396 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
410 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
430 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
508 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
510 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
511 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
512 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
513 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
529 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup()
530 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
536 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
541 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
662 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stream_rotate_idx_mdls()
884 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
964 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures()
1029 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle()
1046 s = &cx->streams[i]; in cx18_handle_to_stream()