/system/bt/stack/avct/ |
avct_l2c_br.cc | 76 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 77 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 227 void avct_l2c_br_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 235 if (p_cfg->result == L2CAP_CFG_OK) { 248 p_lcb->ch_result = p_cfg->result; 265 void avct_l2c_br_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 273 p_cfg->flush_to_present = false; 274 p_cfg->qos_present = false; 282 if (p_cfg->mtu_present) { 283 p_lcb->peer_mtu = p_cfg->mtu [all...] |
avct_l2c.cc | 43 void avct_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 44 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 231 void avct_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 238 lcid, p_lcb->ch_state, p_cfg->result); 242 if (p_cfg->result == L2CAP_CFG_OK) { 258 p_lcb->ch_result = p_cfg->result; 278 void avct_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 287 if (p_cfg->mtu_present) { 288 p_lcb->peer_mtu = p_cfg->mtu; 294 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)) [all...] |
/system/bt/stack/l2cap/ |
l2c_utils.cc | 551 void l2cu_send_peer_config_req(tL2C_CCB* p_ccb, tL2CAP_CFG_INFO* p_cfg) { 562 if (p_cfg->mtu_present) 564 if (p_cfg->flush_to_present) 566 if (p_cfg->qos_present) 568 if (p_cfg->fcr_present) 570 if (p_cfg->fcs_present) 572 if (p_cfg->ext_flow_spec_present) 587 UINT16_TO_STREAM(p, p_cfg->flags); /* Flags (continuation) */ 590 if (p_cfg->mtu_present) { 593 UINT16_TO_STREAM(p, p_cfg->mtu) [all...] |
l2c_api.cc | 444 tL2CAP_LE_CFG_INFO* p_cfg) { 486 if (p_cfg) memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); 529 tL2CAP_LE_CFG_INFO* p_cfg) { 556 if (p_cfg) memcpy(&p_ccb->local_conn_cfg, p_cfg, sizeof(tL2CAP_LE_CFG_INFO)); 740 * Note: The FCR options of p_cfg are not used. 745 bool L2CA_ConfigReq(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { 751 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu) [all...] |
l2c_fcr.cc | [all...] |
l2c_csm.cc | 761 tL2CAP_CFG_INFO* p_cfg = (tL2CAP_CFG_INFO*)p_data; local 781 cfg_result = l2cu_process_peer_cfg_req(p_ccb, p_cfg); 785 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); 786 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); 795 l2cu_send_peer_config_rsp(p_ccb, p_cfg); 800 l2cu_process_peer_cfg_rsp(p_ccb, p_cfg); 802 if (p_cfg->result != L2CAP_CFG_PENDING) { 1008 tL2CAP_CFG_INFO* p_cfg; local [all...] |
/system/bt/stack/sdp/ |
sdp_main.cc | 55 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 56 static void sdp_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 285 static void sdp_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { 296 if (!p_cfg->mtu_present) { 301 if (p_cfg->mtu > SDP_MTU_SIZE) 304 p_ccb->rem_mtu_size = p_cfg->mtu; 308 p_cfg->flush_to_present = false; 309 p_cfg->mtu_present = false; 310 p_cfg->result = L2CAP_CFG_OK; 313 if (p_cfg->fcr_present) [all...] |
/system/bt/stack/avdt/ |
avdt_msg.cc | 274 static void avdt_msg_bld_cfg(uint8_t** p, tAVDT_CFG* p_cfg) { 281 if (p_cfg->psc_mask & AVDT_PSC_TRANS) { 288 if (p_cfg->psc_mask & AVDT_PSC_REPORT) { 295 if (p_cfg->num_codec != 0) { 297 len = p_cfg->codec_info[0] + 1; 300 memcpy(*p, p_cfg->codec_info, len); 305 if (p_cfg->num_protect != 0) { 307 len = p_cfg->protect_info[0] + 1; 310 memcpy(*p, p_cfg->protect_info, len); 315 if (p_cfg->psc_mask & AVDT_PSC_DELAY_RPT) [all...] |
avdt_l2c.cc | 43 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 44 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 353 void avdt_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 364 if (p_cfg->result == L2CAP_CONN_OK) { 392 void avdt_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 399 if (p_cfg->mtu_present) { 400 p_tbl->peer_mtu = p_cfg->mtu; 407 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 408 p_cfg->result = L2CAP_CFG_OK; 409 L2CA_ConfigRsp(lcid, p_cfg); [all...] |
/external/libldac/src/ |
encode_ldac.c | 26 CFG *p_cfg = &p_sfinfo->cfg; local 28 int nchs = p_cfg->ch; 29 int nbks = gaa_block_setting_ldac[p_cfg->chconfig_id][1]; 67 CFG *p_cfg = &p_sfinfo->cfg; local 72 int chconfig_id = p_cfg->chconfig_id; 81 p_cfg->frame_status = LDAC_FRMSTAT_LEV_0; 88 p_ab->p_smplrate_id = &p_cfg->smplrate_id; 113 CFG *p_cfg = &p_sfinfo->cfg; local 118 int chconfig_id = p_cfg->chconfig_id; 121 nbits_ac = p_cfg->frame_length * LDAC_BYTESIZE / p_cfg->ch [all...] |
ldaclib_api.c | 335 CFG *p_cfg = &hData->sfinfo.cfg; local 367 p_cfg->smplrate_id = smplrate_id; 368 p_cfg->chconfig_id = chconfig_id; 369 p_cfg->frame_length = frame_length; 370 p_cfg->frame_status = frame_status; 372 ldaclib_get_channel(chconfig_id, &p_cfg->ch); 387 CFG *p_cfg = &hData->sfinfo.cfg; local 389 *p_smplrate_id = p_cfg->smplrate_id; 390 *p_chconfig_id = p_cfg->chconfig_id; 391 *p_frame_length = p_cfg->frame_length 527 CFG *p_cfg = &hData->sfinfo.cfg; local 553 CFG *p_cfg = &hData->sfinfo.cfg; local [all...] |
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 192 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 201 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 206 if(p_cfg->fmt & USERIAL_DATABITS_8) 208 else if(p_cfg->fmt & USERIAL_DATABITS_7) 210 else if(p_cfg->fmt & USERIAL_DATABITS_6) 212 else if(p_cfg->fmt & USERIAL_DATABITS_5) 220 if(p_cfg->fmt & USERIAL_PARITY_NONE) 222 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 224 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 232 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/hardware/qcom/bt/msm8909/libbt-vendor/src/ |
hci_uart.c | 226 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 235 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 240 if(p_cfg->fmt & USERIAL_DATABITS_8) 242 else if(p_cfg->fmt & USERIAL_DATABITS_7) 244 else if(p_cfg->fmt & USERIAL_DATABITS_6) 246 else if(p_cfg->fmt & USERIAL_DATABITS_5) 254 if(p_cfg->fmt & USERIAL_PARITY_NONE) 256 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 258 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 266 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/hardware/qcom/bt/msm8992/libbt-vendor/src/ |
hci_uart.c | 227 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 236 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 241 if(p_cfg->fmt & USERIAL_DATABITS_8) 243 else if(p_cfg->fmt & USERIAL_DATABITS_7) 245 else if(p_cfg->fmt & USERIAL_DATABITS_6) 247 else if(p_cfg->fmt & USERIAL_DATABITS_5) 255 if(p_cfg->fmt & USERIAL_PARITY_NONE) 257 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 259 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 267 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/hardware/qcom/bt/msm8996/libbt-vendor/src/ |
hci_uart.c | 229 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 238 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 243 if(p_cfg->fmt & USERIAL_DATABITS_8) 245 else if(p_cfg->fmt & USERIAL_DATABITS_7) 247 else if(p_cfg->fmt & USERIAL_DATABITS_6) 249 else if(p_cfg->fmt & USERIAL_DATABITS_5) 257 if(p_cfg->fmt & USERIAL_PARITY_NONE) 259 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 261 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 269 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/hardware/qcom/bt/msm8998/libbt-vendor/src/ |
hci_uart.c | 232 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 241 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 246 if(p_cfg->fmt & USERIAL_DATABITS_8) 248 else if(p_cfg->fmt & USERIAL_DATABITS_7) 250 else if(p_cfg->fmt & USERIAL_DATABITS_6) 252 else if(p_cfg->fmt & USERIAL_DATABITS_5) 260 if(p_cfg->fmt & USERIAL_PARITY_NONE) 262 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 264 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 272 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/hardware/qcom/bt/sdm845/libbt-vendor/src/ |
hci_uart.c | 228 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 237 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 242 if(p_cfg->fmt & USERIAL_DATABITS_8) 244 else if(p_cfg->fmt & USERIAL_DATABITS_7) 246 else if(p_cfg->fmt & USERIAL_DATABITS_6) 248 else if(p_cfg->fmt & USERIAL_DATABITS_5) 256 if(p_cfg->fmt & USERIAL_PARITY_NONE) 258 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 260 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 268 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/system/bt/stack/rfcomm/ |
rfc_mx_fsm.cc | 58 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg); 59 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg); 582 static void rfc_mx_conf_cnf(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg) { 583 RFCOMM_TRACE_EVENT("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, 584 (p_cfg) ? p_cfg->result : 0); 586 if (p_cfg->result != L2CAP_CFG_OK) { 588 PORT_StartCnf(p_mcb, p_cfg->result); 619 static void rfc_mx_conf_ind(tRFC_MCB* p_mcb, tL2CAP_CFG_INFO* p_cfg) { [all...] |
rfc_l2cap_if.cc | 46 static void RFCOMM_ConfigInd(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 47 static void RFCOMM_ConfigCnf(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg); 209 void RFCOMM_ConfigInd(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 217 rfc_mx_sm_execute(p_mcb, RFC_MX_EVENT_CONF_IND, (void*)p_cfg); 229 void RFCOMM_ConfigCnf(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 237 rfc_mx_sm_execute(p_mcb, RFC_MX_EVENT_CONF_CNF, (void*)p_cfg);
|
/system/bt/stack/bnep/ |
bnep_main.cc | 61 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 62 static void bnep_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 206 static void bnep_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg) { 221 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE)) { 222 mtu = p_cfg->mtu; 223 p_cfg->flush_to_present = false; 224 p_cfg->mtu_present = true; 225 p_cfg->mtu = BNEP_MIN_MTU_SIZE; 226 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS [all...] |
/system/bt/stack/mcap/ |
mca_l2c.cc | 340 void mca_l2c_config_cfm_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 349 if (p_cfg->result == L2CAP_CONN_OK) { 377 void mca_l2c_config_ind_cback(uint16_t lcid, tL2CAP_CFG_INFO* p_cfg) { 385 if (p_cfg->mtu_present) { 386 p_tbl->peer_mtu = p_cfg->mtu; 394 lcid, p_cfg->mtu_present); 397 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 398 p_cfg->result = result; 399 L2CA_ConfigRsp(lcid, p_cfg);
|
/hardware/broadcom/libbt/include/ |
userial_vendor.h | 139 int userial_vendor_open(tUSERIAL_CFG *p_cfg);
|
/system/bt/stack/include/ |
avdt_api.h | 321 tAVDT_CFG* p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon113680 327 tAVDT_CFG* p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon113681 407 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 555 * The memory pointed to by p_cfg is allocated by the 565 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 582 * The memory pointed to by p_cfg is allocated by the 592 tAVDT_CFG* p_cfg, tAVDT_CTRL_CBACK* p_cback); 622 uint8_t seid, tAVDT_CFG* p_cfg); 706 extern uint16_t AVDT_ReconfigReq(uint8_t handle, tAVDT_CFG* p_cfg); [all...] |
/system/bt/stack/gap/ |
gap_conn.cc | 89 static void gap_config_ind(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 90 static void gap_config_cfm(uint16_t l2cap_cid, tL2CAP_CFG_INFO* p_cfg); 164 tL2CAP_CFG_INFO* p_cfg, tL2CAP_ERTM_INFO* ertm_info, 202 if (p_cfg) p_ccb->cfg = *p_cfg; 207 p_ccb->local_coc_cfg.mtu = p_cfg->mtu; 543 * p_cfg - Pointer to new configuration 549 uint16_t GAP_ConnReconfig(uint16_t gap_handle, tL2CAP_CFG_INFO* p_cfg) { 554 p_ccb->cfg = *p_cfg; 557 L2CA_CONFIG_REQ(p_ccb->connection_id, p_cfg); [all...] |
/system/bt/stack/hid/ |
hidd_conn.cc | 50 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg); 51 static void hidd_l2cif_config_cfm(uint16_t cid, tL2CAP_CFG_INFO* p_cfg); 338 static void hidd_l2cif_config_ind(uint16_t cid, tL2CAP_CFG_INFO* p_cfg) { 350 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_DEV_MTU_SIZE)) 353 p_hcon->rem_mtu_size = p_cfg->mtu; 356 p_cfg->flush_to_present = FALSE; 357 p_cfg->mtu_present = FALSE; 358 p_cfg->result = L2CAP_CFG_OK; 360 if (cid == p_hcon->intr_cid && hd_cb.use_in_qos && !p_cfg->qos_present) [all...] |