Lines Matching refs:vfd
350 unsigned int i = vdev - dev->vfd; in to_coda_video_device()
1913 struct video_device *vfd = &dev->vfd[i]; in coda_register_device() local
1918 strlcpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name)); in coda_register_device()
1919 vfd->fops = &coda_fops; in coda_register_device()
1920 vfd->ioctl_ops = &coda_ioctl_ops; in coda_register_device()
1921 vfd->release = video_device_release_empty, in coda_register_device()
1922 vfd->lock = &dev->dev_mutex; in coda_register_device()
1923 vfd->v4l2_dev = &dev->v4l2_dev; in coda_register_device()
1924 vfd->vfl_dir = VFL_DIR_M2M; in coda_register_device()
1925 video_set_drvdata(vfd, dev); in coda_register_device()
1928 v4l2_disable_ioctl(vfd, VIDIOC_CROPCAP); in coda_register_device()
1929 v4l2_disable_ioctl(vfd, VIDIOC_G_CROP); in coda_register_device()
1930 v4l2_disable_ioctl(vfd, VIDIOC_S_CROP); in coda_register_device()
1932 return video_register_device(vfd, VFL_TYPE_GRABBER, 0); in coda_register_device()
1989 dev->vfd[0].num, dev->vfd[i - 1].num); in coda_fw_callback()
1996 video_unregister_device(&dev->vfd[i]); in coda_fw_callback()
2244 for (i = 0; i < ARRAY_SIZE(dev->vfd); i++) { in coda_remove()
2245 if (video_get_drvdata(&dev->vfd[i])) in coda_remove()
2246 video_unregister_device(&dev->vfd[i]); in coda_remove()