Searched refs:bt_class (Results 1 – 3 of 3) sorted by relevance
9 static struct class *bt_class; variable39 conn->dev.class = bt_class; in hci_conn_init_sysfs()106 dev->class = bt_class; in hci_init_sysfs()114 bt_class = class_create(THIS_MODULE, "bluetooth"); in bt_sysfs_init()116 return PTR_ERR_OR_ZERO(bt_class); in bt_sysfs_init()121 class_destroy(bt_class); in bt_sysfs_cleanup()
78 struct class *bt_class; member136 struct class *bt_class; member
936 device_destroy(dev->bt_class, dev->cdev->dev); in bt_cdev_device_destroy()952 dev->bt_class = cls; in bt_cdev_device_create()999 if (unlikely(bt_cdev_device_create(dev, g_bt_drv->bt_class, minor) < 0)) { in bt_cdev_create()1262 bt_dev_class_destroy(g_bt_drv->bt_class); in bt_module_release()1297 g_bt_drv->bt_class = bt_dev_class_create(); in __bt_module_base_init()1298 if (unlikely(!g_bt_drv->bt_class)) { in __bt_module_base_init()1316 bt_dev_class_destroy(g_bt_drv->bt_class); in __bt_module_base_init()1362 bt_dev_class_destroy(g_bt_drv->bt_class); in __bt_module_dev_create()