Home
last modified time | relevance | path

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

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