Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/media/v4l2-core/
Dv4l2-dev.c102 static struct video_device *video_devices[VIDEO_NUM_DEVICES]; variable
184 if (WARN_ON(video_devices[vdev->minor] != vdev)) { in v4l2_device_release()
191 video_devices[vdev->minor] = NULL; in v4l2_device_release()
240 return video_devices[iminor(file_inode(file))]; in video_devdata()
498 if (video_devices[i] != NULL && in get_index()
499 video_devices[i]->v4l2_dev == vdev->v4l2_dev) { in get_index()
500 set_bit(video_devices[i]->index, used); in get_index()
937 if (video_devices[i] == NULL) in __video_register_device()
949 if (WARN_ON(video_devices[vdev->minor])) { in __video_register_device()
956 video_devices[vdev->minor] = vdev; in __video_register_device()
[all …]
/Linux-v4.19/drivers/staging/most/video/
Dvideo.c56 static struct list_head video_devices = LIST_HEAD_INIT(video_devices); variable
380 list_for_each_entry(mdev, &video_devices, list) { in get_comp_dev()
503 list_add(&mdev->list, &video_devices); in comp_probe_channel()
557 list_for_each_entry_safe(mdev, tmp, &video_devices, list) { in comp_exit()
569 BUG_ON(!list_empty(&video_devices)); in comp_exit()