Lines Matching refs:vfd
591 int saa7146_register_device(struct video_device *vfd, struct saa7146_dev *dev, in saa7146_register_device() argument
599 vfd->fops = &video_fops; in saa7146_register_device()
601 vfd->ioctl_ops = &dev->ext_vv_data->vid_ops; in saa7146_register_device()
603 vfd->ioctl_ops = &dev->ext_vv_data->vbi_ops; in saa7146_register_device()
604 vfd->release = video_device_release_empty; in saa7146_register_device()
605 vfd->lock = &dev->v4l2_lock; in saa7146_register_device()
606 vfd->v4l2_dev = &dev->v4l2_dev; in saa7146_register_device()
607 vfd->tvnorms = 0; in saa7146_register_device()
609 vfd->tvnorms |= dev->ext_vv_data->stds[i].id; in saa7146_register_device()
610 strscpy(vfd->name, name, sizeof(vfd->name)); in saa7146_register_device()
611 vfd->device_caps = V4L2_CAP_VIDEO_CAPTURE | V4L2_CAP_VIDEO_OVERLAY | in saa7146_register_device()
613 vfd->device_caps |= dev->ext_vv_data->capabilities; in saa7146_register_device()
615 vfd->device_caps &= in saa7146_register_device()
618 vfd->device_caps &= in saa7146_register_device()
620 video_set_drvdata(vfd, dev); in saa7146_register_device()
622 err = video_register_device(vfd, type, -1); in saa7146_register_device()
629 dev->name, video_device_node_name(vfd)); in saa7146_register_device()
634 int saa7146_unregister_device(struct video_device *vfd, struct saa7146_dev *dev) in saa7146_unregister_device() argument
638 video_unregister_device(vfd); in saa7146_unregister_device()