Searched refs:HL_MAX_MINORS (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/accel/habanalabs/common/ |
H A D | habanalabs_drv.c | 421 id = idr_alloc(&hl_devs_idr, hdev, 0, HL_MAX_MINORS, GFP_KERNEL); in allocate_device_id() 748 rc = alloc_chrdev_region(&dev, 0, HL_MAX_MINORS, HL_NAME); in hl_init() 767 unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS); in hl_init() 778 unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS); in hl_exit()
|
H A D | habanalabs.h | 2582 #define HL_MAX_MINORS 256 macro
|