Lines Matching refs:v4l2_dev
63 struct v4l2_device v4l2_dev; member
232 v4l2_err(&bcap_dev->v4l2_dev, "buffer too small (%lu < %lu)\n", in bcap_buffer_prepare()
279 v4l2_err(&bcap_dev->v4l2_dev, "stream on failed in subdev\n"); in bcap_start_streaming()
317 v4l2_err(&bcap_dev->v4l2_dev, in bcap_start_streaming()
325 v4l2_err(&bcap_dev->v4l2_dev, in bcap_start_streaming()
370 v4l2_err(&bcap_dev->v4l2_dev, in bcap_stop_streaming()
598 v4l2_err(&bcap_dev->v4l2_dev, "Failed to set input\n"); in bcap_s_input()
748 v4l2_device_call_all(&bcap_dev->v4l2_dev, 0, core, log_status); in bcap_log_status()
837 vfd->v4l2_dev = &bcap_dev->v4l2_dev; in bcap_probe()
840 ret = v4l2_device_register(&pdev->dev, &bcap_dev->v4l2_dev); in bcap_probe()
846 v4l2_info(&bcap_dev->v4l2_dev, "v4l2 device registered\n"); in bcap_probe()
848 bcap_dev->v4l2_dev.ctrl_handler = &bcap_dev->ctrl_handler; in bcap_probe()
851 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
885 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
890 v4l2_info(&bcap_dev->v4l2_dev, "video device registered as: %s\n", in bcap_probe()
896 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
902 bcap_dev->sd = v4l2_i2c_new_subdev_board(&bcap_dev->v4l2_dev, in bcap_probe()
913 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
919 v4l2_info(&bcap_dev->v4l2_dev, "v4l2 sub device registered\n"); in bcap_probe()
929 v4l2_err(&bcap_dev->v4l2_dev, "Failed to set input\n"); in bcap_probe()
942 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
953 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
961 v4l2_err(&bcap_dev->v4l2_dev, in bcap_probe()
971 v4l2_device_unregister(&bcap_dev->v4l2_dev); in bcap_probe()
983 struct v4l2_device *v4l2_dev = platform_get_drvdata(pdev); in bcap_remove() local
984 struct bcap_device *bcap_dev = container_of(v4l2_dev, in bcap_remove()
985 struct bcap_device, v4l2_dev); in bcap_remove()
990 v4l2_device_unregister(v4l2_dev); in bcap_remove()