Lines Matching refs:video_dev
305 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the
310 s->video_dev.v4l2_dev = NULL;
354 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s",
357 s->video_dev.num = num;
358 s->video_dev.v4l2_dev = &cx->v4l2_dev;
359 s->video_dev.fops = &cx18_v4l2_enc_fops;
360 s->video_dev.release = video_device_release_empty;
362 s->video_dev.tvnorms = cx->tuner_std;
364 s->video_dev.tvnorms = V4L2_STD_ALL;
365 s->video_dev.lock = &cx->serialize_lock;
366 cx18_set_funcs(&s->video_dev);
410 if (s->video_dev.v4l2_dev == NULL)
413 num = s->video_dev.num;
414 s->video_dev.device_caps = s->v4l2_dev_caps; /* device capabilities */
419 if (s_mpg->video_dev.v4l2_dev)
420 num = s_mpg->video_dev.num
423 video_set_drvdata(&s->video_dev, s);
426 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num);
430 s->video_dev.v4l2_dev = NULL;
434 name = video_device_node_name(&s->video_dev);
523 vdev = &cx->streams[type].video_dev;
1018 if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE))