Searched refs:UIO_MAX_DEVICES (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/uio/ |
H A D | uio.c | 28 #define UIO_MAX_DEVICES (1U << MINORBITS) macro 406 retval = idr_alloc(&uio_idr, idev, 0, UIO_MAX_DEVICES, GFP_KERNEL); in uio_get_minor() 837 result = alloc_chrdev_region(&uio_dev, 0, UIO_MAX_DEVICES, name); in uio_major_init() 850 result = cdev_add(cdev, uio_dev, UIO_MAX_DEVICES); in uio_major_init() 860 unregister_chrdev_region(uio_dev, UIO_MAX_DEVICES); in uio_major_init() 867 unregister_chrdev_region(MKDEV(uio_major, 0), UIO_MAX_DEVICES); in uio_major_cleanup()
|