Lines Matching refs:hci_handle

353             UINT16_TO_STREAM (p, p_ccb->hci_handle);
684 p->hci_handle = BTM_INVALID_HCI_HANDLE;
741 void btm_sco_chk_pend_unpark (UINT8 hci_status, UINT16 hci_handle)
751 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
775 void btm_sco_chk_pend_rolechange (UINT16 hci_handle)
785 … ((acl_handle = BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle))
807 void btm_sco_disc_chk_pend_for_modechange (UINT16 hci_handle)
813 hci_handle, p->state);
818 (BTM_GetHCIConnHandle (p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)
821 BTM_TRACE_DEBUG("%s: SCO Link handle 0x%04x", __func__, p->hci_handle);
936 void btm_sco_connected (UINT8 hci_status, BD_ADDR bda, UINT16 hci_handle,
965 BTM_TRACE_API("Role Change pending for HCI handle 0x%04x",hci_handle);
994 p->hci_handle = hci_handle;
1042 if ((p->state == SCO_ST_CONNECTED) && (p->hci_handle == handle))
1075 if (p->hci_handle == BTM_INVALID_HCI_HANDLE || p->state == SCO_ST_PEND_UNPARK)
1077 p->hci_handle = BTM_INVALID_HCI_HANDLE;
1087 __func__, p->hci_handle);
1095 if (!btsnd_hcic_disconnect (p->hci_handle, HCI_ERR_PEER_USER))
1142 void btm_sco_removed (UINT16 hci_handle, UINT8 reason)
1155 …if ((p->state != SCO_ST_UNUSED) && (p->state != SCO_ST_LISTENING) && (p->hci_handle == hci_handle))
1160 p->hci_handle = BTM_INVALID_HCI_HANDLE;
1354 return (p->hci_handle);
1576 p_sco->hci_handle, p_setup->packet_types);
1578 if (!btsnd_hcic_change_conn_type (p_sco->hci_handle,
1591 BTM_TRACE_API("BTM_ChangeEScoLinkParms -> eSCO Link for handle 0x%04x", p_sco->hci_handle);
1597 if (!btsnd_hcic_setup_esco_conn(p_sco->hci_handle, p_setup->tx_bw,
1688 if (p->state == SCO_ST_CONNECTED && handle == p->hci_handle)
1728 if (handle == p->hci_handle && p->state == SCO_ST_CONNECTED)