Lines Matching refs:video_devices
101 static struct video_device *video_devices[VIDEO_NUM_DEVICES]; variable
183 if (WARN_ON(video_devices[vdev->minor] != vdev)) { in v4l2_device_release()
190 video_devices[vdev->minor] = NULL; in v4l2_device_release()
239 return video_devices[iminor(file_inode(file))]; in video_devdata()
513 if (video_devices[i] != NULL && in get_index()
514 video_devices[i]->v4l2_dev == vdev->v4l2_dev) { in get_index()
515 __set_bit(video_devices[i]->index, used); in get_index()
1012 if (video_devices[i] == NULL) in __video_register_device()
1024 if (WARN_ON(video_devices[vdev->minor])) { in __video_register_device()
1031 video_devices[vdev->minor] = vdev; in __video_register_device()
1089 video_devices[vdev->minor] = NULL; in __video_register_device()