Home
last modified time | relevance | path

Searched refs:VIDEO_NUM_DEVICES (Results 1 - 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/v4l2-core/
H A Dv4l2-dev.c32 #define VIDEO_NUM_DEVICES 256 macro
98 static struct video_device *video_devices[VIDEO_NUM_DEVICES];
100 static DECLARE_BITMAP(devnode_nums[VFL_TYPE_MAX], VIDEO_NUM_DEVICES);
493 * the worst case scenario is that there are VIDEO_NUM_DEVICES - 1 slots in
502 static DECLARE_BITMAP(used, VIDEO_NUM_DEVICES); in get_index()
505 bitmap_zero(used, VIDEO_NUM_DEVICES); in get_index()
507 for (i = 0; i < VIDEO_NUM_DEVICES; i++) { in get_index()
514 return find_first_zero_bit(used, VIDEO_NUM_DEVICES); in get_index()
884 int minor_cnt = VIDEO_NUM_DEVICES; in __video_register_device()
986 for (i = 0; i < VIDEO_NUM_DEVICES; in __video_register_device()
[all...]
/kernel/linux/linux-6.6/drivers/media/v4l2-core/
H A Dv4l2-dev.c34 #define VIDEO_NUM_DEVICES 256 macro
99 static struct video_device *video_devices[VIDEO_NUM_DEVICES];
101 static DECLARE_BITMAP(devnode_nums[VFL_TYPE_MAX], VIDEO_NUM_DEVICES);
497 * the worst case scenario is that there are VIDEO_NUM_DEVICES - 1 slots in
506 static DECLARE_BITMAP(used, VIDEO_NUM_DEVICES); in get_index()
509 bitmap_zero(used, VIDEO_NUM_DEVICES); in get_index()
511 for (i = 0; i < VIDEO_NUM_DEVICES; i++) { in get_index()
518 return find_first_zero_bit(used, VIDEO_NUM_DEVICES); in get_index()
888 int minor_cnt = VIDEO_NUM_DEVICES; in __video_register_device()
990 for (i = 0; i < VIDEO_NUM_DEVICES; in __video_register_device()
[all...]

Completed in 3 milliseconds