• Home
  • Raw
  • Download

Lines Matching refs:esco

130     enh_esco_params_t* p_setup = &p_sco->esco.setup;  in btm_esco_conn_rsp()
154 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO) { in btm_esco_conn_rsp()
385 p_sco->esco.data.link_type = in btm_accept_sco_link()
390 btm_esco_conn_rsp(sco_inx, HCI_SUCCESS, p_sco->esco.data.bd_addr, p_setup); in btm_accept_sco_link()
408 btm_cb.sco_cb.sco_db[sco_inx].esco.data.bd_addr, NULL); in btm_reject_sco_link()
462 (p->esco.data.bd_addr == *remote_bda)) { in BTM_CreateSco()
504 p->esco.data.bd_addr = *remote_bda; in BTM_CreateSco()
509 p_setup = &p->esco.setup; in BTM_CreateSco()
590 BTM_GetHCIConnHandle(p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR); in btm_sco_chk_pend_unpark()
592 LOG(INFO) << __func__ << ": " << p->esco.data.bd_addr in btm_sco_chk_pend_unpark()
596 if (btm_send_connect_request(acl_handle, &p->esco.setup) == in btm_sco_chk_pend_unpark()
601 << p->esco.data.bd_addr; in btm_sco_chk_pend_unpark()
628 p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == hci_handle)) in btm_sco_chk_pend_rolechange()
635 if ((btm_send_connect_request(acl_handle, &p->esco.setup)) == in btm_sco_chk_pend_rolechange()
663 (BTM_GetHCIConnHandle(p->esco.data.bd_addr, BT_TRANSPORT_BR_EDR)) == in btm_sco_disc_chk_pend_for_modechange()
697 bool rem_bd_matches = p->rem_bd_known && p->esco.data.bd_addr == bda; in btm_sco_conn_req()
703 p->esco.data.link_type = link_type; in btm_sco_conn_req()
705 p->esco.data.bd_addr = bda; in btm_sco_conn_req()
708 if (!p->esco.p_esco_cback) { in btm_sco_conn_req()
733 p->esco.p_esco_cback(BTM_ESCO_CONN_REQ_EVT, &btm_esco_evt_data); in btm_sco_conn_req()
750 p->esco.data.link_type = link_type; in btm_sco_conn_req()
751 p->esco.data.bd_addr = bda; in btm_sco_conn_req()
795 (p->rem_bd_known) && (!bda || p->esco.data.bd_addr == *bda)) { in btm_sco_connected()
829 p->esco.data.link_type = BTM_LINK_TYPE_SCO; in btm_sco_connected()
831 parms.packet_types = p->esco.setup.packet_types; in btm_sco_connected()
833 parms.max_latency_ms = p->esco.setup.max_latency_ms; in btm_sco_connected()
834 parms.retransmission_effort = p->esco.setup.retransmission_effort; in btm_sco_connected()
839 if (p_esco_data) p->esco.data = *p_esco_data; in btm_sco_connected()
901 p->esco.p_esco_cback = NULL; /* Deregister the eSCO event callback */ in BTM_RemoveSco()
905 if ((btm_read_power_mode_state(p->esco.data.bd_addr, &state) == in BTM_RemoveSco()
941 if (p->rem_bd_known && p->esco.data.bd_addr == bda) { in btm_remove_sco_links()
976 p->esco.p_esco_cback = NULL; /* Deregister eSCO callback */ in btm_sco_removed()
1005 if ((!bda) || (p->esco.data.bd_addr == *bda && p->rem_bd_known)) { in btm_sco_acl_removed()
1009 p->esco.p_esco_cback = NULL; /* Deregister eSCO callback */ in btm_sco_acl_removed()
1053 parms.max_latency_ms = p->esco.setup.max_latency_ms; in BTM_SetScoPacketTypes()
1054 parms.retransmission_effort = p->esco.setup.retransmission_effort; in BTM_SetScoPacketTypes()
1089 return (p->esco.setup.packet_types); in BTM_ReadScoPacketTypes()
1179 return &(p->esco.data.bd_addr); in BTM_ReadScoBdAddr()
1246 btm_cb.sco_cb.sco_db[sco_inx].esco.p_esco_cback = NULL; in BTM_RegForEScoEvts()
1252 btm_cb.sco_cb.sco_db[sco_inx].esco.p_esco_cback = p_esco_cback; in BTM_RegForEScoEvts()
1286 *p_parms = btm_cb.sco_cb.sco_db[sco_inx].esco.data; in BTM_ReadEScoLinkParms()
1294 *p_parms = btm_cb.sco_cb.sco_db[index].esco.data; in BTM_ReadEScoLinkParms()
1337 enh_esco_params_t* p_setup = &p_sco->esco.setup; in BTM_ChangeEScoLinkParms()
1343 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO || in BTM_ChangeEScoLinkParms()
1435 btm_cb.sco_cb.sco_db[sco_inx].esco.data.bd_addr, p_parms); in BTM_EScoConnRsp()
1480 if (p->esco.p_esco_cback) { in btm_esco_proc_conn_chg()
1481 data.bd_addr = p->esco.data.bd_addr; in btm_esco_proc_conn_chg()
1484 data.rx_pkt_len = p->esco.data.rx_pkt_len = rx_pkt_len; in btm_esco_proc_conn_chg()
1485 data.tx_pkt_len = p->esco.data.tx_pkt_len = tx_pkt_len; in btm_esco_proc_conn_chg()
1486 data.tx_interval = p->esco.data.tx_interval = tx_interval; in btm_esco_proc_conn_chg()
1487 data.retrans_window = p->esco.data.retrans_window = retrans_window; in btm_esco_proc_conn_chg()
1491 (*p->esco.p_esco_cback)(BTM_ESCO_CHG_EVT, &btm_esco_evt_data); in btm_esco_proc_conn_chg()
1569 if (p->esco.data.bd_addr == remote_bda && p->state == SCO_ST_CONNECTED) { in btm_is_sco_active_by_bdaddr()