Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/media/radio/
Dradio-si4713.c50 struct video_device *radio_dev; member
304 rsdev->radio_dev = video_device_alloc(); in radio_si4713_pdriver_probe()
305 if (!rsdev->radio_dev) { in radio_si4713_pdriver_probe()
311 memcpy(rsdev->radio_dev, &radio_si4713_vdev_template, in radio_si4713_pdriver_probe()
313 video_set_drvdata(rsdev->radio_dev, rsdev); in radio_si4713_pdriver_probe()
314 if (video_register_device(rsdev->radio_dev, VFL_TYPE_RADIO, radio_nr)) { in radio_si4713_pdriver_probe()
324 video_device_release(rsdev->radio_dev); in radio_si4713_pdriver_probe()
346 video_unregister_device(rsdev->radio_dev); in radio_si4713_pdriver_remove()
/linux-2.6.39/drivers/media/video/saa7134/
Dsaa7134-core.c826 if (dev->radio_dev) { in saa7134_unregister_video()
827 if (video_is_registered(dev->radio_dev)) in saa7134_unregister_video()
828 video_unregister_device(dev->radio_dev); in saa7134_unregister_video()
830 video_device_release(dev->radio_dev); in saa7134_unregister_video()
831 dev->radio_dev = NULL; in saa7134_unregister_video()
1069 dev->radio_dev = vdev_init(dev,&saa7134_radio_template,"radio"); in saa7134_initdev()
1070 err = video_register_device(dev->radio_dev,VFL_TYPE_RADIO, in saa7134_initdev()
1075 dev->name, video_device_node_name(dev->radio_dev)); in saa7134_initdev()
Dsaa7134.h549 struct video_device *radio_dev; member
/linux-2.6.39/drivers/staging/tm6000/
Dtm6000-video.c1733 dev->radio_dev = vdev_init(dev, &tm6000_radio_template, in tm6000_v4l2_register()
1735 if (!dev->radio_dev) { in tm6000_v4l2_register()
1741 ret = video_register_device(dev->radio_dev, VFL_TYPE_RADIO, in tm6000_v4l2_register()
1750 dev->name, video_device_node_name(dev->radio_dev)); in tm6000_v4l2_register()
1760 if (dev->radio_dev) { in tm6000_v4l2_unregister()
1761 if (video_is_registered(dev->radio_dev)) in tm6000_v4l2_unregister()
1762 video_unregister_device(dev->radio_dev); in tm6000_v4l2_unregister()
1764 video_device_release(dev->radio_dev); in tm6000_v4l2_unregister()
1765 dev->radio_dev = NULL; in tm6000_v4l2_unregister()
Dtm6000.h209 struct video_device *radio_dev; member
/linux-2.6.39/drivers/media/radio/wl128x/
Dfmdrv.h209 struct video_device *radio_dev; /* V4L2 video device pointer */ member
Dfmdrv_v4l2.c525 fmdev->radio_dev = gradio_dev; in fm_v4l2_init_video_device()
528 fmdev->radio_dev->ctrl_handler = &fmdev->ctrl_handler; in fm_v4l2_init_video_device()
Dfmdrv_common.c1250 &fmdev->radio_dev->dev); in fm_download_firmware()
/linux-2.6.39/drivers/media/video/cx231xx/
Dcx231xx-video.c2255 if (dev->radio_dev) { in cx231xx_release_analog_resources()
2256 if (video_is_registered(dev->radio_dev)) in cx231xx_release_analog_resources()
2257 video_unregister_device(dev->radio_dev); in cx231xx_release_analog_resources()
2259 video_device_release(dev->radio_dev); in cx231xx_release_analog_resources()
2260 dev->radio_dev = NULL; in cx231xx_release_analog_resources()
2637 dev->radio_dev = cx231xx_vdev_init(dev, &cx231xx_radio_template, in cx231xx_register_analog_devices()
2639 if (!dev->radio_dev) { in cx231xx_register_analog_devices()
2643 ret = video_register_device(dev->radio_dev, VFL_TYPE_RADIO, in cx231xx_register_analog_devices()
2650 video_device_node_name(dev->radio_dev)); in cx231xx_register_analog_devices()
Dcx231xx.h675 struct video_device *radio_dev; member
/linux-2.6.39/drivers/media/video/cx88/
Dcx88-video.c1786 if (dev->radio_dev) { in cx8800_unregister_video()
1787 if (video_is_registered(dev->radio_dev)) in cx8800_unregister_video()
1788 video_unregister_device(dev->radio_dev); in cx8800_unregister_video()
1790 video_device_release(dev->radio_dev); in cx8800_unregister_video()
1791 dev->radio_dev = NULL; in cx8800_unregister_video()
1965 dev->radio_dev = cx88_vdev_init(core,dev->pci, in cx8800_initdev()
1967 video_set_drvdata(dev->radio_dev, dev); in cx8800_initdev()
1968 err = video_register_device(dev->radio_dev,VFL_TYPE_RADIO, in cx8800_initdev()
1976 core->name, video_device_node_name(dev->radio_dev)); in cx8800_initdev()
Dcx88.h460 struct video_device *radio_dev; member
/linux-2.6.39/drivers/media/video/em28xx/
Dem28xx-video.c2150 if (dev->radio_dev) { in em28xx_release_analog_resources()
2151 if (video_is_registered(dev->radio_dev)) in em28xx_release_analog_resources()
2152 video_unregister_device(dev->radio_dev); in em28xx_release_analog_resources()
2154 video_device_release(dev->radio_dev); in em28xx_release_analog_resources()
2155 dev->radio_dev = NULL; in em28xx_release_analog_resources()
2515 dev->radio_dev = em28xx_vdev_init(dev, &em28xx_radio_template, in em28xx_register_analog_devices()
2517 if (!dev->radio_dev) { in em28xx_register_analog_devices()
2521 ret = video_register_device(dev->radio_dev, VFL_TYPE_RADIO, in em28xx_register_analog_devices()
2528 video_device_node_name(dev->radio_dev)); in em28xx_register_analog_devices()
Dem28xx.h573 struct video_device *radio_dev; member
/linux-2.6.39/drivers/media/video/bt8xx/
Dbttvp.h390 struct video_device *radio_dev; member
Dbttv-driver.c3417 strlcpy(cap->card, btv->radio_dev->name, sizeof(cap->card)); in radio_querycap()
4161 if (btv->radio_dev) { in bttv_unregister_video()
4162 if (video_is_registered(btv->radio_dev)) in bttv_unregister_video()
4163 video_unregister_device(btv->radio_dev); in bttv_unregister_video()
4165 video_device_release(btv->radio_dev); in bttv_unregister_video()
4166 btv->radio_dev = NULL; in bttv_unregister_video()
4207 btv->radio_dev = vdev_init(btv, &radio_template, "radio"); in bttv_register_video()
4208 if (NULL == btv->radio_dev) in bttv_register_video()
4210 if (video_register_device(btv->radio_dev, VFL_TYPE_RADIO, in bttv_register_video()
4214 btv->c.nr, video_device_node_name(btv->radio_dev)); in bttv_register_video()
/linux-2.6.39/drivers/media/video/cx23885/
Dcx23885.h390 struct video_device *radio_dev; member
/linux-2.6.39/drivers/staging/cx25821/
Dcx25821.h329 struct video_device *radio_dev; member