Lines Matching refs:video_dev
297 s->video_dev.queue = &s->vidq;
312 * For analog capture related streams, if video_dev.v4l2_dev == NULL then the
317 s->video_dev.v4l2_dev = NULL;
363 snprintf(s->video_dev.name, sizeof(s->video_dev.name), "%s %s",
366 s->video_dev.num = num;
367 s->video_dev.v4l2_dev = &cx->v4l2_dev;
369 s->video_dev.fops = &cx18_v4l2_enc_yuv_fops;
371 s->video_dev.fops = &cx18_v4l2_enc_fops;
372 s->video_dev.release = video_device_release_empty;
374 s->video_dev.tvnorms = cx->tuner_std;
376 s->video_dev.tvnorms = V4L2_STD_ALL;
377 s->video_dev.lock = &cx->serialize_lock;
378 cx18_set_funcs(&s->video_dev);
422 if (s->video_dev.v4l2_dev == NULL)
425 num = s->video_dev.num;
426 s->video_dev.device_caps = s->v4l2_dev_caps; /* device capabilities */
431 if (s_mpg->video_dev.v4l2_dev)
432 num = s_mpg->video_dev.num
435 video_set_drvdata(&s->video_dev, s);
438 ret = video_register_device_no_warn(&s->video_dev, vfl_type, num);
442 s->video_dev.v4l2_dev = NULL;
446 name = video_device_node_name(&s->video_dev);
535 vdev = &cx->streams[type].video_dev;
1030 if (s->video_dev.v4l2_dev && (s->handle != CX18_INVALID_TASK_HANDLE))