Lines Matching refs:hdev
26 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local
28 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_init_sysfs()
32 conn->dev.parent = &hdev->dev; in hci_conn_init_sysfs()
39 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local
41 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_add_sysfs()
46 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle); in hci_conn_add_sysfs()
49 bt_dev_err(hdev, "failed to register connection device"); in hci_conn_add_sysfs()
54 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local
56 bt_dev_dbg(hdev, "conn %p", conn); in hci_conn_del_sysfs()
84 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local
86 if (hci_dev_test_flag(hdev, HCI_UNREGISTER)) in bt_host_release()
87 hci_release_dev(hdev); in bt_host_release()
89 kfree(hdev); in bt_host_release()
96 struct hci_dev *hdev = to_hci_dev(dev); in reset_store() local
98 if (hdev->reset) in reset_store()
99 hdev->reset(hdev); in reset_store()
117 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs() argument
119 struct device *dev = &hdev->dev; in hci_init_sysfs()