Searched refs:NUM_MINORS (Results 1 – 4 of 4) sorted by relevance
| /linux/drivers/staging/greybus/ |
| H A D | authentication.c | 24 #define NUM_MINORS U8_MAX macro 327 minor = ida_alloc_max(&cap_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_cap_connection_init() 412 ret = alloc_chrdev_region(&cap_dev_num, 0, NUM_MINORS, in cap_init() 426 unregister_chrdev_region(cap_dev_num, NUM_MINORS); in cap_exit()
|
| H A D | fw-management.c | 56 #define NUM_MINORS U8_MAX macro 602 minor = ida_alloc_max(&fw_mgmt_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_fw_mgmt_connection_init() 688 ret = alloc_chrdev_region(&fw_mgmt_dev_num, 0, NUM_MINORS, in fw_mgmt_init() 702 unregister_chrdev_region(fw_mgmt_dev_num, NUM_MINORS); in fw_mgmt_exit()
|
| /linux/drivers/s390/char/ |
| H A D | vmur.h | 103 #define NUM_MINORS 65536 macro
|
| H A D | vmur.c | 1034 rc = alloc_chrdev_region(&dev, 0, NUM_MINORS, "vmur"); in ur_init() 1056 unregister_chrdev_region(ur_first_dev_maj_min, NUM_MINORS); in ur_exit()
|