Lines Matching defs:cdev
164 * device_init_cdev - Initialize cdev and device for habanalabs device
171 * @cdev: pointer to the char device object that will be initialized
174 * Initialize a cdev and a Linux device for habanalabs's device.
178 char *name, struct cdev *cdev,
181 cdev_init(cdev, fops);
182 cdev->owner = THIS_MODULE;
202 rc = cdev_device_add(&hdev->cdev, hdev->dev);
230 cdev_device_del(&hdev->cdev, hdev->dev);
241 cdev_device_del(&hdev->cdev, hdev->dev);
1132 * ASIC specific initialization functions. Finally, create the cdev and the
1147 /* Initialize cdev and device structures */
1149 &hdev->cdev, &hdev->dev);
1162 /* Initialize cdev and device structures for control device */