Home
last modified time | relevance | path

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

/linux-3.4.99/drivers/media/video/
Dv4l2-dev.c34 #define VIDEO_NUM_DEVICES 256 macro
66 static struct video_device *video_device[VIDEO_NUM_DEVICES];
68 static DECLARE_BITMAP(devnode_nums[VFL_TYPE_MAX], VIDEO_NUM_DEVICES);
492 static DECLARE_BITMAP(used, VIDEO_NUM_DEVICES); in get_index()
499 bitmap_zero(used, VIDEO_NUM_DEVICES); in get_index()
501 for (i = 0; i < VIDEO_NUM_DEVICES; i++) { in get_index()
508 return find_first_zero_bit(used, VIDEO_NUM_DEVICES); in get_index()
549 int minor_cnt = VIDEO_NUM_DEVICES; in __video_register_device()
640 for (i = 0; i < VIDEO_NUM_DEVICES; i++) in __video_register_device()
643 if (i == VIDEO_NUM_DEVICES) { in __video_register_device()
[all …]