Searched refs:MEDIA_NUM_DEVICES (Results 1 – 1 of 1) sorted by relevance
37 #define MEDIA_NUM_DEVICES 256 macro46 static DECLARE_BITMAP(media_devnode_nums, MEDIA_NUM_DEVICES);220 minor = find_next_zero_bit(media_devnode_nums, MEDIA_NUM_DEVICES, 0); in media_devnode_register()221 if (minor == MEDIA_NUM_DEVICES) { in media_devnode_register()300 ret = alloc_chrdev_region(&media_dev_t, 0, MEDIA_NUM_DEVICES, in media_devnode_init()309 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_init()320 unregister_chrdev_region(media_dev_t, MEDIA_NUM_DEVICES); in media_devnode_exit()