Home
last modified time | relevance | path

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

/openbmc/linux/drivers/misc/
H A Dphantom.c30 #define PHANTOM_MAX_MINORS 8 macro
60 static unsigned char phantom_devices[PHANTOM_MAX_MINORS];
327 for (i = 0; i < PHANTOM_MAX_MINORS; i++) in phantom_get_free()
348 if (minor == PHANTOM_MAX_MINORS) { in phantom_probe()
518 retval = alloc_chrdev_region(&dev, 0, PHANTOM_MAX_MINORS, "phantom"); in phantom_init()
536 unregister_chrdev_region(dev, PHANTOM_MAX_MINORS); in phantom_init()
549 unregister_chrdev_region(MKDEV(phantom_major, 0), PHANTOM_MAX_MINORS); in phantom_exit()