Lines Matching refs:v4l2_dev
49 struct v4l2_device v4l2_dev; member
275 struct v4l2_device *v4l2_dev = &fmi->v4l2_dev; in fmi_init() local
317 strscpy(v4l2_dev->name, "sf16fmi", sizeof(v4l2_dev->name)); in fmi_init()
320 res = v4l2_device_register(NULL, v4l2_dev); in fmi_init()
325 v4l2_err(v4l2_dev, "Could not register v4l2_device\n"); in fmi_init()
332 v4l2_dev->ctrl_handler = hdl; in fmi_init()
335 v4l2_err(v4l2_dev, "Could not register controls\n"); in fmi_init()
337 v4l2_device_unregister(v4l2_dev); in fmi_init()
341 strscpy(fmi->vdev.name, v4l2_dev->name, sizeof(fmi->vdev.name)); in fmi_init()
342 fmi->vdev.v4l2_dev = v4l2_dev; in fmi_init()
358 v4l2_device_unregister(v4l2_dev); in fmi_init()
365 v4l2_info(v4l2_dev, "card driver at 0x%x\n", fmi->io); in fmi_init()
375 v4l2_device_unregister(&fmi->v4l2_dev); in fmi_exit()