Home
last modified time | relevance | path

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

/drivers/media/v4l2-core/
A Dv4l2-dev.c34 #define VIDEO_NUM_DEVICES 256 macro
101 static struct video_device *video_devices[VIDEO_NUM_DEVICES];
507 static DECLARE_BITMAP(used, VIDEO_NUM_DEVICES); in get_index()
510 bitmap_zero(used, VIDEO_NUM_DEVICES); in get_index()
512 for (i = 0; i < VIDEO_NUM_DEVICES; i++) { in get_index()
519 return find_first_zero_bit(used, VIDEO_NUM_DEVICES); in get_index()
909 int minor_cnt = VIDEO_NUM_DEVICES; in __video_register_device()
1011 for (i = 0; i < VIDEO_NUM_DEVICES; i++) in __video_register_device()
1014 if (i == VIDEO_NUM_DEVICES) { in __video_register_device()
1223 unregister_chrdev_region(dev, VIDEO_NUM_DEVICES); in videodev_init()
[all …]

Completed in 7 milliseconds