Home
last modified time | relevance | path

Searched refs:GKI_getbuf (Results 1 – 25 of 30) sorted by relevance

12

/external/libnfc-nci/src/nfa/dm/
Dnfa_dm_api.c111 if ((p_msg = (tNFA_DM_API_ENABLE *) GKI_getbuf (sizeof (tNFA_DM_API_ENABLE))) != NULL) in NFA_Enable()
151 if ((p_msg = (tNFA_DM_API_DISABLE *) GKI_getbuf (sizeof (tNFA_DM_API_DISABLE))) != NULL) in NFA_Disable()
189 …if ((p_msg = (tNFA_DM_API_SET_CONFIG *) GKI_getbuf ((UINT16) (sizeof (tNFA_DM_API_SET_CONFIG) + le… in NFA_SetConfig()
228 …if ((p_msg = (tNFA_DM_API_GET_CONFIG *) GKI_getbuf ((UINT16) (sizeof (tNFA_DM_API_GET_CONFIG) + nu… in NFA_GetConfig()
295 …if ((p_msg = (tNFA_DM_API_REQ_EXCL_RF_CTRL *) GKI_getbuf (sizeof (tNFA_DM_API_REQ_EXCL_RF_CTRL))) … in NFA_RequestExclusiveRfControl()
338 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_ReleaseExclusiveRfControl()
385 if ((p_msg = (tNFA_DM_API_ENABLE_POLL *) GKI_getbuf (sizeof (tNFA_DM_API_ENABLE_POLL))) != NULL) in NFA_EnablePolling()
418 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_DisablePolling()
457 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_EnableListening()
490 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in NFA_DisableListening()
[all …]
Dnfa_dm_act.c326 …if ((p_nfa_get_confg = (tNFA_GET_CONFIG *) GKI_getbuf ((UINT16) (sizeof (tNFA_GET_CONFIG) + p_data… in nfa_dm_nfc_response_cback()
1516 nfa_dm_cb.p_activate_ntf = (UINT8*) GKI_getbuf (sizeof (tNFC_ACTIVATE_DEVT)); in nfa_dm_excl_disc_cback()
1618 nfa_dm_cb.p_activate_ntf = (UINT8*) GKI_getbuf (sizeof (tNFC_ACTIVATE_DEVT)); in nfa_dm_poll_disc_cback()
/external/libnfc-nci/src/nfa/rw/
Dnfa_rw_api.c69 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwDetectNDef()
113 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwReadNDef()
159 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwWriteNDef()
195 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwPresenceCheck()
229 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16)(sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwFormatTag()
279 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwSetTagReadOnly()
336 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwLocateTlv()
383 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwT1tRid()
415 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwT1tReadAll()
447 if ((p_msg = (tNFA_RW_OPERATION *) GKI_getbuf ((UINT16) (sizeof (tNFA_RW_OPERATION)))) != NULL) in NFA_RwT1tRead()
[all …]
Dnfa_rw_main.c162 if ((p_msg = (tNFA_RW_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_RW_MSG))) != NULL) in nfa_rw_send_raw_frame()
/external/libnfc-nci/src/nfa/ee/
Dnfa_ee_api.c66 else if ((p_msg = (tNFA_EE_API_DISCOVER *) GKI_getbuf (sizeof(tNFA_EE_API_DISCOVER))) != NULL) in NFA_EeDiscover()
161 else if ((p_msg = (tNFA_EE_API_REGISTER *) GKI_getbuf (sizeof(tNFA_EE_API_REGISTER))) != NULL) in NFA_EeRegister()
204 (p_msg = (tNFA_EE_API_DEREGISTER *) GKI_getbuf (sizeof(tNFA_EE_API_DEREGISTER))) != NULL) in NFA_EeDeregister()
256 else if ((p_msg = (tNFA_EE_API_MODE_SET *) GKI_getbuf (sizeof(tNFA_EE_API_MODE_SET))) != NULL) in NFA_EeModeSet()
312 …else if ((p_msg = (tNFA_EE_API_SET_TECH_CFG *) GKI_getbuf (sizeof(tNFA_EE_API_SET_TECH_CFG))) != N… in NFA_EeSetDefaultTechRouting()
368 …else if ((p_msg = (tNFA_EE_API_SET_PROTO_CFG *) GKI_getbuf (sizeof(tNFA_EE_API_SET_PROTO_CFG))) !=… in NFA_EeSetDefaultProtoRouting()
424 else if ((p_msg = (tNFA_EE_API_ADD_AID *) GKI_getbuf (size)) != NULL) in NFA_EeAddAidRouting()
477 else if ((p_msg = (tNFA_EE_API_REMOVE_AID *) GKI_getbuf (size)) != NULL) in NFA_EeRemoveAidRouting()
510 if ((p_msg = (tNFA_EE_API_LMRT_SIZE *) GKI_getbuf (sizeof(tNFA_EE_API_LMRT_SIZE))) != NULL) in NFA_EeGetLmrtRemainingSize()
547 else if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) in NFA_EeUpdateNow()
[all …]
Dnfa_ee_act.c884 p_pkt = (BT_HDR *)GKI_getbuf(size); in nfa_ee_api_send_data()
2222 p = (UINT8 *)GKI_getbuf(NFA_EE_ROUT_BUF_SIZE); in nfa_ee_lmrt_to_nfcc()
/external/libnfc-nci/src/nfa/hci/
Dnfa_hci_api.c74 …&&((p_msg = (tNFA_HCI_API_REGISTER_APP *) GKI_getbuf (sizeof (tNFA_HCI_API_REGISTER_APP))) != NULL… in NFA_HciRegister()
121 …&&((p_msg = (tNFA_HCI_API_GET_APP_GATE_PIPE *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_APP_GATE_PIPE)… in NFA_HciGetGateAndPipeList()
182 …&&((p_msg = (tNFA_HCI_API_DEREGISTER_APP *) GKI_getbuf (sizeof (tNFA_HCI_API_DEREGISTER_APP))) != … in NFA_HciDeregister()
233 … &&((p_msg = (tNFA_HCI_API_ALLOC_GATE *) GKI_getbuf (sizeof (tNFA_HCI_API_ALLOC_GATE))) != NULL) ) in NFA_HciAllocGate()
278 …&&((p_msg = (tNFA_HCI_API_DEALLOC_GATE *) GKI_getbuf (sizeof (tNFA_HCI_API_DEALLOC_GATE))) != NULL… in NFA_HciDeallocGate()
318 …&&((p_msg = (tNFA_HCI_API_GET_HOST_LIST *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_HOST_LIST))) != NU… in NFA_HciGetHostList()
393 …&&((p_msg = (tNFA_HCI_API_CREATE_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_CREATE_PIPE_EVT))) !… in NFA_HciCreatePipe()
442 …&&((p_msg = (tNFA_HCI_API_OPEN_PIPE_EVT *) GKI_getbuf (sizeof (tNFA_HCI_API_OPEN_PIPE_EVT))) != NU… in NFA_HciOpenPipe()
490 …&&((p_msg = (tNFA_HCI_API_GET_REGISTRY *) GKI_getbuf (sizeof (tNFA_HCI_API_GET_REGISTRY))) != NULL… in NFA_HciGetRegistry()
551 …&&((p_msg = (tNFA_HCI_API_SET_REGISTRY *) GKI_getbuf (sizeof (tNFA_HCI_API_SET_REGISTRY))) != NULL… in NFA_HciSetRegistry()
[all …]
Dnfa_hci_ci.c45 if ((p_msg = (tNFA_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFA_HCI_EVENT_DATA))) != NULL) in nfa_nv_ci_read()
74 if ((p_msg = (tNFA_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFA_HCI_EVENT_DATA))) != NULL) in nfa_nv_ci_write()
/external/libnfc-nci/src/nfa/ce/
Dnfa_ce_api.c57 if ((p_ce_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) (sizeof (tNFA_CE_MSG)))) != NULL) in nfa_ce_api_deregister_listen()
151 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL) in NFA_CeConfigureLocalTag()
214 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL) in NFA_CeConfigureUiccListenTech()
261 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL) in NFA_CeRegisterFelicaSystemCodeOnDH()
336 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL) in NFA_CeRegisterAidOnDH()
414 if ((p_msg = (tNFA_CE_MSG *) GKI_getbuf ((UINT16) sizeof(tNFA_CE_MSG))) != NULL) in NFA_CeSetIsoDepListenTech()
/external/libnfc-nci/src/nfa/p2p/
Dnfa_p2p_api.c84 if ((p_msg = (tNFA_P2P_API_REG_SERVER *) GKI_getbuf (sizeof (tNFA_P2P_API_REG_SERVER))) != NULL) in NFA_P2pRegisterServer()
132 if ((p_msg = (tNFA_P2P_API_REG_CLIENT *) GKI_getbuf (sizeof (tNFA_P2P_API_REG_CLIENT))) != NULL) in NFA_P2pRegisterClient()
179 if ((p_msg = (tNFA_P2P_API_DEREG *) GKI_getbuf (sizeof (tNFA_P2P_API_DEREG))) != NULL) in NFA_P2pDeregister()
239 …else if ((p_msg = (tNFA_P2P_API_ACCEPT_CONN *) GKI_getbuf (sizeof (tNFA_P2P_API_ACCEPT_CONN))) != … in NFA_P2pAcceptConn()
294 … if ((p_msg = (tNFA_P2P_API_REJECT_CONN *) GKI_getbuf (sizeof (tNFA_P2P_API_REJECT_CONN))) != NULL) in NFA_P2pRejectConn()
350 if ((p_msg = (tNFA_P2P_API_DISCONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_DISCONNECT))) != NULL) in NFA_P2pDisconnect()
406 else if ((p_msg = (tNFA_P2P_API_CONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_CONNECT))) != NULL) in NFA_P2pConnectByName()
467 else if ((p_msg = (tNFA_P2P_API_CONNECT *) GKI_getbuf (sizeof (tNFA_P2P_API_CONNECT))) != NULL) in NFA_P2pConnectBySap()
544 else if ((p_msg = (tNFA_P2P_API_SEND_UI *) GKI_getbuf (sizeof(tNFA_P2P_API_SEND_UI))) != NULL) in NFA_P2pSendUI()
738 … else if ((p_msg = (tNFA_P2P_API_SEND_DATA *) GKI_getbuf (sizeof(tNFA_P2P_API_SEND_DATA))) != NULL) in NFA_P2pSendData()
[all …]
Dnfa_p2p_main.c257 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof(BT_HDR))) != NULL) in nfa_p2p_update_active_listen()
/external/libnfc-nci/halimpl/bcm2079x/hal/hal/
Dnfc_hal_hci_ci.c48 if ((p_msg = (tNFC_HAL_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFC_HAL_HCI_EVENT_DATA))) != NULL) in nfc_hal_nv_ci_read()
81 if ((p_msg = (tNFC_HAL_HCI_EVENT_DATA *) GKI_getbuf (sizeof (tNFC_HAL_HCI_EVENT_DATA))) != NULL) in nfc_hal_nv_ci_write()
Dnfc_hal_api.c165 if ((p_msg = (NFC_HDR *)GKI_getbuf ((UINT16)(size + NFC_HDR_SIZE))) != NULL) in HAL_NfcCoreInitialized()
Dnfc_hal_hci.c156 …if ((p_hci_netwk_cmd = (UINT8 *) GKI_getbuf (NCI_MSG_HDR_SIZE + NFC_HAL_HCI_NETWK_INFO_SIZE)) == N… in nfc_hal_hci_enable()
724 …if ((p_hci_netwk_cmd = (UINT8 *) GKI_getbuf (NCI_MSG_HDR_SIZE + NFC_HAL_HCI_DH_NETWK_INFO_SIZE)) =… in nfc_hal_hci_set_next_hci_netwk_config()
Dnfc_hal_main.c351 if ((p_msg = (NFC_HDR *) GKI_getbuf (NFC_HDR_SIZE)) != NULL) in nfc_hal_main_start_quick_timer()
Dnfc_hal_prm.c628 if ((p_buff = (UINT8 *) GKI_getbuf(cmd_len)) == NULL) in nfc_hal_prm_nvm_rw_cmd()
Dnfc_hal_dm.c116 if ((p_buff = (UINT8 *) GKI_getbuf ((UINT16)(NCI_MSG_HDR_SIZE + tlv_size))) != NULL) in nfc_hal_dm_set_config()
/external/libnfc-nci/src/nfc/nfc/
Dnfc_task.c70 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) in nfc_start_timer()
192 if ((p_msg = (BT_HDR *) GKI_getbuf (BT_HDR_SIZE)) != NULL) in nfc_start_quick_timer()
Dnfc_main.c538 if ((p_msg = (tNFC_HAL_EVT_MSG *) GKI_getbuf (sizeof(tNFC_HAL_EVT_MSG))) != NULL) in nfc_main_post_hal_evt()
915 nfc_cb.p_disc_pending = GKI_getbuf ((UINT16)(BT_HDR_SIZE + 1 + params_size)); in NFC_DiscoveryStart()
/external/libnfc-nci/src/gki/common/
Dgki.h424 #define GKI_getbuf(size) GKI_getbuf_debug(size, __FUNCTION__, __LINE__) macro
427 GKI_API extern void *GKI_getbuf (UINT16);
Dgki_buffer.c359 void *GKI_getbuf (UINT16 size) in GKI_getbuf_debug()
571 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf_debug()
/external/libnfc-nci/halimpl/bcm2079x/gki/common/
Dgki.h422 #define GKI_getbuf(size) GKI_getbuf_debug(size, __FUNCTION__, __LINE__) macro
425 GKI_API extern void *GKI_getbuf (UINT16);
Dgki_buffer.c359 void *GKI_getbuf (UINT16 size) in GKI_getbuf_debug()
571 return (GKI_getbuf(p_cb->freeq[pool_id].size)); in GKI_getpoolbuf_debug()
/external/libnfc-nci/src/nfa/sys/
Dnfa_sys_ptim.c104 if ((p_msg = (BT_HDR *) GKI_getbuf (sizeof (BT_HDR))) != NULL) in nfa_sys_ptim_timer_update()
/external/libnfc-nci/src/hal/include/
Dnci_defs.h607 #define NCI_GET_CMD_BUF(paramlen) ((BT_HDR *) GKI_getbuf ((UINT16) (BT_HDR_SIZE + NCI_MSG_HDR_SI…

12