Lines Matching refs:vfd
299 unsigned int i = vdev - dev->vfd; in to_coda_video_device()
1932 struct video_device *vfd = &dev->vfd[i]; in coda_register_device() local
1937 strlcpy(vfd->name, dev->devtype->vdevs[i]->name, sizeof(vfd->name)); in coda_register_device()
1938 vfd->fops = &coda_fops; in coda_register_device()
1939 vfd->ioctl_ops = &coda_ioctl_ops; in coda_register_device()
1940 vfd->release = video_device_release_empty, in coda_register_device()
1941 vfd->lock = &dev->dev_mutex; in coda_register_device()
1942 vfd->v4l2_dev = &dev->v4l2_dev; in coda_register_device()
1943 vfd->vfl_dir = VFL_DIR_M2M; in coda_register_device()
1944 video_set_drvdata(vfd, dev); in coda_register_device()
1947 v4l2_disable_ioctl(vfd, VIDIOC_CROPCAP); in coda_register_device()
1948 v4l2_disable_ioctl(vfd, VIDIOC_G_CROP); in coda_register_device()
1949 v4l2_disable_ioctl(vfd, VIDIOC_S_CROP); in coda_register_device()
1951 return video_register_device(vfd, VFL_TYPE_GRABBER, 0); in coda_register_device()
2008 dev->vfd[0].num, dev->vfd[i - 1].num); in coda_fw_callback()
2015 video_unregister_device(&dev->vfd[i]); in coda_fw_callback()
2261 for (i = 0; i < ARRAY_SIZE(dev->vfd); i++) { in coda_remove()
2262 if (video_get_drvdata(&dev->vfd[i])) in coda_remove()
2263 video_unregister_device(&dev->vfd[i]); in coda_remove()