Home | History | Annotate | Download | only in src

Lines Matching refs:Result

248                                  NFCSTATUS            Result);
1631 NFCSTATUS Result)
1638 CompletionRoutine(NdefMap->CompletionRoutine->Context, Result);
1643 NFCSTATUS Result = NFCSTATUS_SUCCESS;
1660 Result = phFriNfc_MifareStdMap_ChkNdef(NdefMap);
1662 return Result;
1749 NFCSTATUS Result = NFCSTATUS_SUCCESS;
1765 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
1780 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
1842 return Result;
1864 NFCSTATUS Result = NFCSTATUS_SUCCESS;
1887 Result = phFriNfc_MifStd_H_Rd16Bytes(NdefMap,
1890 return Result;
1895 NFCSTATUS Result = NFCSTATUS_SUCCESS;
1998 Result = phFriNfc_MifStd_H_GPBChk(NdefMap);
2006 Result = phFriNfc_MifStd_H_GPBChk(NdefMap);
2010 return Result;
2015 NFCSTATUS Result = NFCSTATUS_SUCCESS;
2023 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
2047 Result = ((NdefMap->StdMifareContainer.ReadAcsBitFlag ==
2054 Result = phFriNfc_MifareStdMap_ChkNdef(NdefMap);
2063 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
2069 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
2073 Result = phFriNfc_MifStd_H_RdABlock(NdefMap);
2084 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
2090 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
2097 Result = phFriNfc_MifStd_H_RdBeforeWr(NdefMap);
2102 Result = phFriNfc_MifStd_H_RdtoWrNdefLen(NdefMap);
2106 Result = (((NdefMap->TLVStruct.NdefTLVBlock ==
2116 Result = ((NdefMap->StdMifareContainer.ReadFlag ==
2125 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
2130 return Result;
2349 NFCSTATUS Result = NFCSTATUS_SUCCESS;
2417 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2418 if(Result == NFCSTATUS_SUCCESS)
2422 Result = phFriNfc_MifStd_H_RdABlock(NdefMap);
2426 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
2465 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2466 if(Result == NFCSTATUS_SUCCESS)
2470 Result = phFriNfc_MifStd_H_RdABlock(NdefMap);
2474 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
2541 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2542 if(Result == NFCSTATUS_SUCCESS)
2546 Result = phFriNfc_MifStd_H_RdABlock(NdefMap);
2550 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
2621 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2622 if(Result == NFCSTATUS_SUCCESS)
2624 Result = ((NdefMap->StdMifareContainer.AuthDone ==
2636 Result = (((RdFlag == PH_FRINFC_MIFARESTD_FLAG1) &&
2640 Result);
2642 phFriNfc_MifStd_H_Complete(NdefMap, Result);
2644 return Result;
2652 NFCSTATUS Result = NFCSTATUS_SUCCESS;
2759 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2760 if(Result == NFCSTATUS_SUCCESS)
2764 Result = phFriNfc_MifStd_H_RdABlock(NdefMap);
2768 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
2874 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
2875 if(Result == NFCSTATUS_SUCCESS)
2877 Result = ((NdefMap->StdMifareContainer.AuthDone ==
2895 return Result;
2900 NFCSTATUS Result = NFCSTATUS_SUCCESS;
2908 Result = phFriNfc_MifStd_H_IntLenWioutNdef(NdefMap, &NDEFFlag, &TempintBytes);
2920 Result = phFriNfc_MifStd_H_IntLenWithNdef(NdefMap, &TempintBytes);
2923 return Result;
2930 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3042 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3043 if(Result == NFCSTATUS_SUCCESS)
3045 Result =
3123 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3124 if(Result == NFCSTATUS_SUCCESS)
3126 Result = ((NdefMap->StdMifareContainer.AuthDone ==
3143 return Result;
3149 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3220 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3221 if(Result == NFCSTATUS_SUCCESS)
3223 Result =
3271 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3272 if(Result == NFCSTATUS_SUCCESS)
3274 Result = ((NdefMap->StdMifareContainer.AuthDone ==
3334 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3335 if(Result == NFCSTATUS_SUCCESS)
3337 Result = ((NdefMap->StdMifareContainer.AuthDone ==
3397 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3398 if(Result == NFCSTATUS_SUCCESS)
3400 Result = ((NdefMap->StdMifareContainer.AuthDone ==
3422 Result = (((RdFlag == PH_FRINFC_MIFARESTD_FLAG1) &&
3426 Result);
3431 return Result;
3437 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3487 Result = phFriNfc_OvrHal_Transceive( NdefMap->LowerDevice,
3497 return Result;
3502 NFCSTATUS Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3515 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
3516 if((Result == NFCSTATUS_SUCCESS) &&
3521 Result = phFriNfc_MifStd_H_RdAcsBit(NdefMap);
3525 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
3528 return Result;
3558 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3564 Result = phFriNfc_MifStd_H_AuthSector(NdefMap);
3578 Result = phFriNfc_OvrHal_Transceive( NdefMap->LowerDevice,
3589 return Result;
3603 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3607 Result = ((NdefMap->StdMifareContainer.AuthDone ==
3613 return Result;
3619 NFCSTATUS Result = NFCSTATUS_SUCCESS;
3633 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3675 Result = phFriNfc_MifStd_H_Chk16Bytes( NdefMap,
3677 if(Result != NFCSTATUS_SUCCESS)
3679 *CRFlag = (uint8_t)((Result == NFCSTATUS_PENDING)?
3696 /* Result = Error */
3697 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3714 /* Result = Error */
3715 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3726 Result = phFriNfc_MapTool_SetCardState(NdefMap,
3753 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3761 Result =
3768 (Result == NFCSTATUS_SUCCESS))
3775 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
3776 *CRFlag = (uint8_t)((Result != NFCSTATUS_PENDING)?
3783 Result == NFCSTATUS_PENDING)
3786 Result = ((NdefMap->SendRecvBuf[TempLength] ==
3792 if(Result != NFCSTATUS_SUCCESS)
3807 Result = phFriNfc_MifStd_H_Chk16Bytes( NdefMap,
3809 if(Result != NFCSTATUS_SUCCESS)
3826 Result = phFriNfc_MifStd_H_Chk16Bytes( NdefMap,
3828 if(Result != NFCSTATUS_SUCCESS)
3842 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3854 Result = phFriNfc_MapTool_SetCardState(NdefMap,
3868 Result = phFriNfc_MifStd_H_GetNxtTLV(NdefMap, &TempLength, &TL4bytesFlag);
3871 (Result == NFCSTATUS_SUCCESS))
3877 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
3888 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3904 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3908 Result = phFriNfc_MifStd_H_Chk16Bytes( NdefMap,
3910 if(Result != NFCSTATUS_SUCCESS)
3922 Result = NFCSTATUS_SUCCESS;
3932 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
3940 Result = ((NdefMap->TLVStruct.NdefTLVFoundFlag ==
3947 return Result;
3954 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4024 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4035 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4038 return Result;
4044 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4049 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4051 Result =
4056 return Result;
4063 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4072 Result = ((NdefMap->TLVStruct.NdefTLVFoundFlag ==
4076 Result);
4083 (Result == NFCSTATUS_SUCCESS))
4088 Result = ((NdefMap->SendRecvBuf[TempLength] >
4092 Result);
4096 (Result == NFCSTATUS_SUCCESS))
4103 else if(Result == NFCSTATUS_SUCCESS)
4106 Result = phFriNfc_MifStd_H_GetNxtTLV(NdefMap,
4115 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
4126 (Result == NFCSTATUS_SUCCESS))
4132 Result = (((((uint16_t)NdefMap->SendRecvBuf[TempLength] << 8) +
4138 Result);
4141 (Result == NFCSTATUS_SUCCESS))
4150 else if(Result == NFCSTATUS_SUCCESS)
4154 Result = phFriNfc_MifStd_H_GetNxtTLV(NdefMap,
4162 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
4172 /* Result = Error */
4173 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
4195 /* Result = Error */
4196 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
4211 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
4224 Result = ((NdefMap->TLVStruct.NdefTLVFoundFlag == PH_FRINFC_MIFARESTD_FLAG1)?
4229 Result = phFriNfc_MifStd_H_GetActCardLen(NdefMap);
4237 return Result;
4372 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4383 Result = ((NdefMap->StdMifareContainer.aidCompleteFlag ==
4385 Result:
4410 Result = ((NdefMap->StdMifareContainer.aidCompleteFlag ==
4412 Result:
4421 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4439 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4449 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4450 Result = ((Result != NFCSTATUS_SUCCESS)?
4451 Result:phFriNfc_MifStd_H_AuthSector(NdefMap));
4455 return Result;
4460 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4467 Result = phFriNfc_MifStd_H_RdtoWrNdefLen(NdefMap);
4473 Result = phFriNfc_MifStd_H_RdAcsBit(NdefMap);
4475 return Result;
4481 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4493 Result = phFriNfc_OvrHal_Transceive( NdefMap->LowerDevice,
4502 return Result;
4507 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4515 Result = phFriNfc_MifStd_H_ChkAcsBit(NdefMap);
4519 (Result == NFCSTATUS_SUCCESS))
4538 Result = phFriNfc_MifStd_H_ProStatNotValid(NdefMap, Result);
4590 Result =
4594 Result);
4598 Result = ((Result != NFCSTATUS_SUCCESS)?
4599 Result:
4608 Result = phFriNfc_MifStd_H_ChkTLVs(NdefMap, &CRFlag);
4617 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4621 return Result;
4626 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4629 Result = phFriNfc_MapTool_ChkSpcVer(NdefMap, PH_FRINFC_MIFARESTD_VAL9);
4635 if(Result == NFCSTATUS_SUCCESS)
4673 return Result;
4679 NFCSTATUS Result = status;
4705 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4712 Result = NFCSTATUS_SUCCESS;
4723 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4732 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4739 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4748 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
4750 Result = ((Result != NFCSTATUS_SUCCESS)?
4764 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4775 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4786 Result = NFCSTATUS_SUCCESS;
4790 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4807 Result = phFriNfc_MifStd_H_RdtoWrNdefLen(NdefMap);
4811 return Result;
4816 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4820 Result = phFriNfc_MifStd_H_Rd16Bytes(NdefMap,
4822 return Result;
4827 NFCSTATUS Result = NFCSTATUS_SUCCESS;
4853 Result = ((TempLength == PH_FRINFC_MIFARESTD_BLOCK_BYTES)?
4859 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
4863 return Result;
4939 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5024 Result = phFriNfc_MifStd_H_WrTLV(NdefMap);
5025 return Result;
5030 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5049 Result = phFriNfc_OvrHal_Transceive( NdefMap->LowerDevice,
5060 return Result;
5065 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5086 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5087 if(Result == NFCSTATUS_SUCCESS)
5089 Result = ((NdefMap->StdMifareContainer.AuthDone ==
5135 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5153 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5154 if(Result == NFCSTATUS_SUCCESS)
5157 Result = ((NdefMap->StdMifareContainer.AuthDone ==
5166 if((Result == NFCSTATUS_SUCCESS) &&
5172 Result = phFriNfc_MifStd_H_WrTermTLV(NdefMap);
5176 if((Result == NFCSTATUS_SUCCESS) &&
5186 Result = phFriNfc_MifStd_H_RdtoWrNdefLen(NdefMap);
5189 return Result;
5482 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5491 Result = phFriNfc_MifStd_H_BlkChk_1(NdefMap);
5499 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5511 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5515 Result = ((Result == NFCSTATUS_SUCCESS)?
5517 Result);
5518 return Result;
5527 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5584 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
5588 return Result;
5712 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5716 Result = phFriNfc_MifStd_H_Rd16Bytes(NdefMap,
5718 return Result;
5723 NFCSTATUS Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
5753 Result = phFriNfc_MifStd_H_RemainTLV(NdefMap, &NDEFFlag, &TempLength);
5756 return Result;
5761 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5781 Result = phFriNfc_MifStd_H_WrTLV(NdefMap);
5783 return Result;
5789 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5892 Result = ((NdefMap->StdMifareContainer.remainingSize == 0)?
5893 Result:
5912 Result = phFriNfc_MifStd_H_BlkChk(NdefMap);
5913 if(Result == NFCSTATUS_SUCCESS)
5916 Result = ((NdefMap->StdMifareContainer.AuthDone ==
5926 Result = PHNFCSTVAL( CID_FRI_NFC_NDEF_MAP,
5930 if((Result == NFCSTATUS_SUCCESS) &&
5936 Result = phFriNfc_MifStd_H_WrTermTLV(NdefMap);
5940 if((Result == NFCSTATUS_SUCCESS) &&
5950 Result = phFriNfc_MifStd_H_RdtoWrNdefLen(NdefMap);
5953 return Result;
5958 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5966 Result = phFriNfc_OvrHal_Disconnect( NdefMap->LowerDevice,
5971 Result = phFriNfc_OvrHal_Reconnect( NdefMap->LowerDevice,
5976 return Result;
5982 NFCSTATUS Result = NFCSTATUS_SUCCESS;
5993 Result = phFriNfc_OvrHal_Poll( NdefMap->LowerDevice,
5999 return Result;
6005 NFCSTATUS Result = NFCSTATUS_SUCCESS;
6010 Result = phFriNfc_OvrHal_Connect( NdefMap->LowerDevice,
6014 return Result;
6065 NFCSTATUS result = NFCSTATUS_SUCCESS;
6070 result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, NFCSTATUS_INVALID_PARAMETER);
6074 result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, NFCSTATUS_INVALID_STATE);
6103 result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, NFCSTATUS_INVALID_PARAMETER);
6145 result = phFriNfc_MifStd_H_AuthSector(NdefMap);
6147 if (result == NFCSTATUS_PENDING )
6156 NFCSTATUS_PENDING!= result )
6158 result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP, NFCSTATUS_NO_NDEF_SUPPORT);
6163 return result;
6188 NFCSTATUS Result = NFCSTATUS_SUCCESS;
6196 Result = phFriNfc_MifStd_H_ChkAcsBit(NdefMap);
6197 if(Result == NFCSTATUS_SUCCESS)
6203 Result = phFriNfc_MifStd_H_ProWrSectorTrailor(NdefMap);
6208 Result = phFriNfc_MifStd_H_WrSectorTrailorBlock(NdefMap);
6215 Result = PHNFCSTVAL(CID_FRI_NFC_NDEF_MAP,
6219 return Result;