Searched refs:HL_MAX_MINORS (Results 1 – 2 of 2) sorted by relevance
/linux-6.6.21/drivers/accel/habanalabs/common/ |
D | habanalabs_drv.c | 445 main_id = idr_alloc(&hl_devs_idr, hdev, 0, HL_MAX_MINORS, GFP_KERNEL); in create_hdev() 689 rc = alloc_chrdev_region(&dev, 0, HL_MAX_MINORS, HL_NAME); in hl_init() 720 unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS); in hl_init() 739 unregister_chrdev_region(MKDEV(hl_major, 0), HL_MAX_MINORS); in hl_exit()
|
D | habanalabs.h | 2518 #define HL_MAX_MINORS 256 macro
|