Lines Matching refs:vfd
625 struct video_device *vfd; in g2d_probe() local
684 vfd = video_device_alloc(); in g2d_probe()
685 if (!vfd) { in g2d_probe()
690 *vfd = g2d_videodev; in g2d_probe()
691 set_bit(V4L2_FL_QUIRK_INVERTED_CROP, &vfd->flags); in g2d_probe()
692 vfd->lock = &dev->mutex; in g2d_probe()
693 vfd->v4l2_dev = &dev->v4l2_dev; in g2d_probe()
694 vfd->device_caps = V4L2_CAP_VIDEO_M2M | V4L2_CAP_STREAMING; in g2d_probe()
713 ret = video_register_device(vfd, VFL_TYPE_VIDEO, 0); in g2d_probe()
718 video_set_drvdata(vfd, dev); in g2d_probe()
719 dev->vfd = vfd; in g2d_probe()
721 vfd->num); in g2d_probe()
728 video_device_release(vfd); in g2d_probe()
749 video_unregister_device(dev->vfd); in g2d_remove()