Home
last modified time | relevance | path

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

/external/libnfc-nci/halimpl/pn54x/dnld/
DphDnldNfc.c60 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_Reset() local
67 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_Reset()
74 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_Reset()
87 wStatus = phDnldNfc_CmdHandler(gpphDnldContext,phDnldNfc_EventReset); in phDnldNfc_Reset()
89 if(NFCSTATUS_PENDING == wStatus) in phDnldNfc_Reset()
100 return wStatus; in phDnldNfc_Reset()
123 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_GetVersion() local
130 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_GetVersion()
137 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_GetVersion()
152 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.c194 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ProcessSeqState() local
202 wStatus = PHNFCSTVAL(CID_NFC_DNLD,NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_ProcessSeqState()
219 wStatus = NFCSTATUS_INSUFFICIENT_RESOURCES; in phDnldNfc_ProcessSeqState()
220 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
235 wStatus = phDnldNfc_BuildFramePkt(pDlCtxt); in phDnldNfc_ProcessSeqState()
237 if(NFCSTATUS_SUCCESS == wStatus) in phDnldNfc_ProcessSeqState()
241 wStatus = phTmlNfc_Write( (pDlCtxt->tCmdRspFrameInfo.aFrameBuff), in phDnldNfc_ProcessSeqState()
246 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
251 wStatus = phDnldNfc_ProcessRecvInfo(pContext,pInfo); in phDnldNfc_ProcessSeqState()
253 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()
400 tTransactionInfo.wStatus = wStatus; in phTmlNfc_TmlThread()
445 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread() local
469 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread()
497 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.c461 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in hal_write_cb()
463 NXPLOG_NCIHAL_D("hal_write_cb: write successful status = 0x%x", pInfo->wStatus); in hal_write_cb()
467 NXPLOG_NCIHAL_E("hal_write_cb: write error status = 0x%x", pInfo->wStatus); in hal_write_cb()
470 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
DphNxpNciHal.c845 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in phNxpNciHal_write_complete()
847 NXPLOG_NCIHAL_D("write successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
851 NXPLOG_NCIHAL_E("write error status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
854 p_cb_data->status = pInfo->wStatus; in phNxpNciHal_write_complete()
884 if (pInfo->wStatus == NFCSTATUS_SUCCESS) in phNxpNciHal_read_complete()
886 NXPLOG_NCIHAL_D("read successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()
916 NXPLOG_NCIHAL_E("read error status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()