Lines Matching refs:video_dev
298 s->video_dev.queue = &s->vidq; in cx18_stream_init()
318 s->video_dev.v4l2_dev = NULL; in cx18_prep_dev()
364 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s", in cx18_prep_dev()
367 s->video_dev.num = num; in cx18_prep_dev()
368 s->video_dev.v4l2_dev = &cx->v4l2_dev; in cx18_prep_dev()
370 s->video_dev.fops = &cx18_v4l2_enc_yuv_fops; in cx18_prep_dev()
372 s->video_dev.fops = &cx18_v4l2_enc_fops; in cx18_prep_dev()
373 s->video_dev.release = video_device_release_empty; in cx18_prep_dev()
375 s->video_dev.tvnorms = cx->tuner_std; in cx18_prep_dev()
377 s->video_dev.tvnorms = V4L2_STD_ALL; in cx18_prep_dev()
378 s->video_dev.lock = &cx->serialize_lock; in cx18_prep_dev()
379 cx18_set_funcs(&s->video_dev); in cx18_prep_dev()
423 if (s->video_dev.v4l2_dev == NULL) in cx18_reg_dev()
426 num = s->video_dev.num; in cx18_reg_dev()
427 s->video_dev.device_caps = s->v4l2_dev_caps; /* device capabilities */ in cx18_reg_dev()
432 if (s_mpg->video_dev.v4l2_dev) in cx18_reg_dev()
433 num = s_mpg->video_dev.num in cx18_reg_dev()
436 video_set_drvdata(&s->video_dev, s); in cx18_reg_dev()
439 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num); in cx18_reg_dev()
443 s->video_dev.v4l2_dev = NULL; in cx18_reg_dev()
447 name = video_device_node_name(&s->video_dev); in cx18_reg_dev()
536 vdev = &cx->streams[type].video_dev; in cx18_streams_cleanup()
1031 if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE)) in cx18_find_handle()