Lines Matching refs:hdev
78 struct hci_dev *hdev = conn->hdev; in hci_conn_init_sysfs() local
84 conn->dev.parent = &hdev->dev; in hci_conn_init_sysfs()
91 struct hci_dev *hdev = conn->hdev; in hci_conn_add_sysfs() local
95 dev_set_name(&conn->dev, "%s:%d", hdev->name, conn->handle); in hci_conn_add_sysfs()
102 hci_dev_hold(hdev); in hci_conn_add_sysfs()
107 struct hci_dev *hdev = conn->hdev; in hci_conn_del_sysfs() local
124 hci_dev_put(hdev); in hci_conn_del_sysfs()
142 struct hci_dev *hdev = to_hci_dev(dev); in show_type() local
143 return sprintf(buf, "%s\n", host_typetostr(hdev->dev_type)); in show_type()
149 struct hci_dev *hdev = to_hci_dev(dev); in show_name() local
154 name[i] = hdev->dev_name[i]; in show_name()
163 struct hci_dev *hdev = to_hci_dev(dev); in show_address() local
164 return sprintf(buf, "%pMR\n", &hdev->bdaddr); in show_address()
182 struct hci_dev *hdev = to_hci_dev(dev); in bt_host_release() local
183 kfree(hdev); in bt_host_release()
193 void hci_init_sysfs(struct hci_dev *hdev) in hci_init_sysfs() argument
195 struct device *dev = &hdev->dev; in hci_init_sysfs()