Lines Matching full:streams
4 * Derived from ivtv-streams.c
27 #include "cx18-streams.h"
252 struct cx18_stream *s = &cx->streams[type]; in cx18_stream_init()
307 struct cx18_stream *s = &cx->streams[type]; in cx18_prep_dev()
314 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the in cx18_prep_dev()
334 /* User explicitly selected 0 buffers for these streams, so don't in cx18_prep_dev()
392 ret = cx18_stream_alloc(&cx->streams[type]); in cx18_streams_setup()
399 /* One or more streams could not be initialized. Clean 'em all up. */ in cx18_streams_setup()
406 struct cx18_stream *s = &cx->streams[type]; in cx18_reg_dev()
425 struct cx18_stream *s_mpg = &cx->streams[CX18_ENC_STREAM_TYPE_MPG]; in cx18_reg_dev()
487 /* One or more streams could not be initialized. Clean 'em all up. */ in cx18_streams_register()
498 /* Teardown all streams */ in cx18_streams_cleanup()
503 if (cx->streams[type].dvb != NULL) { in cx18_streams_cleanup()
505 cx18_dvb_unregister(&cx->streams[type]); in cx18_streams_cleanup()
506 kfree(cx->streams[type].dvb); in cx18_streams_cleanup()
507 cx->streams[type].dvb = NULL; in cx18_streams_cleanup()
508 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
524 if (cx->streams[type].buffers != 0) in cx18_streams_cleanup()
525 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
531 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
537 videobuf_mmap_free(&cx->streams[type].vbuf_q); in cx18_streams_cleanup()
539 cx18_stream_free(&cx->streams[type]); in cx18_streams_cleanup()
657 struct cx18_stream *s = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_stream_rotate_idx_mdls()
879 s_idx = &cx->streams[CX18_ENC_STREAM_TYPE_IDX]; in cx18_start_v4l2_encode_stream()
959 struct cx18_stream *s = &cx->streams[i]; in cx18_stop_all_captures()
1024 struct cx18_stream *s = &cx->streams[i]; in cx18_find_handle()
1041 s = &cx->streams[i]; in cx18_handle_to_stream()