Lines Matching defs:vfd
988 strlcpy(cap->card, cam->vfd->name, sizeof(cap->card));
1452 if (!cam || !cam->vfd)
1628 struct video_device *vfd;
1644 vfd = cam->vfd = video_device_alloc();
1645 if (!vfd) {
1650 vfd->release = video_device_release;
1652 vfd->parent = cam->dev;
1654 strlcpy(vfd->name, CAM_NAME, sizeof(vfd->name));
1655 vfd->fops = &omap24xxcam_fops;
1656 vfd->ioctl_ops = &omap24xxcam_ioctl_fops;
1664 if (video_register_device(vfd, VFL_TYPE_GRABBER, video_nr) < 0) {
1673 video_device_node_name(vfd));
1689 if (cam->vfd) {
1690 if (!video_is_registered(cam->vfd)) {
1695 video_device_release(cam->vfd);
1702 video_unregister_device(cam->vfd);
1704 cam->vfd = NULL;