Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/pci/saa7134/
Dsaa7134-core.c866 ret = media_entity_pads_init(&dev->vbi_dev->entity, 1, in saa7134_create_entities()
972 if (dev->vbi_dev) { in saa7134_unregister_video()
973 if (video_is_registered(dev->vbi_dev)) in saa7134_unregister_video()
974 vb2_video_unregister_device(dev->vbi_dev); in saa7134_unregister_video()
976 video_device_release(dev->vbi_dev); in saa7134_unregister_video()
977 dev->vbi_dev = NULL; in saa7134_unregister_video()
1226 dev->vbi_dev = vdev_init(dev, &saa7134_video_template, "vbi"); in saa7134_initdev()
1227 dev->vbi_dev->ctrl_handler = &dev->ctrl_handler; in saa7134_initdev()
1228 dev->vbi_dev->lock = &dev->lock; in saa7134_initdev()
1229 dev->vbi_dev->queue = &dev->vbi_vbq; in saa7134_initdev()
[all …]
Dsaa7134.h561 struct video_device *vbi_dev; member
/linux-6.1.9/drivers/media/usb/em28xx/
Dem28xx-video.c976 ret = media_entity_pads_init(&v4l2->vbi_dev.entity, 1, in em28xx_v4l2_create_entities()
1983 if (video_is_registered(&v4l2->vbi_dev)) in vidioc_querycap()
2226 if (video_is_registered(&v4l2->vbi_dev)) { in em28xx_v4l2_fini()
2228 video_device_node_name(&v4l2->vbi_dev)); in em28xx_v4l2_fini()
2229 video_unregister_device(&v4l2->vbi_dev); in em28xx_v4l2_fini()
2792 em28xx_vdev_init(dev, &v4l2->vbi_dev, &em28xx_video_template, in em28xx_v4l2_init()
2795 v4l2->vbi_dev.queue = &v4l2->vb_vbiq; in em28xx_v4l2_init()
2796 v4l2->vbi_dev.queue->lock = &v4l2->vb_vbi_queue_lock; in em28xx_v4l2_init()
2797 v4l2->vbi_dev.device_caps = V4L2_CAP_STREAMING | in em28xx_v4l2_init()
2800 v4l2->vbi_dev.device_caps |= V4L2_CAP_TUNER; in em28xx_v4l2_init()
[all …]
Dem28xx.h549 struct video_device vbi_dev; member
/linux-6.1.9/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
/linux-6.1.9/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.h632 struct video_device vbi_dev; member
/linux-6.1.9/drivers/media/usb/au0828/
Dau0828-video.c941 vb2_video_unregister_device(&dev->vbi_dev); in au0828_analog_unregister()
1858 ret = media_entity_pads_init(&dev->vbi_dev.entity, 1, &dev->vbi_pad); in au0828_analog_create_entities()
1986 dev->vbi_dev = au0828_video_template; in au0828_analog_register()
1987 dev->vbi_dev.v4l2_dev = &dev->v4l2_dev; in au0828_analog_register()
1988 dev->vbi_dev.lock = &dev->lock; in au0828_analog_register()
1989 dev->vbi_dev.queue = &dev->vb_vbiq; in au0828_analog_register()
1990 dev->vbi_dev.queue->lock = &dev->vb_vbi_queue_lock; in au0828_analog_register()
1991 dev->vbi_dev.device_caps = in au0828_analog_register()
1994 strscpy(dev->vbi_dev.name, "au0828a vbi", sizeof(dev->vbi_dev.name)); in au0828_analog_register()
2017 video_set_drvdata(&dev->vbi_dev, dev); in au0828_analog_register()
[all …]
Dau0828.h202 struct video_device vbi_dev; member
/linux-6.1.9/drivers/media/pci/cx88/
Dcx88-video.c1253 video_unregister_device(&dev->vbi_dev); in cx8800_unregister_video()
1463 cx88_vdev_init(core, dev->pci, &dev->vbi_dev, in cx8800_initdev()
1465 video_set_drvdata(&dev->vbi_dev, dev); in cx8800_initdev()
1466 dev->vbi_dev.queue = &dev->vb2_vbiq; in cx8800_initdev()
1467 dev->vbi_dev.device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx8800_initdev()
1470 dev->vbi_dev.device_caps |= V4L2_CAP_TUNER; in cx8800_initdev()
1471 err = video_register_device(&dev->vbi_dev, VFL_TYPE_VBI, in cx8800_initdev()
1478 video_device_node_name(&dev->vbi_dev)); in cx8800_initdev()
Dcx88.h475 struct video_device vbi_dev; member
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/saa7146/
Dmxb.c144 struct video_device vbi_dev; member
724 if (saa7146_register_device(&mxb->vbi_dev, dev, "mxb", VFL_TYPE_VBI)) { in mxb_attach()
747 saa7146_unregister_device(&mxb->vbi_dev, dev); in mxb_detach()
/linux-6.1.9/drivers/staging/media/deprecated/saa7146/av7110/
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()
/linux-6.1.9/drivers/media/pci/bt8xx/
Dbttvp.h397 struct video_device vbi_dev; member
Dbttv-driver.c2442 if (video_is_registered(&btv->vbi_dev)) in bttv_querycap()
3879 video_unregister_device(&btv->vbi_dev); in bttv_unregister_video()
3910 vdev_init(btv, &btv->vbi_dev, &bttv_video_template, "vbi"); in bttv_register_video()
3911 btv->vbi_dev.device_caps = V4L2_CAP_VBI_CAPTURE | V4L2_CAP_READWRITE | in bttv_register_video()
3914 btv->vbi_dev.device_caps |= V4L2_CAP_TUNER; in bttv_register_video()
3916 if (video_register_device(&btv->vbi_dev, VFL_TYPE_VBI, in bttv_register_video()
3920 btv->c.nr, video_device_node_name(&btv->vbi_dev)); in bttv_register_video()