HomeSort by relevance Sort by last modified time
    Searched refs:p_cfg (Results 1 - 25 of 39) sorted by null

1 2

  /external/libnfc-nci/src/udrv/include/
udac.h 51 void UDAC_Init(void *p_cfg);
  /external/bluetooth/bluedroid/stack/avdt/
avdt_msg.c 270 static void avdt_msg_bld_cfg(UINT8 **p, tAVDT_CFG *p_cfg)
277 if (p_cfg->psc_mask & AVDT_PSC_TRANS)
285 if (p_cfg->psc_mask & AVDT_PSC_REPORT)
293 if (p_cfg->num_codec != 0)
296 len = p_cfg->codec_info[0] + 1;
300 memcpy(*p, p_cfg->codec_info, len);
305 if (p_cfg->num_protect != 0)
308 len = p_cfg->protect_info[0] + 1;
312 memcpy(*p, p_cfg->protect_info, len);
318 if (p_cfg->psc_mask & AVDT_PSC_MUX
    [all...]
avdt_l2c.c 41 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
42 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
352 void avdt_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
363 if (p_cfg->result == L2CAP_CONN_OK)
394 void avdt_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
402 if (p_cfg->mtu_present)
404 p_tbl->peer_mtu = p_cfg->mtu;
413 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO));
414 p_cfg->result = L2CAP_CFG_OK;
415 L2CA_ConfigRsp(lcid, p_cfg);
    [all...]
avdt_api.c 438 ** The memory pointed to by p_cfg is allocated by the
447 UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback)
455 getcap.p_cfg = p_cfg;
475 ** The memory pointed to by p_cfg is allocated by the
484 UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback)
492 getcap.p_cfg = p_cfg;
545 UINT16 AVDT_OpenReq(UINT8 handle, BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg)
581 evt.msg.config_cmd.p_cfg = p_cfg
    [all...]
  /external/bluetooth/bluedroid/stack/l2cap/
l2c_utils.c 581 void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg)
593 if (p_cfg->mtu_present)
595 if (p_cfg->flush_to_present)
597 if (p_cfg->qos_present)
599 if (p_cfg->fcr_present)
601 if (p_cfg->fcs_present)
603 if (p_cfg->ext_flow_spec_present)
617 UINT16_TO_STREAM (p, p_cfg->flags); /* Flags (continuation) */
620 if (p_cfg->mtu_present)
624 UINT16_TO_STREAM (p, p_cfg->mtu)
    [all...]
l2c_api.c 439 ** Note: The FCR options of p_cfg are not used.
444 BOOLEAN L2CA_ConfigReq (UINT16 cid, tL2CAP_CFG_INFO *p_cfg)
449 cid, p_cfg->fcr_present, p_cfg->fcr.mode, p_cfg->mtu_present, p_cfg->mtu);
459 if (!l2c_fcr_adj_our_req_options(p_ccb, p_cfg))
463 if ((!p_cfg->fcr_present)||(p_cfg->fcr.mode == L2CAP_FCR_BASIC_MODE))
466 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);
941 tL2CAP_CFG_INFO *p_cfg; local
    [all...]
l2c_int.h 612 extern void l2cu_send_peer_config_req (tL2C_CCB *p_ccb, tL2CAP_CFG_INFO *p_cfg);
613 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 58 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
59 static void sdp_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
308 static void sdp_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
320 if (!p_cfg->mtu_present)
327 if (p_cfg->mtu > SDP_MTU_SIZE)
330 p_ccb->rem_mtu_size = p_cfg->mtu;
334 p_cfg->flush_to_present = FALSE;
335 p_cfg->mtu_present = FALSE;
336 p_cfg->result = L2CAP_CFG_OK;
339 if (p_cfg->fcr_present
    [all...]
  /external/bluetooth/bluedroid/stack/avct/
avct_l2c.c 41 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
42 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
239 void avct_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
247 lcid, p_lcb->ch_state, p_cfg->result);
252 if (p_cfg->result == L2CAP_CFG_OK)
269 p_lcb->ch_result = p_cfg->result;
289 void avct_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
298 if (p_cfg->mtu_present)
300 p_lcb->peer_mtu = p_cfg->mtu;
308 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO))
    [all...]
  /hardware/broadcom/libbt/src/
userial_vendor.c 191 int userial_vendor_open(tUSERIAL_CFG *p_cfg)
200 if (!userial_to_tcio_baud(p_cfg->baud, &baud))
205 if(p_cfg->fmt & USERIAL_DATABITS_8)
207 else if(p_cfg->fmt & USERIAL_DATABITS_7)
209 else if(p_cfg->fmt & USERIAL_DATABITS_6)
211 else if(p_cfg->fmt & USERIAL_DATABITS_5)
219 if(p_cfg->fmt & USERIAL_PARITY_NONE)
221 else if(p_cfg->fmt & USERIAL_PARITY_EVEN)
223 else if(p_cfg->fmt & USERIAL_PARITY_ODD)
231 if(p_cfg->fmt & USERIAL_STOPBITS_1
    [all...]
  /external/bluetooth/bluedroid/stack/rfcomm/
rfc_mx_fsm.c 52 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
53 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg);
595 static void rfc_mx_conf_cnf (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg)
597 RFCOMM_TRACE_EVENT ("rfc_mx_conf_cnf p_cfg:%08x res:%d ", p_cfg, (p_cfg) ? p_cfg->result : 0);
599 if (p_cfg->result != L2CAP_CFG_OK)
603 PORT_StartCnf (p_mcb, p_cfg->result);
638 static void rfc_mx_conf_ind (tRFC_MCB *p_mcb, tL2CAP_CFG_INFO *p_cfg)
    [all...]
