Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/mc/
H A Dmc-devnode.c37 #define MEDIA_NUM_DEVICES 256 macro
46 static DECLARE_BITMAP(media_devnode_nums, MEDIA_NUM_DEVICES);
220 minor = find_first_zero_bit(media_devnode_nums, MEDIA_NUM_DEVICES); in media_devnode_register()
221 if (minor == MEDIA_NUM_DEVICES) { in media_devnode_register()
299 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()
308 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_init()
319 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_exit()