Searched refs:NUM_MINORS (Results 1 – 5 of 5) sorted by relevance
/linux-5.19.10/drivers/staging/greybus/ |
D | raw.c | 41 #define NUM_MINORS 256 macro 349 retval = alloc_chrdev_region(&dev, 0, NUM_MINORS, "gb_raw"); in raw_init() 362 unregister_chrdev_region(dev, NUM_MINORS); in raw_init() 373 unregister_chrdev_region(MKDEV(raw_major, 0), NUM_MINORS); in raw_exit()
|
D | authentication.c | 24 #define NUM_MINORS U8_MAX macro 324 minor = ida_simple_get(&cap_minors_map, 0, NUM_MINORS, GFP_KERNEL); in gb_cap_connection_init() 409 ret = alloc_chrdev_region(&cap_dev_num, 0, NUM_MINORS, in cap_init() 423 unregister_chrdev_region(cap_dev_num, NUM_MINORS); in cap_exit()
|
D | fw-management.c | 56 #define NUM_MINORS U8_MAX macro 617 minor = ida_simple_get(&fw_mgmt_minors_map, 0, NUM_MINORS, GFP_KERNEL); in gb_fw_mgmt_connection_init() 703 ret = alloc_chrdev_region(&fw_mgmt_dev_num, 0, NUM_MINORS, in fw_mgmt_init() 717 unregister_chrdev_region(fw_mgmt_dev_num, NUM_MINORS); in fw_mgmt_exit()
|
/linux-5.19.10/drivers/s390/char/ |
D | vmur.h | 101 #define NUM_MINORS 65536 macro
|
D | vmur.c | 1004 rc = alloc_chrdev_region(&dev, 0, NUM_MINORS, "vmur"); in ur_init() 1026 unregister_chrdev_region(ur_first_dev_maj_min, NUM_MINORS); in ur_exit()
|