Home
last modified time | relevance | path

Searched refs:video_devices (Results 1 – 2 of 2) sorted by relevance

/linux-5.19.10/drivers/media/v4l2-core/
Dv4l2-dev.c99 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()
[all …]
/linux-5.19.10/drivers/staging/most/video/
Dvideo.c55 static LIST_HEAD(video_devices);
375 list_for_each_entry(mdev, &video_devices, list) { in get_comp_dev()
499 list_add(&mdev->list, &video_devices); in comp_probe_channel()
563 list_for_each_entry_safe(mdev, tmp, &video_devices, list) { in comp_exit()
576 BUG_ON(!list_empty(&video_devices)); in comp_exit()