Lines Matching refs:v4l2_dev
39 snprintf(v->bus_info, sizeof(v->bus_info), "ISA:%s", isa->v4l2_dev.name); in radio_isa_querycap()
133 v4l2_info(&isa->v4l2_dev, "I/O Port = 0x%03x\n", isa->io); in radio_isa_log_status()
134 v4l2_ctrl_handler_log_status(&isa->hdl, isa->v4l2_dev.name); in radio_isa_log_status()
182 struct v4l2_device *v4l2_dev; in radio_isa_alloc() local
189 v4l2_dev = &isa->v4l2_dev; in radio_isa_alloc()
190 strscpy(v4l2_dev->name, dev_name(pdev), sizeof(v4l2_dev->name)); in radio_isa_alloc()
201 struct v4l2_device *v4l2_dev = &isa->v4l2_dev; in radio_isa_common_probe() local
204 if (!request_region(isa->io, region_size, v4l2_dev->name)) { in radio_isa_common_probe()
205 v4l2_err(v4l2_dev, "port 0x%x already in use\n", isa->io); in radio_isa_common_probe()
210 res = v4l2_device_register(pdev, v4l2_dev); in radio_isa_common_probe()
212 v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); in radio_isa_common_probe()
223 v4l2_dev->ctrl_handler = &isa->hdl; in radio_isa_common_probe()
226 v4l2_err(v4l2_dev, "Could not register controls\n"); in radio_isa_common_probe()
231 v4l2_dev->ctrl_handler = &isa->hdl; in radio_isa_common_probe()
235 strscpy(isa->vdev.name, v4l2_dev->name, sizeof(isa->vdev.name)); in radio_isa_common_probe()
236 isa->vdev.v4l2_dev = v4l2_dev; in radio_isa_common_probe()
254 v4l2_err(v4l2_dev, "Could not setup card\n"); in radio_isa_common_probe()
260 v4l2_err(v4l2_dev, "Could not register device node\n"); in radio_isa_common_probe()
264 v4l2_info(v4l2_dev, "Initialized radio card %s on port 0x%03x\n", in radio_isa_common_probe()
284 v4l2_device_unregister(&isa->v4l2_dev); in radio_isa_common_remove()
286 v4l2_info(&isa->v4l2_dev, "Removed radio card %s\n", isa->drv->card); in radio_isa_common_remove()
294 struct v4l2_device *v4l2_dev; in radio_isa_probe() local
301 v4l2_dev = &isa->v4l2_dev; in radio_isa_probe()
309 if (request_region(io, drv->region_size, v4l2_dev->name)) { in radio_isa_probe()
326 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x%03x", in radio_isa_probe()