Home
last modified time | relevance | path

Searched refs:wStatus (Results 1 – 9 of 9) sorted by relevance

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc.c61 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_Reset() local
68 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_Reset()
75 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_Reset()
88 wStatus = phDnldNfc_CmdHandler(gpphDnldContext,phDnldNfc_EventReset); in phDnldNfc_Reset()
90 if(NFCSTATUS_PENDING == wStatus) in phDnldNfc_Reset()
101 return wStatus; in phDnldNfc_Reset()
124 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_GetVersion() local
131 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_GetVersion()
138 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_GetVersion()
153 wStatus = phDnldNfc_CmdHandler(gpphDnldContext,phDnldNfc_EventGetVer); in phDnldNfc_GetVersion()
[all …]
DphNxpNciHal_Dnld.c256 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_reset() local
275 wStatus = phDnldNfc_Reset((pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_reset_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_reset()
277 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_reset()
280 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
288 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
295 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
299 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_reset()
305 return wStatus; in phNxpNciHal_fw_dnld_reset()
388 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_normal() local
421wStatus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_normal_cb, (void*) &cb_d… in phNxpNciHal_fw_dnld_normal()
[all …]
DphDnldNfc_Internal.c198 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ProcessSeqState() local
206 wStatus = PHNFCSTVAL(CID_NFC_DNLD,NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_ProcessSeqState()
223 wStatus = NFCSTATUS_INSUFFICIENT_RESOURCES; in phDnldNfc_ProcessSeqState()
224 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
239 wStatus = phDnldNfc_BuildFramePkt(pDlCtxt); in phDnldNfc_ProcessSeqState()
241 if(NFCSTATUS_SUCCESS == wStatus) in phDnldNfc_ProcessSeqState()
245 wStatus = phTmlNfc_Write( (pDlCtxt->tCmdRspFrameInfo.aFrameBuff), in phDnldNfc_ProcessSeqState()
250 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
255 wStatus = phDnldNfc_ProcessRecvInfo(pContext,pInfo); in phDnldNfc_ProcessSeqState()
257 if(NFCSTATUS_SUCCESS == wStatus) in phDnldNfc_ProcessSeqState()
[all …]
DphDnldNfc.h33 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus,void* pInfo);
/external/libnfc-nci/halimpl/pn54x/tml/
DphTmlNfc.c304 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_InitiateTimer() local
307 wStatus = phOsalNfc_Timer_Start(gpphTmlNfc_Context->dwTimerId, in phTmlNfc_InitiateTimer()
311 return wStatus; in phTmlNfc_InitiateTimer()
327 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread() local
345 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread()
353 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread()
410 tTransactionInfo.wStatus = wStatus; in phTmlNfc_TmlThread()
455 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread() local
479 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread()
506 wStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_FAILED); in phTmlNfc_TmlWriterThread()
[all …]
DphTmlNfc.h69 NFCSTATUS wStatus; /* Status of the Transaction Completion*/ member
/external/libnfc-nci/halimpl/pn54x/hal/
DphNxpNciHal_NfcDepSWPrio.c464 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in hal_write_cb()
466 NXPLOG_NCIHAL_D("hal_write_cb: write successful status = 0x%x", pInfo->wStatus); in hal_write_cb()
470 NXPLOG_NCIHAL_E("hal_write_cb: write error status = 0x%x", pInfo->wStatus); in hal_write_cb()
473 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
DphNxpNciHal.c930 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in phNxpNciHal_write_complete()
932 NXPLOG_NCIHAL_D("write successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
936 NXPLOG_NCIHAL_E("write error status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
939 p_cb_data->status = pInfo->wStatus; in phNxpNciHal_write_complete()
969 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in phNxpNciHal_read_complete()
971 NXPLOG_NCIHAL_D("read successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()
1006 NXPLOG_NCIHAL_E("read error status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()
/external/libnfc-nci/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c1024 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in hal_write_cb()
1026 NXPLOG_NCIHAL_D("write successful status = 0x%x", pInfo->wStatus); in hal_write_cb()
1030 NXPLOG_NCIHAL_E("write error status = 0x%x", pInfo->wStatus); in hal_write_cb()
1033 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
1080 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in hal_read_cb()
1082 NXPLOG_NCIHAL_D ("hal_read_cb successful status = 0x%x", pInfo->wStatus); in hal_read_cb()
1087 NXPLOG_NCIHAL_E ("hal_read_cb error status = 0x%x", pInfo->wStatus); in hal_read_cb()
1091 p_cb_data->status = pInfo->wStatus; in hal_read_cb()