Home
last modified time | relevance | path

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

/system/nfc/halimpl/pn54x/dnld/
DphDnldNfc.c62 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_Reset() local
66 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_Reset()
70 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_Reset()
81 wStatus = phDnldNfc_CmdHandler(gpphDnldContext, phDnldNfc_EventReset); in phDnldNfc_Reset()
83 if (NFCSTATUS_PENDING == wStatus) { in phDnldNfc_Reset()
91 return wStatus; in phDnldNfc_Reset()
117 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_GetVersion() local
121 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_GetVersion()
125 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_BUSY); in phDnldNfc_GetVersion()
137 wStatus = phDnldNfc_CmdHandler(gpphDnldContext, phDnldNfc_EventGetVer); in phDnldNfc_GetVersion()
[all …]
DphNxpNciHal_Dnld.c261 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_reset() local
278 wStatus = phDnldNfc_Reset((pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_reset_cb, in phNxpNciHal_fw_dnld_reset()
281 if (wStatus != NFCSTATUS_PENDING) { in phNxpNciHal_fw_dnld_reset()
283 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
290 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
296 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_reset()
300 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_reset()
305 return wStatus; in phNxpNciHal_fw_dnld_reset()
380 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_normal() local
408 wStatus = phDnldNfc_Force( in phNxpNciHal_fw_dnld_normal()
[all …]
DphDnldNfc_Internal.c221 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phDnldNfc_ProcessSeqState() local
228 wStatus = PHNFCSTVAL(CID_NFC_DNLD, NFCSTATUS_INVALID_PARAMETER); in phDnldNfc_ProcessSeqState()
239 wStatus = NFCSTATUS_INSUFFICIENT_RESOURCES; in phDnldNfc_ProcessSeqState()
240 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
252 wStatus = phDnldNfc_BuildFramePkt(pDlCtxt); in phDnldNfc_ProcessSeqState()
254 if (NFCSTATUS_SUCCESS == wStatus) { in phDnldNfc_ProcessSeqState()
257 wStatus = phTmlNfc_Write( in phDnldNfc_ProcessSeqState()
263 pDlCtxt->wCmdSendStatus = wStatus; in phDnldNfc_ProcessSeqState()
267 wStatus = phDnldNfc_ProcessRecvInfo(pContext, pInfo); in phDnldNfc_ProcessSeqState()
269 if (NFCSTATUS_SUCCESS == wStatus) { in phDnldNfc_ProcessSeqState()
[all …]
DphDnldNfc.h34 typedef void (*pphDnldNfc_RspCb_t)(void* pContext, NFCSTATUS wStatus,
/system/nfc/halimpl/pn54x/tml/
DphTmlNfc.c278 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_InitiateTimer() local
281 wStatus = phOsalNfc_Timer_Start(gpphTmlNfc_Context->dwTimerId, in phTmlNfc_InitiateTimer()
285 return wStatus; in phTmlNfc_InitiateTimer()
300 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread() local
317 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread()
324 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlThread()
373 tTransactionInfo.wStatus = wStatus; in phTmlNfc_TmlThread()
413 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread() local
435 wStatus = NFCSTATUS_SUCCESS; in phTmlNfc_TmlWriterThread()
458 wStatus = PHNFCSTVAL(CID_NFC_TML, NFCSTATUS_FAILED); in phTmlNfc_TmlWriterThread()
[all …]
DphTmlNfc.h74 NFCSTATUS wStatus; /* Status of the Transaction Completion*/ member
/system/nfc/halimpl/pn54x/hal/
DphNxpNciHal_NfcDepSWPrio.c415 if (pInfo->wStatus == NFCSTATUS_SUCCESS) { in hal_write_cb()
417 pInfo->wStatus); in hal_write_cb()
419 NXPLOG_NCIHAL_E("hal_write_cb: write error status = 0x%x", pInfo->wStatus); in hal_write_cb()
422 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
DphNxpNciHal.c862 if (pInfo->wStatus == NFCSTATUS_SUCCESS) { in phNxpNciHal_write_complete()
863 NXPLOG_NCIHAL_D("write successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
865 NXPLOG_NCIHAL_E("write error status = 0x%x", pInfo->wStatus); in phNxpNciHal_write_complete()
868 p_cb_data->status = pInfo->wStatus; in phNxpNciHal_write_complete()
897 if (pInfo->wStatus == NFCSTATUS_SUCCESS) { in phNxpNciHal_read_complete()
898 NXPLOG_NCIHAL_D("read successful status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()
929 NXPLOG_NCIHAL_E("read error status = 0x%x", pInfo->wStatus); in phNxpNciHal_read_complete()
/system/nfc/halimpl/pn54x/self-test/
DphNxpNciHal_SelfTest.c956 if (pInfo->wStatus == NFCSTATUS_SUCCESS) { in hal_write_cb()
957 NXPLOG_NCIHAL_D("write successful status = 0x%x", pInfo->wStatus); in hal_write_cb()
959 NXPLOG_NCIHAL_E("write error status = 0x%x", pInfo->wStatus); in hal_write_cb()
962 p_cb_data->status = pInfo->wStatus; in hal_write_cb()
999 if (pInfo->wStatus == NFCSTATUS_SUCCESS) { in hal_read_cb()
1000 NXPLOG_NCIHAL_D("hal_read_cb successful status = 0x%x", pInfo->wStatus); in hal_read_cb()
1003 NXPLOG_NCIHAL_E("hal_read_cb error status = 0x%x", pInfo->wStatus); in hal_read_cb()
1007 p_cb_data->status = pInfo->wStatus; in hal_read_cb()