Searched refs:ApduBuffIndex (Results 1 – 9 of 9) sorted by relevance
/external/libnfc-nxp/src/ |
D | phFriNfc_FelicaMap.c | 154 NdefMap->ApduBuffIndex = 0; 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() 341 (void)memcpy( (&(NdefMap->ApduBuffer[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() [all …]
|
D | phFriNfc_ISO15693Map.c | 319 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef() 323 psNdefMap->ApduBuffIndex); in phFriNfc_ISO15693_H_ProcessWriteNdef() 329 psNdefMap->ApduBuffIndex), remaining_size); in phFriNfc_ISO15693_H_ProcessWriteNdef() 332 psNdefMap->ApduBuffIndex = (uint8_t)(psNdefMap->ApduBuffIndex + in phFriNfc_ISO15693_H_ProcessWriteNdef() 365 psNdefMap->ApduBuffIndex); in phFriNfc_ISO15693_H_ProcessWriteNdef() 367 *(a_write_buf + byte_index) = (uint8_t)psNdefMap->ApduBuffIndex; in phFriNfc_ISO15693_H_ProcessWriteNdef() 381 if ((psNdefMap->ApduBufferSize == psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef() 389 psNdefMap->ApduBuffIndex); in phFriNfc_ISO15693_H_ProcessWriteNdef() 399 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) in phFriNfc_ISO15693_H_ProcessWriteNdef() 403 psNdefMap->ApduBuffIndex); in phFriNfc_ISO15693_H_ProcessWriteNdef() [all …]
|
D | phFriNfc_DesfireMap.c | 508 NdefMap->ApduBuffIndex])), in phFriNfc_Desfire_HProcReadData() 519 NdefMap->ApduBuffIndex = (uint16_t)(NdefMap->ApduBuffIndex + SizeToCpy); in phFriNfc_Desfire_HProcReadData() 525 NdefMap->ApduBuffIndex])), in phFriNfc_Desfire_HProcReadData() 538 NdefMap->ApduBuffIndex += \ in phFriNfc_Desfire_HProcReadData() 548 BufferSize = NdefMap->ApduBufferSize - NdefMap->ApduBuffIndex; in phFriNfc_Desfire_HProcReadData() 570 NdefMap->ApduBuffIndex =0; in phFriNfc_Desfire_HProcReadData() 602 NdefMap->ApduBuffIndex = 0; in phFriNfc_Desfire_HProcReadData() 907 NdefMap->ApduBuffIndex = 0; in phFriNfc_Desfire_Process() 941 NdefMap->ApduBuffIndex = 0; in phFriNfc_Desfire_Process() 958 NdefMap->ApduBuffIndex = (uint16_t)(NdefMap->ApduBuffIndex + in phFriNfc_Desfire_Process() [all …]
|
D | phFriNfc_TopazDynamicMap.c | 644 NdefMap->ApduBuffIndex = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazDynamicMap_RdNdef() 774 NdefMap->ApduBuffIndex = 0; in phFriNfc_TopazDynamicMap_WrNdef() 1473 else if (write_len == psNdefMap->ApduBuffIndex) in phFriNfc_Tpz_H_ProWrResp() 1476 *psNdefMap->WrNdefPacketLength = psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp() 1608 psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp() 1610 psNdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrResp() 2483 if ((psNdefMap->ApduBufferSize - psNdefMap->ApduBuffIndex) >= in phFriNfc_Tpz_H_RemainingReadDataCopy() 2487 (void)memcpy ((void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_RemainingReadDataCopy() 2493 psNdefMap->ApduBuffIndex); in phFriNfc_Tpz_H_RemainingReadDataCopy() 2499 (void)memcpy ((void *)(psNdefMap->ApduBuffer + psNdefMap->ApduBuffIndex), in phFriNfc_Tpz_H_RemainingReadDataCopy() [all …]
|
D | phFriNfc_MifareStdMap.c | 719 NdefMap->ApduBuffIndex = 0; in phFriNfc_MifareStdMap_RdNdef() 789 NdefMap->ApduBuffIndex = PH_FRINFC_MIFARESTD_VAL0; in phFriNfc_MifareStdMap_WrNdef() 925 (NdefMap->ApduBuffIndex < (uint16_t)NdefMap->ApduBufferSize)) in phFriNfc_MifareStdMap_Process() 969 *NdefMap->WrNdefPacketLength = NdefMap->ApduBuffIndex; in phFriNfc_MifareStdMap_Process() 1007 *NdefMap->WrNdefPacketLength = NdefMap->ApduBuffIndex; in phFriNfc_MifareStdMap_Process() 1298 if( NdefMap->ApduBuffIndex < in phFriNfc_MifStd_H_RdABlock() 1336 (NdefMap->ApduBufferSize == NdefMap->ApduBuffIndex)) in phFriNfc_MifStd_H_RdABlock() 1344 *NdefMap->NumOfBytesRead = NdefMap->ApduBuffIndex; in phFriNfc_MifStd_H_RdABlock() 1384 if( NdefMap->ApduBuffIndex < in phFriNfc_MifStd_H_WrABlock() 1388 NdefMap->ApduBuffIndex) < in phFriNfc_MifStd_H_WrABlock() [all …]
|
D | phFriNfc_TopazMap.c | 342 NdefMap->ApduBuffIndex = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_RdNdef() 420 NdefMap->ApduBuffIndex = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_WrNdef() 465 TempByteVal = NdefMap->ApduBuffer[NdefMap->ApduBuffIndex]; in phFriNfc_TopazMap_WrNdef() 1648 *NdefMap->WrNdefPacketLength = NdefMap->ApduBuffIndex; in phFriNfc_Tpz_H_ProWrNMN() 1677 NdefMap->ApduBuffer[NdefMap->ApduBuffIndex] in phFriNfc_Tpz_H_ProWrTLV() 1686 NdefMap->ApduBuffIndex)) || in phFriNfc_Tpz_H_ProWrTLV() 1689 (NdefMap->ApduBuffIndex + NdefMap->TLVStruct.BytesRemainLinTLV)))) && in phFriNfc_Tpz_H_ProWrTLV() 1695 NdefMap->ApduBuffIndex: in phFriNfc_Tpz_H_ProWrTLV() 1696 (NdefMap->TLVStruct.BytesRemainLinTLV + NdefMap->ApduBuffIndex)); in phFriNfc_Tpz_H_ProWrTLV() 1711 NdefMap->ApduBuffer[NdefMap->ApduBuffIndex]) && in phFriNfc_Tpz_H_ProWrUsrData() [all …]
|
D | phFriNfc_MifareULMap.c | 873 NdefMap->ApduBuffIndex = PH_FRINFC_NDEFMAP_MFUL_VAL0; in phFriNfc_MifareUL_Process() 1147 NdefMap->ApduBuffIndex]), in phFriNfc_MifareUL_Process() 1163 NdefMap->ApduBuffIndex]), in phFriNfc_MifareUL_Process() 1450 if(NdefMap->ApduBuffIndex < NdefMap->ApduBufferSize) in phFriNfc_MfUL_H_Rd16Bytes() 2723 NdefMap->ApduBuffIndex]), in phFriNfc_MfUL_H_RdBeforeWrite() 2747 NdefMap->ApduBuffIndex]), in phFriNfc_MfUL_H_RdBeforeWrite() 2839 NdefMap->ApduBuffIndex]), in phFriNfc_MfUL_H_CallWrOp() 2873 if(NdefMap->ApduBuffIndex < NdefMap->ApduBufferSize) in phFriNfc_MfUL_H_ProWrittenBytes() 2875 NdefMap->ApduBuffIndex = NdefMap->ApduBuffIndex+NdefMap->NumOfBytesWritten; in phFriNfc_MfUL_H_ProWrittenBytes() 2893 if((NdefMap->ApduBuffIndex == NdefMap->ApduBufferSize) || in phFriNfc_MfUL_H_ProWrittenBytes() [all …]
|
D | phFriNfc_NdefMap.c | 140 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_Reset() 331 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_RdNdef() 527 NdefMap->ApduBuffIndex = 0; in phFriNfc_NdefMap_WrNdef()
|
D | phFriNfc_NdefMap.h | 835 uint16_t ApduBuffIndex; member
|