Lines Matching full:vfd
1102 struct video_device *vfd = &vp->vdev;
1106 memset(vfd, 0, sizeof(*vfd));
1107 snprintf(vfd->name, sizeof(vfd->name), "camif-%s",
1110 vfd->fops = &s3c_camif_fops;
1111 vfd->ioctl_ops = &s3c_camif_ioctl_ops;
1112 vfd->v4l2_dev = &camif->v4l2_dev;
1113 vfd->minor = -1;
1114 vfd->release = video_device_release_empty;
1115 vfd->lock = &camif->lock;
1137 ret = media_entity_pads_init(&vfd->entity, 1, &vp->pad);
1141 video_set_drvdata(vfd, vp);
1157 vfd->ctrl_handler = &vp->ctrl_handler;
1158 vfd->device_caps = V4L2_CAP_STREAMING | V4L2_CAP_VIDEO_CAPTURE;
1160 ret = video_register_device(vfd, VFL_TYPE_VIDEO, -1);
1165 vfd->name, video_device_node_name(vfd));
1171 media_entity_cleanup(&vfd->entity);
1177 struct video_device *vfd = &camif->vp[idx].vdev;
1179 if (video_is_registered(vfd)) {
1180 video_unregister_device(vfd);
1181 media_entity_cleanup(&vfd->entity);
1182 v4l2_ctrl_handler_free(vfd->ctrl_handler);