Home
last modified time | relevance | path

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

/external/libnfc-nxp/src/
DphFriNfc_FelicaMap.c148 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_Felica_RdNdef()
216 …if( ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) > 0) && (NdefMap->Felica.CurBlockNo < Nbc… in phFriNfc_Felica_HReadData()
265 if( ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)% 16) == 0) in phFriNfc_Felica_HSetTrxLen()
267 BlocksToRead = (uint16_t)( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)/16 ); in phFriNfc_Felica_HSetTrxLen()
271 BlocksToRead = (uint16_t)(((NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)/16) +1); in phFriNfc_Felica_HSetTrxLen()
334 if ( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) < NdefMap->Felica.Rd_NoBytesToCopy ) in phFriNfc_Felica_HAfterRead_CopyDataToBuff()
336 … NdefMap->Felica.Rd_NoBytesToCopy -= (uint8_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex); in phFriNfc_Felica_HAfterRead_CopyDataToBuff()
343 (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)); in phFriNfc_Felica_HAfterRead_CopyDataToBuff()
348 … NdefMap->Felica.IntermediateCpyLen += (uint8_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex); in phFriNfc_Felica_HAfterRead_CopyDataToBuff()
367 (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex)); in phFriNfc_Felica_HAfterRead_CopyDataToBuff()
[all …]
DphFriNfc_ISO15693Map.c307 psNdefMap->ApduBufferSize); in phFriNfc_ISO15693_H_ProcessWriteNdef()
319 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef()
322 remaining_size = (uint8_t)(psNdefMap->ApduBufferSize - in phFriNfc_ISO15693_H_ProcessWriteNdef()
381 if ((psNdefMap->ApduBufferSize == psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef()
399 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef()
402 remaining_size = (uint8_t)(psNdefMap->ApduBufferSize - in phFriNfc_ISO15693_H_ProcessWriteNdef()
643 <= (psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex)) in phFriNfc_ISO15693_H_ProcessReadNdef()
663 (psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex)); in phFriNfc_ISO15693_H_ProcessReadNdef()
705 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessReadNdef()
711 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessReadNdef()
[all …]
DphFriNfc_MifareULMap.c276 NdefMap->ApduBufferSize = *PacketDataLength ; in phFriNfc_MifareUL_RdNdef()
355 NdefMap->ApduBufferSize = *PacketDataLength ; in phFriNfc_MifareUL_WrNdef()
1141 if(NdefMap->ApduBufferSize >= TemLength) in phFriNfc_MifareUL_Process()
1164 (uint16_t)NdefMap->ApduBufferSize); in phFriNfc_MifareUL_Process()
1167 NdefMap->NumOfBytesWritten = (uint16_t)NdefMap->ApduBufferSize; in phFriNfc_MifareUL_Process()
1169 index= index +(uint8_t)NdefMap->ApduBufferSize; in phFriNfc_MifareUL_Process()
1450 if(NdefMap->ApduBuffIndex < NdefMap->ApduBufferSize) in phFriNfc_MfUL_H_Rd16Bytes()
2562 if(NdefMap->ApduBufferSize >= in phFriNfc_MfUL_H_CpDataToUserBuf()
2586 NdefMap->ApduBufferSize); in phFriNfc_MfUL_H_CpDataToUserBuf()
2589 NdefMap->ApduBufferSize; in phFriNfc_MfUL_H_CpDataToUserBuf()
[all …]
DphFriNfc_DesfireMap.c243 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_Desfire_RdNdef()
307 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_Desfire_WrNdef()
548 BufferSize = NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex; in phFriNfc_Desfire_HProcReadData()
1330 (NdefMap->ApduBuffIndex < NdefMap->ApduBufferSize)) in phFriNfc_Desfire_UpdateBinary()
1335 if( (uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >\ in phFriNfc_Desfire_UpdateBinary()
1338 …NdefMap->ApduBufferSize =( (PH_NFCFRI_NDEFMAP_DESF_NDEF_FILE_SIZE) - (*NdefMap->DataCount + NdefMa… in phFriNfc_Desfire_UpdateBinary()
1372 …if( (NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >= (uint32_t)( NdefMap->DesfireCapContainer… in phFriNfc_Desfire_UpdateBinary()
1382 noOfBytesToWrite = (uint16_t)(NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex); in phFriNfc_Desfire_UpdateBinary()
1433 (NdefMap->ApduBuffIndex == NdefMap->ApduBufferSize)) in phFriNfc_Desfire_UpdateBinary()
1705 … if((NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex) >= NdefMap->DesfireCapContainer.MaxRespSize) in phFriNfc_Desfire_HGetLeBytes()
[all …]
DphFriNfc_TopazDynamicMap.c636 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_TopazDynamicMap_RdNdef()
772 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_TopazDynamicMap_WrNdef()
1296 write_len = (uint16_t)((psNdefMap->ApduBufferSize < ps_tpz_info->NDEFRWSize) ? in phFriNfc_Tpz_H_ProWrResp()
1297 psNdefMap->ApduBufferSize : ps_tpz_info->NDEFRWSize); in phFriNfc_Tpz_H_ProWrResp()
2483 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) >= in phFriNfc_Tpz_H_RemainingReadDataCopy()
2492 read_copy_length = (uint16_t)(psNdefMap->ApduBufferSize - in phFriNfc_Tpz_H_RemainingReadDataCopy()
2529 else if (psNdefMap->ApduBuffIndex == psNdefMap->ApduBufferSize) in phFriNfc_Tpz_H_RemainingReadDataCopy()
2583 exact_copy_length = (uint16_t)((psNdefMap->ApduBufferSize > in phFriNfc_Tpz_H_CopyReadData()
2585 psNdefMap->ApduBufferSize); in phFriNfc_Tpz_H_CopyReadData()
3222 write_len = (uint16_t)((psNdefMap->ApduBufferSize < ps_tpz_info->NDEFRWSize) ? in phFriNfc_Tpz_H_CopyReadDataAndWrite()
[all …]
DphFriNfc_TopazMap.c334 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_TopazMap_RdNdef()
418 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_TopazMap_WrNdef()
1549 if(NdefMap->ApduBufferSize >= in phFriNfc_Tpz_H_CpDataToUsrBuf()
1583 NdefMap->ApduBufferSize); in phFriNfc_Tpz_H_CpDataToUsrBuf()
1587 NdefMap->ApduBufferSize; in phFriNfc_Tpz_H_CpDataToUsrBuf()
1591 NdefMap->ApduBufferSize); in phFriNfc_Tpz_H_CpDataToUsrBuf()
1595 - (uint16_t)NdefMap->ApduBufferSize; in phFriNfc_Tpz_H_CpDataToUsrBuf()
1599 (uint16_t)NdefMap->ApduBufferSize; in phFriNfc_Tpz_H_CpDataToUsrBuf()
1727 if((NdefMap->ApduBufferSize == NdefMap->ApduBuffIndex) || in phFriNfc_Tpz_H_ProWrUsrData()
DphFriNfc_MifareStdMap.c716 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_MifareStdMap_RdNdef()
788 NdefMap->ApduBufferSize = *PacketDataLength; in phFriNfc_MifareStdMap_WrNdef()
925 (NdefMap->ApduBuffIndex < (uint16_t)NdefMap->ApduBufferSize)) in phFriNfc_MifareStdMap_Process()
1299 (uint16_t)NdefMap->ApduBufferSize) in phFriNfc_MifStd_H_RdABlock()
1336 (NdefMap->ApduBufferSize == NdefMap->ApduBuffIndex)) in phFriNfc_MifStd_H_RdABlock()
1385 (uint16_t)NdefMap->ApduBufferSize) in phFriNfc_MifStd_H_WrABlock()
1387 RemainingBytes = (((uint16_t)(NdefMap->ApduBufferSize - in phFriNfc_MifStd_H_WrABlock()
1390 (uint16_t)(NdefMap->ApduBufferSize - in phFriNfc_MifStd_H_WrABlock()
1523 (uint16_t)NdefMap->ApduBufferSize) in phFriNfc_MifStd_H_WrABlock()
2357 RemainingBytes = ((uint16_t)NdefMap->ApduBufferSize -
[all …]
DphFriNfc_NdefMap.h832 uint32_t ApduBufferSize; member
DphFriNfc_NdefMap.c137 NdefMap->ApduBufferSize = TrxBufferSize; in phFriNfc_NdefMap_Reset()