rfc_l2cap_if.c 42 static void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
43 static void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg);
215 void RFCOMM_ConfigInd (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
225 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_IND, (void *)p_cfg);
238 void RFCOMM_ConfigCnf (UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
248 rfc_mx_sm_execute (p_mcb, RFC_MX_EVENT_CONF_CNF, (void *)p_cfg);
  /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);
205 extern UINT8 bta_av_sbc_cfg_matches_cap(UINT8 *p_cfg, tA2D_SBC_CIE *p_cap);
  /external/bluetooth/bluedroid/stack/bnep/
bnep_main.c 61 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
62 static void bnep_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
216 static void bnep_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
231 if ((!p_cfg->mtu_present) || (p_cfg->mtu < BNEP_MIN_MTU_SIZE))
233 mtu = p_cfg->mtu;
234 p_cfg->flush_to_present = FALSE;
235 p_cfg->mtu_present = TRUE;
236 p_cfg->mtu = BNEP_MIN_MTU_SIZE;
237 p_cfg->result = result = L2CAP_CFG_UNACCEPTABLE_PARAMS
    [all...]
  /external/bluetooth/bluedroid/stack/mcap/
mca_l2c.c 366 void mca_l2c_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
377 if (p_cfg->result == L2CAP_CONN_OK)
408 void mca_l2c_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
417 if (p_cfg->mtu_present)
419 p_tbl->peer_mtu = p_cfg->mtu;
429 MCA_TRACE_DEBUG("peer_mtu: %d, lcid: x%x mtu_present:%d",p_tbl->peer_mtu, lcid, p_cfg->mtu_present);
432 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO));
433 p_cfg->result = result;
434 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);
  /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:__anon5938
299 tAVDT_CFG *p_cfg; /* Pointer to configuration for this SEP */ member in struct:__anon5939
388 typedef UINT16 (tAVDT_GETCAP_REQ) (BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg, tAVDT_CTRL_CBACK *p_cback);
563 ** The memory pointed to by p_cfg is allocated by the
572 AVDT_API extern UINT16 AVDT_GetCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
590 ** The memory pointed to by p_cfg is allocated by the
599 AVDT_API extern UINT16 AVDT_GetAllCapReq(BD_ADDR bd_addr, UINT8 seid, tAVDT_CFG *p_cfg,
629 tAVDT_CFG *p_cfg);
    [all...]
  /external/bluetooth/bluedroid/stack/gap/
gap_conn.c 35 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
36 static void gap_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
123 BD_ADDR p_rem_bda, UINT16 psm, tL2CAP_CFG_INFO *p_cfg,
160 if (p_cfg)
161 p_ccb->cfg = *p_cfg;
579 ** p_cfg - Pointer to new configuration
585 UINT16 GAP_ConnReconfig (UINT16 gap_handle, tL2CAP_CFG_INFO *p_cfg)
592 p_ccb->cfg = *p_cfg;
595 L2CA_CONFIG_REQ (p_ccb->connection_id, p_cfg);
880 static void gap_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
    [all...]
  /external/bluetooth/bluedroid/stack/gatt/
gatt_main.c 53 static void gatt_l2cif_config_ind_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
54 static void gatt_l2cif_config_cfm_cback (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
667 void gatt_l2cif_config_cfm_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
679 if (p_cfg->result == L2CAP_CFG_OK)
723 void gatt_l2cif_config_ind_cback(UINT16 lcid, tL2CAP_CFG_INFO *p_cfg)
731 if ( p_cfg->mtu_present &&
732 (p_cfg->mtu >= GATT_MIN_BR_MTU_SIZE && p_cfg->mtu < L2CAP_DEFAULT_MTU))
733 p_tcb->payload_size = p_cfg->mtu;
738 memset(p_cfg, 0, sizeof(tL2CAP_CFG_INFO))
    [all...]
  /external/bluetooth/bluedroid/stack/hid/
hidh_conn.c 55 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
56 static void hidh_l2cif_config_cfm (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg);
456 static void hidh_l2cif_config_ind (UINT16 l2cap_cid, tL2CAP_CFG_INFO *p_cfg)
479 if ((!p_cfg->mtu_present) || (p_cfg->mtu > HID_HOST_MTU))
482 p_hcon->rem_mtu_size = p_cfg->mtu;
485 p_cfg->flush_to_present = FALSE;
486 p_cfg->mtu_present = FALSE;
487 p_cfg->result = L2CAP_CFG_OK;
489 L2CA_ConfigRsp (l2cap_cid, p_cfg);
    [all...]
  /external/libnfc-nci/halimpl/bcm2079x/adaptation/
userial_linux.c 574 UDRV_API void USERIAL_Init(void * p_cfg)
944 UDRV_API void USERIAL_Open(tUSERIAL_PORT port, tUSERIAL_OPEN_CFG *p_cfg, tUSERIAL_CBACK *p_cback)
    [all...]

Completed in 408 milliseconds

1 2