Lines Matching defs:vfd
593 struct video_device *vfd;
599 // released by vfd->release
600 vfd = video_device_alloc();
601 if (vfd == NULL)
604 vfd->fops = &video_fops;
606 vfd->ioctl_ops = &dev->ext_vv_data->vid_ops;
608 vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops;
609 vfd->release = video_device_release;
610 vfd->lock = &dev->v4l2_lock;
611 vfd->v4l2_dev = &dev->v4l2_dev;
612 vfd->tvnorms = 0;
614 vfd->tvnorms |= dev->ext_vv_data->stds[i].id;
615 strlcpy(vfd->name, name, sizeof(vfd->name));
616 video_set_drvdata(vfd, dev);
618 err = video_register_device(vfd, type, -1);
621 video_device_release(vfd);
626 dev->name, video_device_node_name(vfd));
628 *vid = vfd;