Lines Matching defs:vfd
629 struct video_device *vfd;
699 vfd = video_device_alloc();
700 if (!vfd) {
705 *vfd = g2d_videodev;
706 vfd->lock = &dev->mutex;
707 vfd->v4l2_dev = &dev->v4l2_dev;
708 ret = video_register_device(vfd, VFL_TYPE_GRABBER, 0);
713 video_set_drvdata(vfd, dev);
714 snprintf(vfd->name, sizeof(vfd->name), "%s", g2d_videodev.name);
715 dev->vfd = vfd;
717 vfd->num);
742 video_unregister_device(dev->vfd);
744 video_device_release(vfd);
767 video_unregister_device(dev->vfd);