Lines Matching refs:hdev
105 struct hci_dev *hdev = hcon->hdev; in sco_conn_add() local
120 if (hdev->sco_mtu > 0) in sco_conn_add()
121 conn->mtu = hdev->sco_mtu; in sco_conn_add()
217 struct hci_dev *hdev; in sco_connect() local
222 hdev = hci_get_route(&sco_pi(sk)->dst, &sco_pi(sk)->src, BDADDR_BREDR); in sco_connect()
223 if (!hdev) in sco_connect()
226 hci_dev_lock(hdev); in sco_connect()
228 if (lmp_esco_capable(hdev) && !disable_esco) in sco_connect()
234 (!lmp_transp_capable(hdev) || !lmp_esco_capable(hdev))) { in sco_connect()
239 hcon = hci_connect_sco(hdev, type, &sco_pi(sk)->dst, in sco_connect()
269 hci_dev_unlock(hdev); in sco_connect()
270 hci_dev_put(hdev); in sco_connect()
730 struct hci_dev *hdev = conn->hdev; in sco_conn_defer_accept() local
736 if (!lmp_esco_capable(hdev)) { in sco_conn_defer_accept()
742 hci_send_cmd(hdev, HCI_OP_ACCEPT_CONN_REQ, sizeof(cp), &cp); in sco_conn_defer_accept()
767 hci_send_cmd(hdev, HCI_OP_ACCEPT_SYNC_CONN_REQ, in sco_conn_defer_accept()
1083 int sco_connect_ind(struct hci_dev *hdev, bdaddr_t *bdaddr, __u8 *flags) in sco_connect_ind() argument
1088 BT_DBG("hdev %s, bdaddr %pMR", hdev->name, bdaddr); in sco_connect_ind()
1096 if (!bacmp(&sco_pi(sk)->src, &hdev->bdaddr) || in sco_connect_ind()