Lines Matching refs:video_devices
99 static struct video_device *video_devices[VIDEO_NUM_DEVICES]; variable
181 if (WARN_ON(video_devices[vdev->minor] != vdev)) { in v4l2_device_release()
188 video_devices[vdev->minor] = NULL; in v4l2_device_release()
237 return video_devices[iminor(file_inode(file))]; in video_devdata()
512 if (video_devices[i] != NULL && in get_index()
513 video_devices[i]->v4l2_dev == vdev->v4l2_dev) { in get_index()
514 __set_bit(video_devices[i]->index, used); in get_index()
990 if (video_devices[i] == NULL) in __video_register_device()
1002 if (WARN_ON(video_devices[vdev->minor])) { in __video_register_device()
1009 video_devices[vdev->minor] = vdev; in __video_register_device()
1064 video_devices[vdev->minor] = NULL; in __video_register_device()