Lines Matching refs:hdev
36 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local
38 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_init_sysfs()
42 conn->dev.parent = &hdev->dev; in hci_conn_init_sysfs()
49 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local
51 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_add_sysfs()
56 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle); in hci_conn_add_sysfs()
59 bt_dev_err(hdev, "failed to register connection device"); in hci_conn_add_sysfs()
64 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local
66 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_del_sysfs()
91 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local
93 if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) in bt_host_release()
94 hci_release_dev(hdev); in bt_host_release()
96 kfree(hdev); in bt_host_release()
105 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs() argument
107 struct device *dev = &hdev->dev; in hci_init_sysfs()