Home
last modified time | relevance | path

Searched refs:radio_dev (Results 1 – 16 of 16) sorted by relevance

/drivers/media/radio/si4713/
Dradio-platform-si4713.c41 struct video_device radio_dev; member
170 rsdev->radio_dev = radio_si4713_vdev_template; in radio_si4713_pdriver_probe()
171 rsdev->radio_dev.v4l2_dev = &rsdev->v4l2_dev; in radio_si4713_pdriver_probe()
172 rsdev->radio_dev.ctrl_handler = sd->ctrl_handler; in radio_si4713_pdriver_probe()
174 rsdev->radio_dev.lock = &rsdev->lock; in radio_si4713_pdriver_probe()
175 rsdev->radio_dev.device_caps = V4L2_CAP_MODULATOR | V4L2_CAP_RDS_OUTPUT; in radio_si4713_pdriver_probe()
176 video_set_drvdata(&rsdev->radio_dev, rsdev); in radio_si4713_pdriver_probe()
177 if (video_register_device(&rsdev->radio_dev, VFL_TYPE_RADIO, radio_nr)) { in radio_si4713_pdriver_probe()
199 video_unregister_device(&rsdev->radio_dev); in radio_si4713_pdriver_remove()
/drivers/media/pci/saa7134/
Dsaa7134-core.c979 if (dev->radio_dev) { in saa7134_unregister_video()
980 if (video_is_registered(dev->radio_dev)) in saa7134_unregister_video()
981 video_unregister_device(dev->radio_dev); in saa7134_unregister_video()
983 video_device_release(dev->radio_dev); in saa7134_unregister_video()
984 dev->radio_dev = NULL; in saa7134_unregister_video()
1243 dev->radio_dev = vdev_init(dev,&saa7134_radio_template,"radio"); in saa7134_initdev()
1244 dev->radio_dev->ctrl_handler = &dev->radio_ctrl_handler; in saa7134_initdev()
1245 dev->radio_dev->lock = &dev->lock; in saa7134_initdev()
1246 dev->radio_dev->device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in saa7134_initdev()
1248 dev->radio_dev->device_caps |= V4L2_CAP_RDS_CAPTURE; in saa7134_initdev()
[all …]
Dsaa7134.h559 struct video_device *radio_dev; member
/drivers/media/radio/wl128x/
Dfmdrv_v4l2.c545 fmdev->radio_dev = &gradio_dev; in fm_v4l2_init_video_device()
548 fmdev->radio_dev->ctrl_handler = &fmdev->ctrl_handler; in fm_v4l2_init_video_device()
554 video_unregister_device(fmdev->radio_dev); in fm_v4l2_init_video_device()
Dfmdrv.h192 struct video_device *radio_dev; /* V4L2 video device pointer */ member
Dfmdrv_common.c1242 &fmdev->radio_dev->dev); in fm_download_firmware()
/drivers/media/usb/cx231xx/
Dcx231xx-video.c1379 if (video_is_registered(&dev->radio_dev)) in cx231xx_querycap()
1555 if (video_is_registered(&dev->radio_dev)) in cx231xx_release_analog_resources()
1556 video_unregister_device(&dev->radio_dev); in cx231xx_release_analog_resources()
1906 cx231xx_vdev_init(dev, &dev->radio_dev, in cx231xx_register_analog_devices()
1908 dev->radio_dev.ctrl_handler = &dev->radio_ctrl_handler; in cx231xx_register_analog_devices()
1909 dev->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in cx231xx_register_analog_devices()
1910 ret = video_register_device(&dev->radio_dev, VFL_TYPE_RADIO, in cx231xx_register_analog_devices()
1918 video_device_node_name(&dev->radio_dev)); in cx231xx_register_analog_devices()
Dcx231xx.h633 struct video_device radio_dev; member
/drivers/media/pci/cx88/
Dcx88-video.c1253 video_unregister_device(&dev->radio_dev); in cx8800_unregister_video()
1481 cx88_vdev_init(core, dev->pci, &dev->radio_dev, in cx8800_initdev()
1483 video_set_drvdata(&dev->radio_dev, dev); in cx8800_initdev()
1484 dev->radio_dev.ctrl_handler = &core->audio_hdl; in cx8800_initdev()
1485 dev->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in cx8800_initdev()
1486 err = video_register_device(&dev->radio_dev, VFL_TYPE_RADIO, in cx8800_initdev()
1493 video_device_node_name(&dev->radio_dev)); in cx8800_initdev()
Dcx88.h476 struct video_device radio_dev; member
/drivers/media/usb/em28xx/
Dem28xx-video.c1995 if (video_is_registered(&v4l2->radio_dev)) in vidioc_querycap()
2231 if (video_is_registered(&v4l2->radio_dev)) { in em28xx_v4l2_fini()
2233 video_device_node_name(&v4l2->radio_dev)); in em28xx_v4l2_fini()
2234 video_unregister_device(&v4l2->radio_dev); in em28xx_v4l2_fini()
2836 em28xx_vdev_init(dev, &v4l2->radio_dev, &em28xx_radio_template, in em28xx_v4l2_init()
2838 v4l2->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in em28xx_v4l2_init()
2839 ret = video_register_device(&v4l2->radio_dev, VFL_TYPE_RADIO, in em28xx_v4l2_init()
2848 video_device_node_name(&v4l2->radio_dev)); in em28xx_v4l2_init()
2888 if (video_is_registered(&v4l2->radio_dev)) { in em28xx_v4l2_init()
2891 video_device_node_name(&v4l2->radio_dev)); in em28xx_v4l2_init()
[all …]
Dem28xx.h560 struct video_device radio_dev; member
/drivers/media/usb/tm6000/
Dtm6000-video.c1652 vdev_init(dev, &dev->radio_dev, &tm6000_radio_template, in tm6000_v4l2_register()
1654 dev->radio_dev.ctrl_handler = &dev->radio_ctrl_handler; in tm6000_v4l2_register()
1655 dev->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in tm6000_v4l2_register()
1656 ret = video_register_device(&dev->radio_dev, VFL_TYPE_RADIO, in tm6000_v4l2_register()
1665 dev->name, video_device_node_name(&dev->radio_dev)); in tm6000_v4l2_register()
1686 video_unregister_device(&dev->radio_dev); in tm6000_v4l2_unregister()
Dtm6000.h211 struct video_device radio_dev; member
/drivers/media/pci/bt8xx/
Dbttvp.h396 struct video_device radio_dev; member
Dbttv-driver.c2446 if (video_is_registered(&btv->radio_dev)) { in bttv_querycap()
3882 video_unregister_device(&btv->radio_dev); in bttv_unregister_video()
3927 vdev_init(btv, &btv->radio_dev, &radio_template, "radio"); in bttv_register_video()
3928 btv->radio_dev.device_caps = V4L2_CAP_RADIO | V4L2_CAP_TUNER; in bttv_register_video()
3930 btv->radio_dev.device_caps |= V4L2_CAP_READWRITE | in bttv_register_video()
3933 btv->radio_dev.device_caps |= V4L2_CAP_HW_FREQ_SEEK; in bttv_register_video()
3934 btv->radio_dev.ctrl_handler = &btv->radio_ctrl_handler; in bttv_register_video()
3935 if (video_register_device(&btv->radio_dev, VFL_TYPE_RADIO, in bttv_register_video()
3939 btv->c.nr, video_device_node_name(&btv->radio_dev)); in bttv_register_video()