Searched refs:hclass (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.10/drivers/misc/habanalabs/common/ |
D | device.c | 174 static int device_init_cdev(struct hl_device *hdev, struct class *hclass, in device_init_cdev() argument 188 (*dev)->class = hclass; in device_init_cdev() 1131 int hl_device_init(struct hl_device *hdev, struct class *hclass) in hl_device_init() argument 1144 rc = device_init_cdev(hdev, hclass, hdev->id, &hl_ops, name, in hl_device_init() 1159 rc = device_init_cdev(hdev, hclass, hdev->id_control, &hl_ctrl_ops, in hl_device_init()
|
D | habanalabs.h | 1840 int hl_device_init(struct hl_device *hdev, struct class *hclass);
|