Searched refs:NUM_MINORS (Results 1 – 5 of 5) sorted by relevance
/linux-6.12.1/drivers/staging/greybus/ |
D | raw.c | 44 #define NUM_MINORS 256 macro 350 retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); in raw_init() 363 unregister_chrdev_region(dev, NUM_MINORS); in raw_init() 374 unregister_chrdev_region(MKDEV(raw_major, 0), NUM_MINORS); in raw_exit()
|
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()
|
D | fw-management.c | 56 #define NUM_MINORS U8_MAX macro 616 minor = ida_alloc_max(&fw_mgmt_minors_map, NUM_MINORS - 1, GFP_KERNEL); in gb_fw_mgmt_connection_init() 702 ret = alloc_chrdev_region(&fw_mgmt_dev_num, 0, NUM_MINORS, in fw_mgmt_init() 716 unregister_chrdev_region(fw_mgmt_dev_num, NUM_MINORS); in fw_mgmt_exit()
|
/linux-6.12.1/drivers/s390/char/ |
D | vmur.h | 103 #define NUM_MINORS 65536 macro
|
D | vmur.c | 1035 rc = alloc_chrdev_region(&dev, 0, NUM_MINORS, "vmur"); in ur_init() 1057 unregister_chrdev_region(ur_first_dev_maj_min, NUM_MINORS); in ur_exit()
|