Lines Matching defs:vfd
589 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev,
597 vfd->fops = &video_fops;
599 vfd->ioctl_ops = &dev->ext_vv_data->vid_ops;
601 vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops;
602 vfd->release = video_device_release_empty;
603 vfd->lock = &dev->v4l2_lock;
604 vfd->v4l2_dev = &dev->v4l2_dev;
605 vfd->tvnorms = 0;
607 vfd->tvnorms |= dev->ext_vv_data->stds[i].id;
608 strscpy(vfd->name, name, sizeof(vfd->name));
609 vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OVERLAY |
611 vfd->device_caps |= dev->ext_vv_data->capabilities;
613 vfd->device_caps &=
616 vfd->device_caps &=
618 video_set_drvdata(vfd, dev);
620 err = video_register_device(vfd, type, -1);
627 dev->name, video_device_node_name(vfd));
632 int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev)
636 video_unregister_device(vfd);