Lines Matching refs:v4l2_dev
66 struct v4l2_device v4l2_dev;
592 struct v4l2_device *v4l2_dev = &dev->v4l2_dev;
596 strscpy(v4l2_dev->name, "cadet", sizeof(v4l2_dev->name));
611 v4l2_err(v4l2_dev, "you must set an I/O address with io=0x330, 0x332, 0x334,\n");
612 v4l2_err(v4l2_dev, "0x336, 0x338, 0x33a, 0x33c or 0x33e\n");
619 res = v4l2_device_register(NULL, v4l2_dev);
622 v4l2_err(v4l2_dev, "could not register v4l2_device\n");
630 v4l2_dev->ctrl_handler = hdl;
633 v4l2_err(v4l2_dev, "Could not register controls\n");
640 strscpy(dev->vdev.name, v4l2_dev->name, sizeof(dev->vdev.name));
641 dev->vdev.v4l2_dev = v4l2_dev;
653 v4l2_info(v4l2_dev, "ADS Cadet Radio Card at 0x%x\n", dev->io);
657 v4l2_device_unregister(v4l2_dev);
670 v4l2_device_unregister(&dev->v4l2_dev);