/external/libnfc-nci/src/udrv/include/ |
udac.h | 51 void UDAC_Init(void *p_cfg);
|
/external/bluetooth/bluedroid/stack/avdt/ |
avdt_msg.c | 269 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg) 276 if (p_cfg->psc_mask & AVDT_PSC_TRANS) 284 if (p_cfg->psc_mask & AVDT_PSC_REPORT) 292 if (p_cfg->num_codec != 0) 295 len = p_cfg->codec_info[0] + 1; 299 memcpy(*p, p_cfg->codec_info, len); 304 if (p_cfg->num_protect != 0) 307 len = p_cfg->protect_info[0] + 1; 311 memcpy(*p, p_cfg->protect_info, len); 317 if (p_cfg->psc_mask & AVDT_PSC_MUX [all...] |
avdt_l2c.c | 40 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 41 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 346 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 357 if (p_cfg->result == L2CAP_CONN_OK) 388 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 396 if (p_cfg->mtu_present) 398 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...] |
avdt_scb_act.c | 153 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; 698 memcpy(&p_scb->req_cfg, p_data->msg.reconfig_cmd.p_cfg, sizeof(tAVDT_CFG)); 735 p_data->msg.svccap.p_cfg = &p_scb->curr_cfg; 805 tAVDT_CFG *p_cfg; local 809 p_cfg = p_data->msg.config_cmd.p_cfg; 810 if(p_scb->cs.cfg.codec_info[AVDT_CODEC_TYPE_INDEX] == p_cfg->codec_info[AVDT_CODEC_TYPE_INDEX]) 818 memcpy(&p_scb->req_cfg, p_cfg, sizeof(tAVDT_CFG)); 1641 tAVDT_CFG *p_req, *p_cfg; local [all...] |
avdt_api.c | 376 ** The memory pointed to by p_cfg is allocated by the 385 UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) 393 getcap.p_cfg = p_cfg; 413 ** The memory pointed to by p_cfg is allocated by the 422 UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback) 430 getcap.p_cfg = p_cfg; 483 UINT16 AVDT_OpenReq(UINT8 handle, BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg) 519 evt.msg.config_cmd.p_cfg = p_cfg [all...] |
/external/bluetooth/bluedroid/stack/l2cap/ |
l2c_utils.c | 506 void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg) 518 if (p_cfg->mtu_present) 520 if (p_cfg->flush_to_present) 522 if (p_cfg->qos_present) 524 if (p_cfg->fcr_present) 526 if (p_cfg->fcs_present) 528 if (p_cfg->ext_flow_spec_present) 542 UINT16_TO_STREAM (p, p_cfg->flags); /* Flags (continuation) */ 545 if (p_cfg->mtu_present) 549 UINT16_TO_STREAM (p, p_cfg->mtu) [all...] |
l2c_api.c | 430 ** Note: The FCR options of p_cfg are not used. 435 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg) 440 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu); 450 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg)) 454 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE)) 457 p_cfg->fcs_present = FALSE [all...] |
l2c_fcr.c | 2300 tL2C_FCR_TEST_CFG *p_cfg; local [all...] |
l2c_csm.c | 705 tL2CAP_CFG_INFO *p_cfg = (tL2CAP_CFG_INFO *)p_data; local 726 if ((cfg_result = l2cu_process_peer_cfg_req (p_ccb, p_cfg)) == L2CAP_PEER_CFG_OK) 729 p_ccb->local_cid, (p_cfg->flags & L2CAP_CFG_FLAGS_MASK_CONT)); 730 (*p_ccb->p_rcb->api.pL2CA_ConfigInd_Cb)(p_ccb->local_cid, p_cfg); 741 l2cu_send_peer_config_rsp (p_ccb, p_cfg); 746 l2cu_process_peer_cfg_rsp (p_ccb, p_cfg); 748 if (p_cfg->result != L2CAP_CFG_PENDING) 800 (*p_ccb->p_rcb->api.pL2CA_ConfigCfm_Cb)(p_ccb->local_cid, p_cfg); 938 tL2CAP_CFG_INFO *p_cfg; local [all...] |
l2c_int.h | 605 extern void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); 606 extern void l2cu_send_peer_config_rsp (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg); [all...] |
/external/bluetooth/bluedroid/stack/sdp/ |
sdp_main.c | 57 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 58 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 306 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) 318 if (!p_cfg->mtu_present) 325 if (p_cfg->mtu > SDP_MTU_SIZE) 328 p_ccb->rem_mtu_size = p_cfg->mtu; 332 p_cfg->flush_to_present = FALSE; 333 p_cfg->mtu_present = FALSE; 334 p_cfg->result = L2CAP_CFG_OK; 337 if (p_cfg->fcr_present [all...] |
/external/bluetooth/bluedroid/stack/avct/ |
avct_l2c.c | 40 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 41 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 237 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 245 lcid, p_lcb->ch_state, p_cfg->result); 250 if (p_cfg->result == L2CAP_CFG_OK) 267 p_lcb->ch_result = p_cfg->result; 287 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 296 if (p_cfg->mtu_present) 298 p_lcb->peer_mtu = p_cfg->mtu; 306 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)) [all...] |
/hardware/broadcom/libbt/src/ |
userial_vendor.c | 178 int userial_vendor_open(tUSERIAL_CFG *p_cfg) 187 if (!userial_to_tcio_baud(p_cfg->baud, &baud)) 192 if(p_cfg->fmt & USERIAL_DATABITS_8) 194 else if(p_cfg->fmt & USERIAL_DATABITS_7) 196 else if(p_cfg->fmt & USERIAL_DATABITS_6) 198 else if(p_cfg->fmt & USERIAL_DATABITS_5) 206 if(p_cfg->fmt & USERIAL_PARITY_NONE) 208 else if(p_cfg->fmt & USERIAL_PARITY_EVEN) 210 else if(p_cfg->fmt & USERIAL_PARITY_ODD) 218 if(p_cfg->fmt & USERIAL_STOPBITS_1 [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
rfc_mx_fsm.c | 51 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); 52 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg); 590 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) 592 RFCOMM_TRACE_EVENT2 ("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, (p_cfg) ? p_cfg->result : 0); 594 if (p_cfg->result != L2CAP_CFG_OK) 598 PORT_StartCnf (p_mcb, p_cfg->result); 631 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg) [all...] |
rfc_l2cap_if.c | 41 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 42 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg); 213 void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 223 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_IND, (void *)p_cfg); 236 void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 246 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_CNF, (void *)p_cfg);
|
/external/bluetooth/bluedroid/stack/bnep/ |
bnep_main.c | 60 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 61 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 214 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) 229 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE)) 231 mtu = p_cfg->mtu; 232 p_cfg->flush_to_present = FALSE; 233 p_cfg->mtu_present = TRUE; 234 p_cfg->mtu = BNEP_MIN_MTU_SIZE; 235 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS [all...] |
/external/bluetooth/bluedroid/stack/mcap/ |
mca_l2c.c | 361 void mca_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 372 if (p_cfg->result == L2CAP_CONN_OK) 403 void mca_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 412 if (p_cfg->mtu_present) 414 p_tbl->peer_mtu = p_cfg->mtu; 424 MCA_TRACE_DEBUG3("peer_mtu: %d, lcid: x%x mtu_present:%d",p_tbl->peer_mtu, lcid, p_cfg->mtu_present); 427 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 428 p_cfg->result = result; 429 L2CA_ConfigRsp(lcid, p_cfg);
|
mca_main.c | 255 void mca_set_cfg_by_tbl(tL2CAP_CFG_INFO *p_cfg, tMCA_TC_TBL *p_tbl) 271 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 272 p_cfg->mtu_present = TRUE; 273 p_cfg->mtu = p_tbl->my_mtu; 274 p_cfg->fcr_present = TRUE; 275 memcpy(&p_cfg->fcr, p_opt, sizeof (tL2CAP_FCR_OPTS)); 278 p_cfg->fcs_present = TRUE; 279 p_cfg->fcs = (fcs & MCA_FCS_USE_MASK);
|
/external/bluetooth/bluedroid/bta/include/ |
bta_av_sbc.h | 193 extern UINT8 bta_av_sbc_cfg_in_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
|
/hardware/broadcom/libbt/include/ |
userial_vendor.h | 139 int userial_vendor_open(tUSERIAL_CFG *p_cfg);
|
/external/libnfc-nci/src/nfa/dm/ |
nfa_dm_discover.c | 436 tNFA_LISTEN_CFG *p_cfg = &nfa_dm_cb.disc_cb.excl_listen_config; local 445 &&(p_cfg->la_enable) ) 451 UINT8_TO_STREAM (p, p_cfg->la_bit_frame_sdd); 455 UINT8_TO_STREAM (p, p_cfg->la_platform_config); 459 UINT8_TO_STREAM (p, p_cfg->la_sel_info); 461 if (p_cfg->la_platform_config == NCI_PARAM_PLATFORM_T1T) 468 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_ISODEP) 473 if (p_cfg->la_sel_info & NCI_PARAM_SEL_INFO_NFCDEP) 486 UINT8_TO_STREAM (p, p_cfg->la_nfcid1_len); 487 ARRAY_TO_STREAM (p, p_cfg->la_nfcid1, p_cfg->la_nfcid1_len) [all...] |
/external/bluetooth/bluedroid/stack/include/ |
avdt_api.h | 293 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon3144 299 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon3145 388 typedef UINT16 (tAVDT_GETCAP_REQ) (BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback); 534 ** The memory pointed to by p_cfg is allocated by the 543 AVDT_API extern UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, 561 ** The memory pointed to by p_cfg is allocated by the 570 AVDT_API extern UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, 600 tAVDT_CFG *p_cfg); 683 AVDT_API extern UINT16 AVDT_ReconfigReq(UINT8 handle, tAVDT_CFG *p_cfg); [all...] |
/external/bluetooth/bluedroid/stack/gap/ |
gap_conn.c | 34 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 35 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 122 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg, 159 if (p_cfg) 160 p_ccb->cfg = *p_cfg; 578 ** p_cfg - Pointer to new configuration 584 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg) 591 p_ccb->cfg = *p_cfg; 594 L2CA_CONFIG_REQ (p_ccb->connection_id, p_cfg); 877 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) [all...] |
/external/bluetooth/bluedroid/stack/gatt/ |
gatt_main.c | 47 static void gatt_l2cif_config_ind_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 48 static void gatt_l2cif_config_cfm_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 612 void gatt_l2cif_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 624 if (p_cfg->result == L2CAP_CFG_OK) 671 void gatt_l2cif_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg) 679 if ( (p_cfg->mtu_present) && (p_cfg->mtu < L2CAP_DEFAULT_MTU) ) 680 p_tcb->payload_size = p_cfg->mtu; 685 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO)); 686 p_cfg->result = L2CAP_CFG_OK [all...] |
/external/bluetooth/bluedroid/stack/hid/ |
hidh_conn.c | 54 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 55 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg); 459 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg) 481 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU)) 484 p_hcon->rem_mtu_size = p_cfg->mtu; 487 p_cfg->flush_to_present = FALSE; 488 p_cfg->mtu_present = FALSE; 489 p_cfg->result = L2CAP_CFG_OK; 491 L2CA_ConfigRsp (l2cap_cid, p_cfg); [all...] |