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