Lines Matching refs:p_setup

141     enh_esco_params_t* p_setup = &p_sco->esco.setup;  in btm_esco_conn_rsp()  local
144 *p_setup = *p_parms; in btm_esco_conn_rsp()
147 *p_setup = btm_cb.sco_cb.def_esco_parms; in btm_esco_conn_rsp()
154 p_setup->input_data_path = p_setup->output_data_path = in btm_esco_conn_rsp()
160 __func__, p_setup->transmit_bandwidth, p_setup->receive_bandwidth, in btm_esco_conn_rsp()
161 p_setup->max_latency_ms, p_setup->retransmission_effort, in btm_esco_conn_rsp()
162 p_setup->packet_types, p_setup->input_data_path); in btm_esco_conn_rsp()
164 btsnd_hcic_enhanced_accept_synchronous_connection(bda, p_setup); in btm_esco_conn_rsp()
168 uint16_t voice_content_format = btm_sco_voice_settings_to_legacy(p_setup); in btm_esco_conn_rsp()
170 bda, p_setup->transmit_bandwidth, p_setup->receive_bandwidth, in btm_esco_conn_rsp()
171 p_setup->max_latency_ms, voice_content_format, in btm_esco_conn_rsp()
172 p_setup->retransmission_effort, p_setup->packet_types); in btm_esco_conn_rsp()
201 enh_esco_params_t* p_setup) { in btm_send_connect_request() argument
206 btsnd_hcic_add_SCO_conn(acl_handle, BTM_ESCO_2_SCO(p_setup->packet_types)); in btm_send_connect_request()
209 (p_setup->packet_types & in btm_send_connect_request()
215 ((p_setup->packet_types & BTM_SCO_EXCEPTION_PKTS_MASK) | in btm_send_connect_request()
277 uint16_t saved_packet_types = p_setup->packet_types; in btm_send_connect_request()
278 p_setup->packet_types = temp_packet_types; in btm_send_connect_request()
286 p_setup->input_data_path = p_setup->output_data_path = in btm_send_connect_request()
289 << " txbw=0x" << unsigned(p_setup->transmit_bandwidth) in btm_send_connect_request()
290 << ", rxbw=0x" << unsigned(p_setup->receive_bandwidth) in btm_send_connect_request()
291 << ", latency_ms=0x" << unsigned(p_setup->max_latency_ms) in btm_send_connect_request()
293 << unsigned(p_setup->retransmission_effort) << ", pkt_type=0x" in btm_send_connect_request()
294 << unsigned(p_setup->packet_types) << ", path=0x" in btm_send_connect_request()
295 << unsigned(p_setup->input_data_path); in btm_send_connect_request()
296 btsnd_hcic_enhanced_set_up_synchronous_connection(acl_handle, p_setup); in btm_send_connect_request()
297 p_setup->packet_types = saved_packet_types; in btm_send_connect_request()
300 uint16_t voice_content_format = btm_sco_voice_settings_to_legacy(p_setup); in btm_send_connect_request()
302 << " txbw=0x" << unsigned(p_setup->transmit_bandwidth) in btm_send_connect_request()
303 << ", rxbw=0x" << unsigned(p_setup->receive_bandwidth) in btm_send_connect_request()
304 << ", latency_ms=0x" << unsigned(p_setup->max_latency_ms) in btm_send_connect_request()
306 << unsigned(p_setup->retransmission_effort) in btm_send_connect_request()
308 << ", pkt_type=0x" << unsigned(p_setup->packet_types); in btm_send_connect_request()
310 acl_handle, p_setup->transmit_bandwidth, p_setup->receive_bandwidth, in btm_send_connect_request()
311 p_setup->max_latency_ms, voice_content_format, in btm_send_connect_request()
312 p_setup->retransmission_effort, p_setup->packet_types); in btm_send_connect_request()
342 enh_esco_params_t* p_setup; in BTM_CreateSco() local
419 p_setup = &p->esco.setup; in BTM_CreateSco()
420 *p_setup = btm_cb.sco_cb.def_esco_parms; in BTM_CreateSco()
423 p_setup->packet_types = pkt_types & BTM_SCO_SUPPORTED_PKTS_MASK & in BTM_CreateSco()
428 p_setup->packet_types |= in BTM_CreateSco()
455 if ((btm_send_connect_request(acl_handle, p_setup)) != in BTM_CreateSco()
1085 enh_esco_params_t* p_setup = &p_sco->esco.setup; in BTM_ChangeEScoLinkParms() local
1088 uint16_t saved_packet_types = p_setup->packet_types; in BTM_ChangeEScoLinkParms()
1093 p_setup->packet_types = in BTM_ChangeEScoLinkParms()
1098 p_sco->hci_handle, p_setup->packet_types); in BTM_ChangeEScoLinkParms()
1101 p_sco->hci_handle, p_setup->packet_types); in BTM_ChangeEScoLinkParms()
1104 BTM_ESCO_2_SCO(p_setup->packet_types)); in BTM_ChangeEScoLinkParms()
1115 p_setup->packet_types = temp_packet_types; in BTM_ChangeEScoLinkParms()
1121 p_setup->transmit_bandwidth, p_setup->receive_bandwidth, in BTM_ChangeEScoLinkParms()
1129 p_setup->input_data_path = p_setup->output_data_path = in BTM_ChangeEScoLinkParms()
1133 p_setup); in BTM_ChangeEScoLinkParms()
1134 p_setup->packet_types = saved_packet_types; in BTM_ChangeEScoLinkParms()
1136 uint16_t voice_content_format = btm_sco_voice_settings_to_legacy(p_setup); in BTM_ChangeEScoLinkParms()
1139 btsnd_hcic_setup_esco_conn(p_sco->hci_handle, p_setup->transmit_bandwidth, in BTM_ChangeEScoLinkParms()
1140 p_setup->receive_bandwidth, in BTM_ChangeEScoLinkParms()
1143 p_setup->packet_types); in BTM_ChangeEScoLinkParms()
1148 __func__, p_setup->transmit_bandwidth, p_setup->receive_bandwidth, in BTM_ChangeEScoLinkParms()