Lines Matching refs:video_dev
1225 if (dev->video_dev) {
1226 if (video_is_registered(dev->video_dev))
1227 video_unregister_device(dev->video_dev);
1229 video_device_release(dev->video_dev);
1230 dev->video_dev = NULL;
1355 dev->video_dev = cx23885_vdev_init(dev, dev->pci,
1357 if (!dev->video_dev) {
1361 dev->video_dev->queue = &dev->vb2_vidq;
1362 dev->video_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING |
1369 dev->video_dev->device_caps |= V4L2_CAP_TUNER;
1373 dev->video_dev->device_caps |= V4L2_CAP_TUNER;
1376 err = video_register_device(dev->video_dev, VFL_TYPE_VIDEO,
1384 dev->name, video_device_node_name(dev->video_dev));