• Home
  • Raw
  • Download

Lines Matching refs:wStatus

256     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()
423 if(NFCSTATUS_PENDING != wStatus) in phNxpNciHal_fw_dnld_normal()
436 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_normal()
443 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_normal()
447 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_normal()
452 return wStatus; in phNxpNciHal_fw_dnld_normal()
467 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_force() local
500wStatus = phDnldNfc_Force(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_force_cb, (void*) &cb_da… in phNxpNciHal_fw_dnld_force()
502 if(NFCSTATUS_PENDING != wStatus) in phNxpNciHal_fw_dnld_force()
515 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_force()
522 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_force()
526 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_force()
531 return wStatus; in phNxpNciHal_fw_dnld_force()
547 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_get_version_cb() local
556 if ((NFCSTATUS_SUCCESS == wStatus) && (NULL != pInfo)) in phNxpNciHal_fw_dnld_get_version_cb()
586 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version_cb()
592 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version_cb()
596 if ((NFCSTATUS_SUCCESS == wStatus) && (bExpectedLen == pRespBuff->wLen) in phNxpNciHal_fw_dnld_get_version_cb()
614 wStatus = NFCSTATUS_NOT_ALLOWED; in phNxpNciHal_fw_dnld_get_version_cb()
620 wStatus = NFCSTATUS_NOT_ALLOWED; in phNxpNciHal_fw_dnld_get_version_cb()
626 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_get_version_cb()
641 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version_cb()
663 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version_cb()
667 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_get_version_cb()
684 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_get_version() local
706 wStatus = phDnldNfc_GetVersion(&tDnldBuff, in phNxpNciHal_fw_dnld_get_version()
709 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_get_version()
712 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version()
719 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version()
726 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_version()
730 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_get_version()
735 return wStatus; in phNxpNciHal_fw_dnld_get_version()
751 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_get_sessn_state_cb() local
753 if ((NFCSTATUS_SUCCESS == wStatus) && (NULL != pInfo)) in phNxpNciHal_fw_dnld_get_sessn_state_cb()
783 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state_cb()
793 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state_cb()
799 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state_cb()
805 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state_cb()
809 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_get_sessn_state_cb()
830 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_get_sessn_state() local
849 wStatus = phDnldNfc_GetSessionState(&tDnldBuff, in phNxpNciHal_fw_dnld_get_sessn_state()
851 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_get_sessn_state()
854 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state()
862 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state()
869 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_get_sessn_state()
873 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_get_sessn_state()
878 return wStatus; in phNxpNciHal_fw_dnld_get_sessn_state()
923 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_log_read() local
946 wStatus = phDnldNfc_ReadLog(&Data, in phNxpNciHal_fw_dnld_log_read()
949 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_log_read()
952 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log_read()
960 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log_read()
967 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log_read()
971 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_log_read()
976 return wStatus; in phNxpNciHal_fw_dnld_log_read()
1056 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_write() local
1084 wStatus = phDnldNfc_Write(FALSE, NULL, in phNxpNciHal_fw_dnld_write()
1089 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_write()
1092 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_write()
1103 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_write()
1110 wStatus = cb_data.status; in phNxpNciHal_fw_dnld_write()
1114 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_write()
1119 return wStatus; in phNxpNciHal_fw_dnld_write()
1135 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_chk_integrity_cb() local
1139 if ((NFCSTATUS_SUCCESS == wStatus) && (NULL != pInfo)) in phNxpNciHal_fw_dnld_chk_integrity_cb()
1147 wStatus = phLibNfc_VerifyCrcStatus(pRespBuff->pBuff[0]); in phNxpNciHal_fw_dnld_chk_integrity_cb()
1159 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_chk_integrity_cb()
1163 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_chk_integrity_cb()
1182 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_chk_integrity() local
1214 wStatus = phDnldNfc_CheckIntegrity((gphNxpNciHal_fw_IoctlCtx.bChipVer), in phNxpNciHal_fw_dnld_chk_integrity()
1217 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_chk_integrity()
1220 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_chk_integrity()
1228 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_chk_integrity()
1235 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_chk_integrity()
1239 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_chk_integrity()
1244 return wStatus; in phNxpNciHal_fw_dnld_chk_integrity()
1259 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_recover() local
1277wStatus = phDnldNfc_Write(TRUE,NULL,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_recover_cb, (void*) &… in phNxpNciHal_fw_dnld_recover()
1279 if(NFCSTATUS_PENDING != wStatus) in phNxpNciHal_fw_dnld_recover()
1289 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_recover()
1296 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_recover()
1299 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_recover()
1305 return wStatus; in phNxpNciHal_fw_dnld_recover()
1321 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_recover_cb() local
1325 if(NFCSTATUS_SUCCESS == wStatus) in phNxpNciHal_fw_dnld_recover_cb()
1340 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_recover_cb()
1349 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_recover_cb()
1369 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_send_ncicmd_cb() local
1373 if(NFCSTATUS_SUCCESS == wStatus) in phNxpNciHal_fw_dnld_send_ncicmd_cb()
1394 wStatus = phTmlNfc_IoCtl(phTmlNfc_e_EnableDownloadMode); in phNxpNciHal_fw_dnld_send_ncicmd_cb()
1396 if(NFCSTATUS_SUCCESS == wStatus) in phNxpNciHal_fw_dnld_send_ncicmd_cb()
1405 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_send_ncicmd_cb()
1414 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_send_ncicmd_cb()
1433 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_send_ncicmd() local
1450 wStatus = phTmlNfc_IoCtl(phTmlNfc_e_EnableNormalMode); in phNxpNciHal_fw_dnld_send_ncicmd()
1452 if(NFCSTATUS_SUCCESS != wStatus) in phNxpNciHal_fw_dnld_send_ncicmd()
1470 wStatus = phDnldNfc_RawReq(&tsData,&trData, in phNxpNciHal_fw_dnld_send_ncicmd()
1472 if(NFCSTATUS_PENDING != wStatus) in phNxpNciHal_fw_dnld_send_ncicmd()
1480 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_send_ncicmd()
1487 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_send_ncicmd()
1490 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_send_ncicmd()
1497 return wStatus; in phNxpNciHal_fw_dnld_send_ncicmd()
1513 NFCSTATUS wStatus = status; in phNxpNciHal_fw_dnld_log_cb() local
1517 if(NFCSTATUS_SUCCESS == wStatus) in phNxpNciHal_fw_dnld_log_cb()
1524 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log_cb()
1527 p_cb_data->status = wStatus; in phNxpNciHal_fw_dnld_log_cb()
1545 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_log() local
1568wStatus = phDnldNfc_Log(&tData,(pphDnldNfc_RspCb_t)&phNxpNciHal_fw_dnld_log_cb, (void*) &cb_data); in phNxpNciHal_fw_dnld_log()
1570 if (wStatus != NFCSTATUS_PENDING) in phNxpNciHal_fw_dnld_log()
1574 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log()
1581 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log()
1588 wStatus = NFCSTATUS_FAILED; in phNxpNciHal_fw_dnld_log()
1592 wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_log()
1597 return wStatus; in phNxpNciHal_fw_dnld_log()
1651 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phNxpNciHal_fw_dnld_complete() local
1694 wStatus = phNxpNciHal_fw_seq_handler(phNxpNciHal_dwnld_log_seqhandler); in phNxpNciHal_fw_dnld_complete()
1698 wStatus = gphNxpNciHal_fw_IoctlCtx.bLastStatus; in phNxpNciHal_fw_dnld_complete()
1701 status = phNxpNciHal_fw_dnld_complete(pContext, wStatus, &pInfo); in phNxpNciHal_fw_dnld_complete()
1715 if(NFCSTATUS_SUCCESS == wStatus) in phNxpNciHal_fw_dnld_complete()
1718 wStatus = phNxpNciHal_fw_seq_handler(phNxpNciHal_dwnld_rec_seqhandler); in phNxpNciHal_fw_dnld_complete()
1720 status = phNxpNciHal_fw_dnld_complete(pContext, wStatus, &pInfo); in phNxpNciHal_fw_dnld_complete()
1742 wStatus = phNxpNciHal_fw_seq_handler(phNxpNciHal_dwnld_seqhandler); in phNxpNciHal_fw_dnld_complete()
1744 status = phNxpNciHal_fw_dnld_complete(pContext, wStatus, &pInfo); in phNxpNciHal_fw_dnld_complete()
1810 wStatus = phTmlNfc_IoCtl(phTmlNfc_e_EnableNormalMode); in phNxpNciHal_fw_dnld_complete()
1812 if(NFCSTATUS_SUCCESS != wStatus) in phNxpNciHal_fw_dnld_complete()
1818 wStatus = fStatus; in phNxpNciHal_fw_dnld_complete()
1847 return wStatus; in phNxpNciHal_fw_dnld_complete()
1925 NFCSTATUS wStatus = NFCSTATUS_SUCCESS; in phLibNfc_VerifyCrcStatus() local
1935 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1941 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1947 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1953 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1959 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1965 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1971 wStatus = NFCSTATUS_FAILED; in phLibNfc_VerifyCrcStatus()
1985 return wStatus; in phLibNfc_VerifyCrcStatus()