Searched refs:rsdev (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/radio/si4713/
H A Dradio-platform-si4713.c155 struct radio_si4713_device *rsdev; radio_si4713_pdriver_probe() local
165 rsdev = devm_kzalloc(&pdev->dev, sizeof(*rsdev), GFP_KERNEL); radio_si4713_pdriver_probe()
166 if (!rsdev) { radio_si4713_pdriver_probe()
171 mutex_init(&rsdev->lock); radio_si4713_pdriver_probe()
173 rval = v4l2_device_register(&pdev->dev, &rsdev->v4l2_dev); radio_si4713_pdriver_probe()
180 rval = v4l2_device_register_subdev(&rsdev->v4l2_dev, sd); radio_si4713_pdriver_probe()
186 rsdev->radio_dev = radio_si4713_vdev_template; radio_si4713_pdriver_probe()
187 rsdev->radio_dev.v4l2_dev = &rsdev->v4l2_dev; radio_si4713_pdriver_probe()
188 rsdev->radio_dev.ctrl_handler = sd->ctrl_handler; radio_si4713_pdriver_probe()
190 rsdev->radio_dev.lock = &rsdev->lock; radio_si4713_pdriver_probe()
191 video_set_drvdata(&rsdev->radio_dev, rsdev); radio_si4713_pdriver_probe()
192 if (video_register_device(&rsdev->radio_dev, VFL_TYPE_RADIO, radio_nr)) { radio_si4713_pdriver_probe()
202 v4l2_device_unregister(&rsdev->v4l2_dev); radio_si4713_pdriver_probe()
211 struct radio_si4713_device *rsdev; radio_si4713_pdriver_remove() local
213 rsdev = container_of(v4l2_dev, struct radio_si4713_device, v4l2_dev); radio_si4713_pdriver_remove()
214 video_unregister_device(&rsdev->radio_dev); radio_si4713_pdriver_remove()
215 v4l2_device_unregister(&rsdev->v4l2_dev); radio_si4713_pdriver_remove()

Completed in 75 milliseconds