Lines Matching refs:streams
257 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
314 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
399 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
413 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
432 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
511 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
513 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
514 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
515 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
516 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
532 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup()
533 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
539 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
545 videobuf_mmap_free(&cx->streams[type].vbuf_q); in cx18_streams_cleanup()
547 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
665 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stream_rotate_idx_mdls()
887 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
967 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures()
1032 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle()
1049 s = &cx->streams[i]; in cx18_handle_to_stream()