Lines Matching refs:hci_handle

525       p->hci_handle = BTM_INVALID_HCI_HANDLE;  in BTM_CreateSco()
585 void btm_sco_chk_pend_unpark(uint8_t hci_status, uint16_t hci_handle) { in btm_sco_chk_pend_unpark() argument
591 if ((p->state == SCO_ST_PEND_UNPARK) && (acl_handle == hci_handle)) { in btm_sco_chk_pend_unpark()
619 void btm_sco_chk_pend_rolechange(uint16_t hci_handle) { in btm_sco_chk_pend_rolechange() argument
628 p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_rolechange()
654 void btm_sco_disc_chk_pend_for_modechange(uint16_t hci_handle) { in btm_sco_disc_chk_pend_for_modechange() argument
659 hci_handle, p->state); in btm_sco_disc_chk_pend_for_modechange()
664 hci_handle) in btm_sco_disc_chk_pend_for_modechange()
667 BTM_TRACE_DEBUG("%s: SCO Link handle 0x%04x", __func__, p->hci_handle); in btm_sco_disc_chk_pend_for_modechange()
781 uint16_t hci_handle, tBTM_ESCO_DATA* p_esco_data) { in btm_sco_connected() argument
803 hci_handle); in btm_sco_connected()
826 p->hci_handle = hci_handle; in btm_sco_connected()
866 if ((p->state == SCO_ST_CONNECTED) && (p->hci_handle == handle)) { in btm_find_scb_by_handle()
897 if (p->hci_handle == BTM_INVALID_HCI_HANDLE || in BTM_RemoveSco()
899 p->hci_handle = BTM_INVALID_HCI_HANDLE; in BTM_RemoveSco()
909 __func__, p->hci_handle); in BTM_RemoveSco()
917 btsnd_hcic_disconnect(p->hci_handle, HCI_ERR_PEER_USER); in BTM_RemoveSco()
958 void btm_sco_removed(uint16_t hci_handle, uint8_t reason) { in btm_sco_removed() argument
970 (p->hci_handle == hci_handle)) { in btm_sco_removed()
974 p->hci_handle = BTM_INVALID_HCI_HANDLE; in btm_sco_removed()
1158 p_sco->hci_handle, p_setup->packet_types); in BTM_ChangeEScoLinkParms()
1161 p_sco->hci_handle, p_setup->packet_types); in BTM_ChangeEScoLinkParms()
1163 btsnd_hcic_change_conn_type(p_sco->hci_handle, in BTM_ChangeEScoLinkParms()
1178 p_sco->hci_handle); in BTM_ChangeEScoLinkParms()
1192 btsnd_hcic_enhanced_set_up_synchronous_connection(p_sco->hci_handle, in BTM_ChangeEScoLinkParms()
1199 btsnd_hcic_setup_esco_conn(p_sco->hci_handle, p_setup->transmit_bandwidth, in BTM_ChangeEScoLinkParms()
1286 if (p->state == SCO_ST_CONNECTED && handle == p->hci_handle) { in btm_esco_proc_conn_chg()
1323 if (handle == p->hci_handle && p->state == SCO_ST_CONNECTED) return (true); in btm_is_sco_active()