• Home
  • Raw
  • Download

Lines Matching refs:NdefMap

77 static void phFriNfc_DesfCapCont_HReset(phFriNfc_NdefMap_t  *NdefMap);
82 static void phFriNfc_Felica_HReset(phFriNfc_NdefMap_t *NdefMap);
92 NFCSTATUS phFriNfc_NdefMap_Reset( phFriNfc_NdefMap_t *NdefMap, in phFriNfc_NdefMap_Reset() argument
105 if ( (ReceiveLength == NULL) || (NdefMap == NULL) || (psRemoteDevInfo == NULL) || in phFriNfc_NdefMap_Reset()
116 NdefMap->State = PH_FRINFC_NDEFMAP_STATE_RESET_INIT; in phFriNfc_NdefMap_Reset()
121 NdefMap->CompletionRoutine[index].CompletionRoutine = NULL; in phFriNfc_NdefMap_Reset()
123 NdefMap->CompletionRoutine[index].Context = NULL; in phFriNfc_NdefMap_Reset()
128 NdefMap->LowerDevice = LowerDevice; in phFriNfc_NdefMap_Reset()
131 NdefMap->psRemoteDevInfo = psRemoteDevInfo; in phFriNfc_NdefMap_Reset()
134 NdefMap->ApduBuffer = TrxBuffer; in phFriNfc_NdefMap_Reset()
137 NdefMap->ApduBufferSize = TrxBufferSize; in phFriNfc_NdefMap_Reset()
140 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_Reset()
143 NdefMap->SendLength = 0; in phFriNfc_NdefMap_Reset()
146 NdefMap->SendRecvBuf = ReceiveBuffer; in phFriNfc_NdefMap_Reset()
149 NdefMap->SendRecvLength = ReceiveLength; in phFriNfc_NdefMap_Reset()
152 NdefMap->TempReceiveLength = *ReceiveLength; in phFriNfc_NdefMap_Reset()
155 NdefMap->DataCount = DataCount; in phFriNfc_NdefMap_Reset()
156 *NdefMap->DataCount = 0; in phFriNfc_NdefMap_Reset()
159 NdefMap->Offset = 0; in phFriNfc_NdefMap_Reset()
162 NdefMap->NumOfBytesRead = 0; in phFriNfc_NdefMap_Reset()
165 NdefMap->NumOfBytesWritten = 0; in phFriNfc_NdefMap_Reset()
168 NdefMap->CardType = 0; in phFriNfc_NdefMap_Reset()
171 NdefMap->CardMemSize = 0; in phFriNfc_NdefMap_Reset()
174 NdefMap->PrevOperation = 0; in phFriNfc_NdefMap_Reset()
177 NdefMap->DespOpFlag = 0; in phFriNfc_NdefMap_Reset()
180 NdefMap->MapCompletionInfo.CompletionRoutine = NULL; in phFriNfc_NdefMap_Reset()
181 NdefMap->MapCompletionInfo.Context = NULL; in phFriNfc_NdefMap_Reset()
184 NdefMap->ReadingForWriteOperation = 0; /* FALSE */ in phFriNfc_NdefMap_Reset()
188 phFriNfc_DesfCapCont_HReset(NdefMap); in phFriNfc_NdefMap_Reset()
193 NdefMap->StdMifareContainer.DevInputParam = psDevInputParam; in phFriNfc_NdefMap_Reset()
194 status = phFriNfc_MifareStdMap_H_Reset(NdefMap); in phFriNfc_NdefMap_Reset()
199 NdefMap->FelicaPollDetails.DevInputParam = psDevInputParam; in phFriNfc_NdefMap_Reset()
200 phFriNfc_Felica_HReset(NdefMap); in phFriNfc_NdefMap_Reset()
205 phFriNfc_TopazMap_H_Reset(NdefMap); in phFriNfc_NdefMap_Reset()
210 status = phFriNfc_MifareUL_H_Reset(NdefMap); in phFriNfc_NdefMap_Reset()
215 phFriNfc_Mockup_H_Reset(NdefMap); in phFriNfc_NdefMap_Reset()
222 NdefMap->CardState = PH_NDEFMAP_CARD_STATE_INVALID; in phFriNfc_NdefMap_Reset()
237 NFCSTATUS phFriNfc_NdefMap_SetCompletionRoutine(phFriNfc_NdefMap_t *NdefMap, in phFriNfc_NdefMap_SetCompletionRoutine() argument
244 if ( ( NdefMap == NULL ) || (FunctionID >= PH_FRINFC_NDEFMAP_CR) || in phFriNfc_NdefMap_SetCompletionRoutine()
252 NdefMap->CompletionRoutine[FunctionID].CompletionRoutine = CompletionRoutine; in phFriNfc_NdefMap_SetCompletionRoutine()
255 NdefMap->CompletionRoutine[FunctionID].Context = CompletionRoutineContext; in phFriNfc_NdefMap_SetCompletionRoutine()
280 NFCSTATUS phFriNfc_NdefMap_RdNdef( phFriNfc_NdefMap_t *NdefMap, in phFriNfc_NdefMap_RdNdef() argument
290 || ( NdefMap == NULL ) in phFriNfc_NdefMap_RdNdef()
294 || (NdefMap->CompletionRoutine->CompletionRoutine == NULL) in phFriNfc_NdefMap_RdNdef()
295 || (NdefMap->CompletionRoutine->Context == NULL ) in phFriNfc_NdefMap_RdNdef()
300 else if (NdefMap->CardState == PH_NDEFMAP_CARD_STATE_INVALID) in phFriNfc_NdefMap_RdNdef()
307 else if(NdefMap->CardState == PH_NDEFMAP_CARD_STATE_INITIALIZED) in phFriNfc_NdefMap_RdNdef()
312 NdefMap->NumOfBytesRead = PacketDataLength; in phFriNfc_NdefMap_RdNdef()
313 *NdefMap->NumOfBytesRead = 0; in phFriNfc_NdefMap_RdNdef()
317 …else if ( (NdefMap->PrevOperation == PH_FRINFC_NDEFMAP_WRITE_OPE) && (Offset != PH_FRINFC_NDEFMAP_… in phFriNfc_NdefMap_RdNdef()
331 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_RdNdef()
332 *NdefMap->DataCount = 0; in phFriNfc_NdefMap_RdNdef()
335 if ( (NdefMap->CardType == PH_FRINFC_NDEFMAP_ISO14443_4A_CARD) && in phFriNfc_NdefMap_RdNdef()
336 (Offset == PH_FRINFC_NDEFMAP_SEEK_CUR) && (*NdefMap->DataCount == 0 )) in phFriNfc_NdefMap_RdNdef()
346 switch ( NdefMap->CardType) in phFriNfc_NdefMap_RdNdef()
351 status = phFriNfc_MifareUL_RdNdef ( NdefMap, in phFriNfc_NdefMap_RdNdef()
364 status = phFriNfc_Desfire_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
375 status = phFriNfc_MifareStdMap_RdNdef ( NdefMap, in phFriNfc_NdefMap_RdNdef()
385 status = phFriNfc_Felica_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
395 status = phFriNfc_TopazMap_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
403 status = phFriNfc_TopazDynamicMap_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
413 status = phFriNfc_ISO15693_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
423 status = phFriNfc_Mockup_RdNdef( NdefMap, in phFriNfc_NdefMap_RdNdef()
464 NFCSTATUS phFriNfc_NdefMap_WrNdef( phFriNfc_NdefMap_t *NdefMap, in phFriNfc_NdefMap_WrNdef() argument
473 || ( NdefMap == NULL ) in phFriNfc_NdefMap_WrNdef()
479 || (NdefMap->CompletionRoutine->CompletionRoutine == NULL) in phFriNfc_NdefMap_WrNdef()
480 || (NdefMap->CompletionRoutine->Context == NULL) in phFriNfc_NdefMap_WrNdef()
486 else if (( NdefMap->CardState == PH_NDEFMAP_CARD_STATE_INVALID) && in phFriNfc_NdefMap_WrNdef()
487 (PH_FRINFC_NDEFMAP_TOPAZ_CARD != NdefMap->CardType) && in phFriNfc_NdefMap_WrNdef()
488 (PH_FRINFC_NDEFMAP_TOPAZ_DYNAMIC_CARD != NdefMap->CardType)) in phFriNfc_NdefMap_WrNdef()
496 else if ( NdefMap->CardState == PH_NDEFMAP_CARD_STATE_READ_ONLY ) in phFriNfc_NdefMap_WrNdef()
504 NdefMap->WrNdefPacketLength = PacketDataLength; in phFriNfc_NdefMap_WrNdef()
505 *NdefMap->WrNdefPacketLength = 0; in phFriNfc_NdefMap_WrNdef()
515 if (( NdefMap->CardState == PH_NDEFMAP_CARD_STATE_INVALID) && in phFriNfc_NdefMap_WrNdef()
516 (PH_FRINFC_NDEFMAP_TOPAZ_DYNAMIC_CARD == NdefMap->CardType)) in phFriNfc_NdefMap_WrNdef()
522 NdefMap->CardState = PH_NDEFMAP_CARD_STATE_READ_WRITE; in phFriNfc_NdefMap_WrNdef()
527 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_WrNdef()
528 *NdefMap->DataCount = 0; in phFriNfc_NdefMap_WrNdef()
531 if ( (NdefMap->CardType == PH_FRINFC_NDEFMAP_MIFARE_UL_CARD) || in phFriNfc_NdefMap_WrNdef()
532 (NdefMap->CardType == PH_FRINFC_NDEFMAP_ISO14443_4A_CARD)) in phFriNfc_NdefMap_WrNdef()
534 …if (( (NdefMap->PrevOperation == PH_FRINFC_NDEFMAP_READ_OPE) && (Offset != PH_FRINFC_NDEFMAP_SEEK_… in phFriNfc_NdefMap_WrNdef()
535 ( (Offset == PH_FRINFC_NDEFMAP_SEEK_CUR) && (*NdefMap->DataCount == 0 ))) in phFriNfc_NdefMap_WrNdef()
546 NdefMap->WrNdefPacketLength = PacketDataLength; in phFriNfc_NdefMap_WrNdef()
547 switch ( NdefMap->CardType) in phFriNfc_NdefMap_WrNdef()
552 status = phFriNfc_MifareUL_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
565 status = phFriNfc_Desfire_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
576 status = phFriNfc_MifareStdMap_WrNdef ( NdefMap, in phFriNfc_NdefMap_WrNdef()
586 status = phFriNfc_Felica_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
596 status = phFriNfc_TopazMap_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
604 status = phFriNfc_TopazDynamicMap_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
614 status = phFriNfc_ISO15693_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
625 status = phFriNfc_Mockup_WrNdef( NdefMap, in phFriNfc_NdefMap_WrNdef()
646 phFriNfc_NdefMap_t *NdefMap) in phFriNfc_NdefMap_ConvertToReadOnly() argument
652 if (NULL == NdefMap) in phFriNfc_NdefMap_ConvertToReadOnly()
656 else if ((NdefMap->CompletionRoutine->CompletionRoutine == NULL) in phFriNfc_NdefMap_ConvertToReadOnly()
657 || (NdefMap->CompletionRoutine->Context == NULL)) in phFriNfc_NdefMap_ConvertToReadOnly()
663 switch (NdefMap->CardType) in phFriNfc_NdefMap_ConvertToReadOnly()
667 result = phFriNfc_TopazMap_ConvertToReadOnly (NdefMap); in phFriNfc_NdefMap_ConvertToReadOnly()
673 result = phFriNfc_TopazDynamicMap_ConvertToReadOnly (NdefMap); in phFriNfc_NdefMap_ConvertToReadOnly()
679 result = phFriNfc_ISO15693_ConvertToReadOnly (NdefMap); in phFriNfc_NdefMap_ConvertToReadOnly()
714 NFCSTATUS phFriNfc_NdefMap_ChkNdef( phFriNfc_NdefMap_t *NdefMap) in phFriNfc_NdefMap_ChkNdef() argument
721 if ( NdefMap == NULL ) in phFriNfc_NdefMap_ChkNdef()
727 if( (NdefMap->State != PH_FRINFC_NDEFMAP_STATE_RESET_INIT) || in phFriNfc_NdefMap_ChkNdef()
728 (NdefMap->psRemoteDevInfo->SessionOpened != 0x01 ) ) in phFriNfc_NdefMap_ChkNdef()
733 …else if ( (NdefMap->CompletionRoutine->CompletionRoutine == NULL) || (NdefMap->CompletionRoutine->… in phFriNfc_NdefMap_ChkNdef()
744 sak = NdefMap->psRemoteDevInfo->RemoteDevInfo.Iso14443A_Info.Sak; in phFriNfc_NdefMap_ChkNdef()
752 switch ( NdefMap->psRemoteDevInfo->RemDevType ) in phFriNfc_NdefMap_ChkNdef()
757 status = phFriNfc_ISO15693_ChkNdef (NdefMap); in phFriNfc_NdefMap_ChkNdef()
774 status = phFriNfc_MifareUL_ChkNdef( NdefMap); in phFriNfc_NdefMap_ChkNdef()
787 status = phFriNfc_MifareStdMap_ChkNdef( NdefMap); in phFriNfc_NdefMap_ChkNdef()
804 status = phFriNfc_Desfire_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
815 status = phFriNfc_Desfire_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
836 NdefMap->OpModeType[0] = phHal_eOpModesFelica212; in phFriNfc_NdefMap_ChkNdef()
837 NdefMap->OpModeType[1] = phHal_eOpModesArrayTerminator; in phFriNfc_NdefMap_ChkNdef()
839 status = phFriNfc_Felica_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
851 NdefMap->OpModeType[0] = phHal_eOpModesFelica424; in phFriNfc_NdefMap_ChkNdef()
852 NdefMap->OpModeType[1] = phHal_eOpModesArrayTerminator; in phFriNfc_NdefMap_ChkNdef()
853 status = phFriNfc_Felica_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
869 if ( NdefMap->psRemoteDevInfo->RemoteDevInfo.Jewel_Info.HeaderRom0 in phFriNfc_NdefMap_ChkNdef()
873 status = phFriNfc_TopazMap_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
876 else if( NdefMap->psRemoteDevInfo->RemoteDevInfo.Jewel_Info.HeaderRom0 in phFriNfc_NdefMap_ChkNdef()
880 status = phFriNfc_TopazDynamicMap_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
899 status = phFriNfc_TopazMap_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
919 NdefMap->OpModeType[0] = phHal_eOpModesMockup; in phFriNfc_NdefMap_ChkNdef()
920 NdefMap->OpModeType[1] = phHal_eOpModesArrayTerminator; in phFriNfc_NdefMap_ChkNdef()
921 status = phFriNfc_Mockup_ChkNdef(NdefMap); in phFriNfc_NdefMap_ChkNdef()
954 phFriNfc_NdefMap_t *NdefMap = (phFriNfc_NdefMap_t *)Context; in phFriNfc_NdefMap_Process() local
960 switch ( NdefMap->psRemoteDevInfo->RemDevType ) in phFriNfc_NdefMap_Process()
965 if((NdefMap->CardType == PH_FRINFC_NDEFMAP_MIFARE_STD_1K_CARD) || in phFriNfc_NdefMap_Process()
966 (NdefMap->CardType == PH_FRINFC_NDEFMAP_MIFARE_STD_4K_CARD)) in phFriNfc_NdefMap_Process()
970 phFriNfc_MifareStdMap_Process(NdefMap,Status); in phFriNfc_NdefMap_Process()
980 phFriNfc_MifareUL_Process(NdefMap,Status); in phFriNfc_NdefMap_Process()
991 phFriNfc_Desfire_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
999 phFriNfc_Desfire_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
1005 phFriNfc_Felica_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
1014 if ( NdefMap->CardType == PH_FRINFC_NDEFMAP_TOPAZ_CARD ) in phFriNfc_NdefMap_Process()
1017 phFriNfc_TopazMap_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
1020 else if ( NdefMap->CardType == PH_FRINFC_NDEFMAP_TOPAZ_DYNAMIC_CARD ) in phFriNfc_NdefMap_Process()
1023 phFriNfc_TopazDynamicMap_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
1039 phFriNfc_Mockup_Process(NdefMap, Status); in phFriNfc_NdefMap_Process()
1048 NdefMap->State = PH_FRINFC_NDEFMAP_STATE_RESET_INIT; in phFriNfc_NdefMap_Process()
1051 NdefMap->CompletionRoutine[PH_FRINFC_NDEFMAP_CR_INVALID_OPE]. in phFriNfc_NdefMap_Process()
1052 CompletionRoutine(NdefMap->CompletionRoutine->Context, Status); in phFriNfc_NdefMap_Process()
1067 NFCSTATUS phFriNfc_ChkAndParseTLV(phFriNfc_NdefMap_t *NdefMap)
1071 switch ( NdefMap->CardType )
1082 status = phFriNfc_Desf_ChkAndParseTLV(NdefMap);
1115 static void phFriNfc_DesfCapCont_HReset(phFriNfc_NdefMap_t *NdefMap) in phFriNfc_DesfCapCont_HReset() argument
1118 NdefMap->DesfireCapContainer.DesfVersion = 0; in phFriNfc_DesfCapCont_HReset()
1119 NdefMap->DesfireCapContainer.NdefMsgFid = 0; in phFriNfc_DesfCapCont_HReset()
1120 NdefMap->DesfireCapContainer.NdefFileSize = 0; in phFriNfc_DesfCapCont_HReset()
1121 NdefMap->DesfireCapContainer.MaxCmdSize = 0; in phFriNfc_DesfCapCont_HReset()
1122 NdefMap->DesfireCapContainer.MaxRespSize = 0; in phFriNfc_DesfCapCont_HReset()
1123 NdefMap->DesfireCapContainer.ReadAccess = 0; in phFriNfc_DesfCapCont_HReset()
1124 NdefMap->DesfireCapContainer.WriteAccess = 0; in phFriNfc_DesfCapCont_HReset()
1129 static void phFriNfc_Felica_HReset(phFriNfc_NdefMap_t *NdefMap) in phFriNfc_Felica_HReset() argument
1135 NdefMap->Felica.CurBlockNo = 0; in phFriNfc_Felica_HReset()
1139 NdefMap->Felica.Rd_BytesToCopyBuff[index] = 0; in phFriNfc_Felica_HReset()
1140 NdefMap->Felica.Wr_RemainedBytesBuff[index] = 0; in phFriNfc_Felica_HReset()
1142 NdefMap->Felica.Rd_NoBytesToCopy = 0; in phFriNfc_Felica_HReset()
1143 NdefMap->Felica.Wr_BytesRemained = 0; in phFriNfc_Felica_HReset()
1149 NdefMap->FelicaAttrInfo.LenBytes[index] = 0; in phFriNfc_Felica_HReset()
1152 NdefMap->FelicaAttrInfo.Nmaxb = 0; in phFriNfc_Felica_HReset()
1153 NdefMap->FelicaAttrInfo.Nbr = 0; in phFriNfc_Felica_HReset()
1154 NdefMap->FelicaAttrInfo.Nbw= 0; in phFriNfc_Felica_HReset()
1155 NdefMap->FelicaAttrInfo.RdWrFlag = 0; in phFriNfc_Felica_HReset()
1156 NdefMap->FelicaAttrInfo.WriteFlag = 0; in phFriNfc_Felica_HReset()
1157 NdefMap->Felica.CurrBytesRead=0; in phFriNfc_Felica_HReset()
1162 NdefMap->FelicaManufDetails.ManufID[index] = 0; in phFriNfc_Felica_HReset()
1163 NdefMap->FelicaManufDetails.ManufParameter[index] = 0; in phFriNfc_Felica_HReset()
1165 NdefMap->Felica.NoBlocksWritten=0; in phFriNfc_Felica_HReset()
1169 NFCSTATUS phFriNfc_NdefMap_EraseNdef(phFriNfc_NdefMap_t *NdefMap) in phFriNfc_NdefMap_EraseNdef() argument
1177 if (NdefMap == NULL ) in phFriNfc_NdefMap_EraseNdef()
1184 switch ( NdefMap->CardType) in phFriNfc_NdefMap_EraseNdef()
1206 status = phFriNfc_NdefMap_WrNdef( NdefMap, in phFriNfc_NdefMap_EraseNdef()
1216 status = phFriNfc_Felica_EraseNdef( NdefMap ); in phFriNfc_NdefMap_EraseNdef()
1239 NFCSTATUS phFriNfc_NdefMap_GetContainerSize(const phFriNfc_NdefMap_t *NdefMap,uint32_t *maxSize, ui… in phFriNfc_NdefMap_GetContainerSize() argument
1246 if( (NdefMap == NULL) || (maxSize == NULL) || (actualSize == NULL)) in phFriNfc_NdefMap_GetContainerSize()
1254 switch(NdefMap->CardType) in phFriNfc_NdefMap_GetContainerSize()
1262 *maxSize = NdefMap->MifareULContainer.RemainingSize; in phFriNfc_NdefMap_GetContainerSize()
1265 *actualSize = NdefMap->TLVStruct.ActualSize; in phFriNfc_NdefMap_GetContainerSize()
1280 *maxSize = NdefMap->DesfireCapContainer.NdefFileSize - 2; in phFriNfc_NdefMap_GetContainerSize()
1283 *actualSize = NdefMap->DesfireCapContainer.NdefDataLen; in phFriNfc_NdefMap_GetContainerSize()
1293 *maxSize = NdefMap->TopazContainer.RemainingSize; in phFriNfc_NdefMap_GetContainerSize()
1296 *actualSize = NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_NdefMap_GetContainerSize()
1304 *maxSize = NdefMap->TopazContainer.NDEFRWSize; in phFriNfc_NdefMap_GetContainerSize()
1307 *actualSize = NdefMap->TopazContainer.ActualNDEFMsgSize; in phFriNfc_NdefMap_GetContainerSize()
1321 *maxSize = NdefMap->StdMifareContainer.remainingSize; in phFriNfc_NdefMap_GetContainerSize()
1326 NdefMap->StdMifareContainer.aid[count_index]) && in phFriNfc_NdefMap_GetContainerSize()
1350 NdefMap->CardType) in phFriNfc_NdefMap_GetContainerSize()
1380 if (actual_sect_index > NdefMap->StdMifareContainer.SectorIndex) in phFriNfc_NdefMap_GetContainerSize()
1382 actual_sect_index = NdefMap->StdMifareContainer.SectorIndex; in phFriNfc_NdefMap_GetContainerSize()
1388 *actualSize = NdefMap->TLVStruct.BytesRemainLinTLV; in phFriNfc_NdefMap_GetContainerSize()
1397 *maxSize = NdefMap->FelicaAttrInfo.Nmaxb * 0x10; in phFriNfc_NdefMap_GetContainerSize()
1400 *actualSize = NdefMap->FelicaAttrInfo.LenBytes[0]; in phFriNfc_NdefMap_GetContainerSize()
1402 *actualSize += NdefMap->FelicaAttrInfo.LenBytes[1]; in phFriNfc_NdefMap_GetContainerSize()
1404 *actualSize += NdefMap->FelicaAttrInfo.LenBytes[2]; in phFriNfc_NdefMap_GetContainerSize()
1417 NdefMap->ISO15693Container.ndef_tlv_type_blk, in phFriNfc_NdefMap_GetContainerSize()
1418 NdefMap->ISO15693Container.ndef_tlv_type_byte, in phFriNfc_NdefMap_GetContainerSize()
1419 NdefMap->ISO15693Container.actual_ndef_size); in phFriNfc_NdefMap_GetContainerSize()
1422 NdefMap->ISO15693Container.ndef_tlv_type_blk, in phFriNfc_NdefMap_GetContainerSize()
1423 NdefMap->ISO15693Container.ndef_tlv_type_byte, in phFriNfc_NdefMap_GetContainerSize()
1424 NdefMap->ISO15693Container.actual_ndef_size); in phFriNfc_NdefMap_GetContainerSize()
1426 *maxSize = (NdefMap->ISO15693Container.max_data_size - in phFriNfc_NdefMap_GetContainerSize()
1430 *maxSize = (NdefMap->ISO15693Container.max_data_size in phFriNfc_NdefMap_GetContainerSize()
1433 *actualSize = NdefMap->ISO15693Container.actual_ndef_size; in phFriNfc_NdefMap_GetContainerSize()
1458 NFCSTATUS phFriNfc_NdefMap_MockupCardSetter(phFriNfc_NdefMap_t *NdefMap, in phFriNfc_NdefMap_MockupCardSetter() argument
1466 if((NdefData != NULL) && (NdefMap != NULL)) in phFriNfc_NdefMap_MockupCardSetter()
1469 NdefMap->MochupContainer.NdefData = NdefData; in phFriNfc_NdefMap_MockupCardSetter()
1470 NdefMap->MochupContainer.NdefActualSize = NdefActualSize; in phFriNfc_NdefMap_MockupCardSetter()
1471 NdefMap->MochupContainer.NdefMaxSize = NdefMaxSize; in phFriNfc_NdefMap_MockupCardSetter()
1472 NdefMap->MochupContainer.CardSize = CardSize; in phFriNfc_NdefMap_MockupCardSetter()
1473 NdefMap->MochupContainer.CurrentBlock = 0; in phFriNfc_NdefMap_MockupCardSetter()