Home
last modified time | relevance | path

Searched refs:vbi_dev (Results 1 – 17 of 17) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/pci/saa7134/
Dsaa7134-core.c865 ret = media_entity_pads_init(&dev->vbi_dev->entity, 1, in saa7134_create_entities()
971 if (dev->vbi_dev) { in saa7134_unregister_video()
972 if (video_is_registered(dev->vbi_dev)) in saa7134_unregister_video()
973 vb2_video_unregister_device(dev->vbi_dev); in saa7134_unregister_video()
975 video_device_release(dev->vbi_dev); in saa7134_unregister_video()
976 dev->vbi_dev = NULL; in saa7134_unregister_video()
1225 dev->vbi_dev = vdev_init(dev, &saa7134_video_template, "vbi"); in saa7134_initdev()
1226 dev->vbi_dev->ctrl_handler = &dev->ctrl_handler; in saa7134_initdev()
1227 dev->vbi_dev->lock = &dev->lock; in saa7134_initdev()
1228 dev->vbi_dev->queue = &dev->vbi_vbq; in saa7134_initdev()
[all …]
Dsaa7134.h560 struct video_device *vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/usb/em28xx/
Dem28xx-video.c986 ret = media_entity_pads_init(&v4l2->vbi_dev.entity, 1, in em28xx_v4l2_create_entities()
1993 if (video_is_registered(&v4l2->vbi_dev)) in vidioc_querycap()
2236 if (video_is_registered(&v4l2->vbi_dev)) { in em28xx_v4l2_fini()
2238 video_device_node_name(&v4l2->vbi_dev)); in em28xx_v4l2_fini()
2239 video_unregister_device(&v4l2->vbi_dev); in em28xx_v4l2_fini()
2802 em28xx_vdev_init(dev, &v4l2->vbi_dev, &em28xx_video_template, in em28xx_v4l2_init()
2805 v4l2->vbi_dev.queue = &v4l2->vb_vbiq; in em28xx_v4l2_init()
2806 v4l2->vbi_dev.queue->lock = &v4l2->vb_vbi_queue_lock; in em28xx_v4l2_init()
2807 v4l2->vbi_dev.device_caps = V4L2_CAP_STREAMING | in em28xx_v4l2_init()
2810 v4l2->vbi_dev.device_caps |= V4L2_CAP_TUNER; in em28xx_v4l2_init()
[all …]
Dem28xx.h558 struct video_device vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/pci/cx23885/
Dcx23885-video.c1217 if (dev->vbi_dev) { in cx23885_video_unregister()
1218 if (video_is_registered(dev->vbi_dev)) in cx23885_video_unregister()
1219 video_unregister_device(dev->vbi_dev); in cx23885_video_unregister()
1221 video_device_release(dev->vbi_dev); in cx23885_video_unregister()
1222 dev->vbi_dev = NULL; in cx23885_video_unregister()
1382 dev->vbi_dev = cx23885_vdev_init(dev, dev->pci, in cx23885_video_register()
1384 dev->vbi_dev->queue = &dev->vb2_vbiq; in cx23885_video_register()
1385 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1392 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
1396 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
[all …]
Dcx23885.h420 struct video_device *vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/usb/cx231xx/
Dcx231xx-video.c1557 if (video_is_registered(&dev->vbi_dev)) { in cx231xx_release_analog_resources()
1559 video_device_node_name(&dev->vbi_dev)); in cx231xx_release_analog_resources()
1560 video_unregister_device(&dev->vbi_dev); in cx231xx_release_analog_resources()
1855 cx231xx_vdev_init(dev, &dev->vbi_dev, &cx231xx_vbi_template, "vbi"); in cx231xx_register_analog_devices()
1859 ret = media_entity_pads_init(&dev->vbi_dev.entity, 1, &dev->vbi_pad); in cx231xx_register_analog_devices()
1863 dev->vbi_dev.ctrl_handler = &dev->ctrl_handler; in cx231xx_register_analog_devices()
1878 dev->vbi_dev.queue = q; in cx231xx_register_analog_devices()
1879 dev->vbi_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx231xx_register_analog_devices()
1887 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1891 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
[all …]
Dcx231xx.h634 struct video_device vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/usb/au0828/
Dau0828-video.c942 vb2_video_unregister_device(&dev->vbi_dev); in au0828_analog_unregister()
1859 ret = media_entity_pads_init(&dev->vbi_dev.entity, 1, &dev->vbi_pad); in au0828_analog_create_entities()
1987 dev->vbi_dev = au0828_video_template; in au0828_analog_register()
1988 dev->vbi_dev.v4l2_dev = &dev->v4l2_dev; in au0828_analog_register()
1989 dev->vbi_dev.lock = &dev->lock; in au0828_analog_register()
1990 dev->vbi_dev.queue = &dev->vb_vbiq; in au0828_analog_register()
1991 dev->vbi_dev.queue->lock = &dev->vb_vbi_queue_lock; in au0828_analog_register()
1992 dev->vbi_dev.device_caps = in au0828_analog_register()
1995 strscpy(dev->vbi_dev.name, "au0828a vbi", sizeof(dev->vbi_dev.name)); in au0828_analog_register()
2018 video_set_drvdata(&dev->vbi_dev, dev); in au0828_analog_register()
[all …]
Dau0828.h202 struct video_device vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/pci/cx88/
Dcx88-video.c1253 video_unregister_device(&dev->vbi_dev); in cx8800_unregister_video()
1462 cx88_vdev_init(core, dev->pci, &dev->vbi_dev, in cx8800_initdev()
1464 video_set_drvdata(&dev->vbi_dev, dev); in cx8800_initdev()
1465 dev->vbi_dev.queue = &dev->vb2_vbiq; in cx8800_initdev()
1466 dev->vbi_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx8800_initdev()
1469 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx8800_initdev()
1470 err = video_register_device(&dev->vbi_dev, VFL_TYPE_VBI, in cx8800_initdev()
1477 video_device_node_name(&dev->vbi_dev)); in cx8800_initdev()
Dcx88.h475 struct video_device vbi_dev; member
/kernel/linux/linux-5.10/drivers/media/pci/saa7146/
Dmxb.c144 struct video_device vbi_dev; member
725 if (saa7146_register_device(&mxb->vbi_dev, dev, "mxb", VFL_TYPE_VBI)) { in mxb_attach()
748 saa7146_unregister_device(&mxb->vbi_dev, dev); in mxb_detach()
/kernel/linux/linux-5.10/drivers/media/pci/ttpci/
Dav7110.h98 struct video_device vbi_dev; member
Dav7110_v4l.c840 if (saa7146_register_device(&av7110->vbi_dev, dev, "av7110", VFL_TYPE_VBI)) in av7110_init_v4l()
851 saa7146_unregister_device(&av7110->vbi_dev, av7110->dev); in av7110_exit_v4l()
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbttvp.h397 struct video_device vbi_dev; member
Dbttv-driver.c2452 if (video_is_registered(&btv->vbi_dev)) in bttv_querycap()
3889 video_unregister_device(&btv->vbi_dev); in bttv_unregister_video()
3920 vdev_init(btv, &btv->vbi_dev, &bttv_video_template, "vbi"); in bttv_register_video()
3921 btv->vbi_dev.device_caps = V4L2_CAP_VBI_CAPTURE | V4L2_CAP_READWRITE | in bttv_register_video()
3924 btv->vbi_dev.device_caps |= V4L2_CAP_TUNER; in bttv_register_video()
3926 if (video_register_device(&btv->vbi_dev, VFL_TYPE_VBI, in bttv_register_video()
3930 btv->c.nr, video_device_node_name(&btv->vbi_dev)); in bttv_register_video()