Home
last modified time | relevance | path

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

/openbmc/linux/drivers/staging/greybus/
H A Draw.c41 #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()
H A Dauthentication.c24 #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()
H A Dfw-management.c56 #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()
/openbmc/linux/drivers/s390/char/
H A Dvmur.h103 #define NUM_MINORS 65536 macro
H A Dvmur.c1035 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()