Lines Matching refs:p_sco
150 tSCO_CONN *p_sco = NULL;
155 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
158 if (hci_status != HCI_SUCCESS || p_sco == NULL)
160 if (p_sco)
162 p_sco->state = (p_sco->state == SCO_ST_W4_CONN_RSP) ? SCO_ST_LISTENING
183 p_sco->state = SCO_ST_CONNECTING;
184 p_setup = &p_sco->esco.setup;
207 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO)
516 tSCO_CONN *p_sco;
525 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
526 p_sco->p_conn_cb = p_conn_cb;
527 p_sco->p_disc_cb = p_disc_cb;
528 p_sco->esco.data.link_type = BTM_LINK_TYPE_ESCO; /* Accept with all supported types */
532 btm_esco_conn_rsp(sco_inx, HCI_SUCCESS, p_sco->esco.data.bd_addr, p_setup);
841 tSCO_CB *p_sco = &btm_cb.sco_cb;
842 tSCO_CONN *p = &p_sco->sco_db[0];
868 && !(p_sco->def_esco_parms.packet_types & BTM_ESCO_LINK_ONLY_MASK)
869 && ((p_sco->def_esco_parms.packet_types & BTM_SCO_EXCEPTION_PKTS_MASK)
874 && !(p_sco->def_esco_parms.packet_types & BTM_SCO_LINK_ONLY_MASK)))
1556 tSCO_CONN *p_sco;
1564 p_sco = &btm_cb.sco_cb.sco_db[sco_inx];
1565 p_setup = &p_sco->esco.setup;
1568 if (p_sco->esco.data.link_type == BTM_LINK_TYPE_SCO ||
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,