Home
last modified time | relevance | path

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

/drivers/media/pci/saa7134/
Dsaa7134-core.c855 ret = media_entity_pads_init(&dev->vbi_dev->entity, 1, in saa7134_create_entities()
961 if (dev->vbi_dev) { in saa7134_unregister_video()
962 if (video_is_registered(dev->vbi_dev)) in saa7134_unregister_video()
963 vb2_video_unregister_device(dev->vbi_dev); in saa7134_unregister_video()
965 video_device_release(dev->vbi_dev); in saa7134_unregister_video()
966 dev->vbi_dev = NULL; in saa7134_unregister_video()
1197 dev->vbi_dev = vdev_init(dev, &saa7134_video_template, "vbi"); in saa7134_initdev()
1198 dev->vbi_dev->ctrl_handler = &dev->ctrl_handler; in saa7134_initdev()
1199 dev->vbi_dev->lock = &dev->lock; in saa7134_initdev()
1200 dev->vbi_dev->queue = &dev->vbi_vbq; in saa7134_initdev()
[all …]
Dsaa7134.h560 struct video_device *vbi_dev; member
/drivers/media/pci/cx23885/
Dcx23885-video.c1218 if (dev->vbi_dev) { in cx23885_video_unregister()
1219 if (video_is_registered(dev->vbi_dev)) in cx23885_video_unregister()
1220 video_unregister_device(dev->vbi_dev); in cx23885_video_unregister()
1222 video_device_release(dev->vbi_dev); in cx23885_video_unregister()
1223 dev->vbi_dev = NULL; in cx23885_video_unregister()
1387 dev->vbi_dev = cx23885_vdev_init(dev, dev->pci, in cx23885_video_register()
1389 if (!dev->vbi_dev) { in cx23885_video_register()
1393 dev->vbi_dev->queue = &dev->vb2_vbiq; in cx23885_video_register()
1394 dev->vbi_dev->device_caps = V4L2_CAP_READWRITE | V4L2_CAP_STREAMING | in cx23885_video_register()
1401 dev->vbi_dev->device_caps |= V4L2_CAP_TUNER; in cx23885_video_register()
[all …]
Dcx23885.h420 struct video_device *vbi_dev; member
/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
/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
/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
/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
/drivers/media/pci/saa7146/
Dmxb.c145 struct video_device vbi_dev; member
517 mxb->vbi_dev.tvnorms = mxb_inputs[input].std; in vidioc_s_input()
729 if (saa7146_register_device(&mxb->vbi_dev, dev, "mxb", VFL_TYPE_VBI)) { in mxb_attach()
752 saa7146_unregister_device(&mxb->vbi_dev, dev); in mxb_detach()
/drivers/staging/media/av7110/
Dav7110.h98 struct video_device vbi_dev; member
Dav7110_v4l.c848 if (saa7146_register_device(&av7110->vbi_dev, dev, "av7110", VFL_TYPE_VBI)) in av7110_init_v4l()
859 saa7146_unregister_device(&av7110->vbi_dev, av7110->dev); in av7110_exit_v4l()
/drivers/media/pci/bt8xx/
Dbttvp.h354 struct video_device vbi_dev; member
Dbttv-driver.c2126 if (video_is_registered(&btv->vbi_dev)) in bttv_querycap()
3129 video_unregister_device(&btv->vbi_dev); in bttv_unregister_video()
3155 vdev_init(btv, &btv->vbi_dev, &bttv_video_template, "vbi"); in bttv_register_video()
3156 btv->vbi_dev.device_caps = V4L2_CAP_VBI_CAPTURE | V4L2_CAP_READWRITE | in bttv_register_video()
3159 btv->vbi_dev.device_caps |= V4L2_CAP_TUNER; in bttv_register_video()
3161 if (video_register_device(&btv->vbi_dev, VFL_TYPE_VBI, in bttv_register_video()
3165 btv->c.nr, video_device_node_name(&btv->vbi_dev)); in bttv_register_video()