rsdev 139 drivers/media/radio/si4713/radio-platform-si4713.c struct radio_si4713_device *rsdev; rsdev 149 drivers/media/radio/si4713/radio-platform-si4713.c rsdev = devm_kzalloc(&pdev->dev, sizeof(*rsdev), GFP_KERNEL); rsdev 150 drivers/media/radio/si4713/radio-platform-si4713.c if (!rsdev) { rsdev 155 drivers/media/radio/si4713/radio-platform-si4713.c mutex_init(&rsdev->lock); rsdev 157 drivers/media/radio/si4713/radio-platform-si4713.c rval = v4l2_device_register(&pdev->dev, &rsdev->v4l2_dev); rsdev 164 drivers/media/radio/si4713/radio-platform-si4713.c rval = v4l2_device_register_subdev(&rsdev->v4l2_dev, sd); rsdev 170 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev = radio_si4713_vdev_template; rsdev 171 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev.v4l2_dev = &rsdev->v4l2_dev; rsdev 172 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev.ctrl_handler = sd->ctrl_handler; rsdev 174 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev.lock = &rsdev->lock; rsdev 175 drivers/media/radio/si4713/radio-platform-si4713.c rsdev->radio_dev.device_caps = V4L2_CAP_MODULATOR | V4L2_CAP_RDS_OUTPUT; rsdev 176 drivers/media/radio/si4713/radio-platform-si4713.c video_set_drvdata(&rsdev->radio_dev, rsdev); rsdev 177 drivers/media/radio/si4713/radio-platform-si4713.c if (video_register_device(&rsdev->radio_dev, VFL_TYPE_RADIO, radio_nr)) { rsdev 187 drivers/media/radio/si4713/radio-platform-si4713.c v4l2_device_unregister(&rsdev->v4l2_dev); rsdev 196 drivers/media/radio/si4713/radio-platform-si4713.c struct radio_si4713_device *rsdev; rsdev 198 drivers/media/radio/si4713/radio-platform-si4713.c rsdev = container_of(v4l2_dev, struct radio_si4713_device, v4l2_dev); rsdev 199 drivers/media/radio/si4713/radio-platform-si4713.c video_unregister_device(&rsdev->radio_dev); rsdev 200 drivers/media/radio/si4713/radio-platform-si4713.c v4l2_device_unregister(&rsdev->v4l2_dev);