• Home
  • Raw
  • Download

Lines Matching refs:TopazContainer

231     NdefMap->TopazContainer.CRIndex = PH_FRINFC_NDEFMAP_CR_INVALID_OPE;  in phFriNfc_TopazMap_H_Reset()
232 NdefMap->TopazContainer.CurrentBlock = PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_H_Reset()
233 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_H_Reset()
234 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_H_Reset()
235 (void)memset(NdefMap->TopazContainer.ReadBuffer, PH_FRINFC_TOPAZ_VAL0, in phFriNfc_TopazMap_H_Reset()
236 sizeof(NdefMap->TopazContainer.ReadBuffer)); in phFriNfc_TopazMap_H_Reset()
237 NdefMap->TopazContainer.ReadWriteCompleteFlag = PH_FRINFC_TOPAZ_FLAG0; in phFriNfc_TopazMap_H_Reset()
238 NdefMap->TopazContainer.RemainingSize = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_H_Reset()
239 (void)memset(NdefMap->TopazContainer.UID, PH_FRINFC_TOPAZ_VAL0, in phFriNfc_TopazMap_H_Reset()
240 sizeof(NdefMap->TopazContainer.UID)); in phFriNfc_TopazMap_H_Reset()
241 NdefMap->TopazContainer.Cur_RW_Index=0; in phFriNfc_TopazMap_H_Reset()
242 NdefMap->TopazContainer.ByteRWFrmCard =0; in phFriNfc_TopazMap_H_Reset()
268 NdefMap->TopazContainer.CRIndex = PH_FRINFC_NDEFMAP_CR_CHK_NDEF; in phFriNfc_TopazMap_ChkNdef()
269 NdefMap->TopazContainer.CurrentBlock = PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_ChkNdef()
270 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_ChkNdef()
290 Result = phFriNfc_Tpz_H_RdBytes(NdefMap, NdefMap->TopazContainer.CurrentBlock, in phFriNfc_TopazMap_ChkNdef()
291 NdefMap->TopazContainer.ByteNumber); in phFriNfc_TopazMap_ChkNdef()
347 NdefMap->TopazContainer.CRIndex = PH_FRINFC_NDEFMAP_CR_RD_NDEF; in phFriNfc_TopazMap_RdNdef()
356 NdefMap->TopazContainer.CurrentBlock = PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_RdNdef()
357 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_RdNdef()
360 NdefMap->TopazContainer.ReadWriteCompleteFlag = in phFriNfc_TopazMap_RdNdef()
380 (NdefMap->TopazContainer.ReadWriteCompleteFlag == in phFriNfc_TopazMap_RdNdef()
392 NdefMap->TopazContainer.CurrentBlock, in phFriNfc_TopazMap_RdNdef()
393 NdefMap->TopazContainer.ByteNumber): in phFriNfc_TopazMap_RdNdef()
429 NdefMap->TopazContainer.CRIndex = PH_FRINFC_NDEFMAP_CR_WR_NDEF; in phFriNfc_TopazMap_WrNdef()
439 NdefMap->TopazContainer.CurrentBlock = PH_FRINFC_TOPAZ_VAL1; in phFriNfc_TopazMap_WrNdef()
440 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL0; in phFriNfc_TopazMap_WrNdef()
455 NdefMap->TopazContainer.ReadWriteCompleteFlag = in phFriNfc_TopazMap_WrNdef()
457 NdefMap->TopazContainer.RemainingSize = NdefMap->CardMemSize; in phFriNfc_TopazMap_WrNdef()
471 (NdefMap->TopazContainer.ReadWriteCompleteFlag == in phFriNfc_TopazMap_WrNdef()
484 phFriNfc_Tpz_H_RdBytes(NdefMap, NdefMap->TopazContainer.CurrentBlock, in phFriNfc_TopazMap_WrNdef()
485 NdefMap->TopazContainer.ByteNumber): in phFriNfc_TopazMap_WrNdef()
486 phFriNfc_Tpz_H_WrAByte(NdefMap, NdefMap->TopazContainer.CurrentBlock, in phFriNfc_TopazMap_WrNdef()
487 NdefMap->TopazContainer.ByteNumber,TempByteVal)); in phFriNfc_TopazMap_WrNdef()
751 switch (psNdefMap->TopazContainer.InternalState) in phFriNfc_TopazMap_Process()
805 block_number = psNdefMap->TopazContainer.CurrentBlock; in phFriNfc_TopazMap_Process()
806 byte_number = psNdefMap->TopazContainer.ByteNumber; in phFriNfc_TopazMap_Process()
1165 (void)memcpy(NdefMap->TopazContainer.UID, in phFriNfc_Tpz_H_ProReadID()
1184 Result = phFriNfc_Tpz_H_RdBytes(NdefMap, NdefMap->TopazContainer.CurrentBlock, in phFriNfc_Tpz_H_ProReadID()
1185 NdefMap->TopazContainer.ByteNumber); in phFriNfc_Tpz_H_ProReadID()
1199 if ((NdefMap->TopazContainer.UID[0] == NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2]) && in phFriNfc_Tpz_H_ProReadAll()
1200 (NdefMap->TopazContainer.UID[1] == NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2 + 1]) && in phFriNfc_Tpz_H_ProReadAll()
1201 (NdefMap->TopazContainer.UID[2] == NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2 + 2]) && in phFriNfc_Tpz_H_ProReadAll()
1202 (NdefMap->TopazContainer.UID[3] == NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2 + 3])) in phFriNfc_Tpz_H_ProReadAll()
1211 memcompare = memcmp(NdefMap->TopazContainer.UID, in phFriNfc_Tpz_H_ProReadAll()
1222 (void)memcpy(NdefMap->TopazContainer.ReadBuffer, in phFriNfc_Tpz_H_ProReadAll()
1251 NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL1]); in phFriNfc_Tpz_H_CallNxtOp()
1255 ( NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL2] <= in phFriNfc_Tpz_H_CallNxtOp()
1269 NdefMap->TopazContainer.RemainingSize = (uint16_t) in phFriNfc_Tpz_H_CallNxtOp()
1293 NdefMap->TopazContainer.ByteNumber += PH_FRINFC_TOPAZ_VAL2; in phFriNfc_Tpz_H_CallNxtOp()
1313 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_T_OF_TLV; in phFriNfc_Tpz_H_CallNxtOp()
1319 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL4; in phFriNfc_Tpz_H_CallNxtOp()
1321 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_CC_BYTE0; in phFriNfc_Tpz_H_CallNxtOp()
1336 if(NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ChkCCBytes()
1341 NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL1]); in phFriNfc_Tpz_H_ChkCCBytes()
1344 Result = ((( NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL2] > in phFriNfc_Tpz_H_ChkCCBytes()
1352 NdefMap->TopazContainer.RemainingSize = in phFriNfc_Tpz_H_ChkCCBytes()
1359 (NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL3] != in phFriNfc_Tpz_H_ChkCCBytes()
1368 ((NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL3] != in phFriNfc_Tpz_H_ChkCCBytes()
1370 (NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL3] != in phFriNfc_Tpz_H_ChkCCBytes()
1431 (NdefMap->TopazContainer.RemainingSize >= PH_FRINFC_TOPAZ_VAL3)) in phFriNfc_Tpz_H_findNDEFTLV()
1433 switch(NdefMap->TopazContainer.ReadBuffer[index]) in phFriNfc_Tpz_H_findNDEFTLV()
1440 NdefMap->TopazContainer.RemainingSize -= PH_FRINFC_TOPAZ_VAL2; in phFriNfc_Tpz_H_findNDEFTLV()
1443 (uint32_t)NdefMap->TopazContainer.ReadBuffer[index]); in phFriNfc_Tpz_H_findNDEFTLV()
1445 if((NdefMap->TopazContainer.ReadBuffer[index] > in phFriNfc_Tpz_H_findNDEFTLV()
1446 NdefMap->TopazContainer.RemainingSize) || in phFriNfc_Tpz_H_findNDEFTLV()
1447 ((NdefMap->TopazContainer.ReadBuffer[index] == in phFriNfc_Tpz_H_findNDEFTLV()
1461 NdefMap->TopazContainer.ReadBuffer[index]; in phFriNfc_Tpz_H_findNDEFTLV()
1473 … NdefMap->TopazContainer.ByteNumber = (uint8_t)(((NdefMap->TLVStruct.NdefTLVBlock - 1) * 8) + in phFriNfc_Tpz_H_findNDEFTLV()
1483 NdefMap->TopazContainer.RemainingSize--; in phFriNfc_Tpz_H_findNDEFTLV()
1499 NdefMap->TopazContainer.RemainingSize -= PH_FRINFC_TOPAZ_VAL2; in phFriNfc_Tpz_H_findNDEFTLV()
1500 if(NdefMap->TopazContainer.ReadBuffer[index] > in phFriNfc_Tpz_H_findNDEFTLV()
1501 NdefMap->TopazContainer.RemainingSize) in phFriNfc_Tpz_H_findNDEFTLV()
1512 NdefMap->TopazContainer.RemainingSize = in phFriNfc_Tpz_H_findNDEFTLV()
1513 NdefMap->TopazContainer.RemainingSize - in phFriNfc_Tpz_H_findNDEFTLV()
1514 NdefMap->TopazContainer.ReadBuffer[index]; in phFriNfc_Tpz_H_findNDEFTLV()
1518 (NdefMap->TopazContainer.ReadBuffer[index] + in phFriNfc_Tpz_H_findNDEFTLV()
1538 NdefMap->TopazContainer.ByteNumber = PH_FRINFC_TOPAZ_VAL4; in phFriNfc_Tpz_H_findNDEFTLV()
1539 NdefMap->TopazContainer.RemainingSize = PH_FRINFC_TOPAZ_TOTAL_RWBYTES1; in phFriNfc_Tpz_H_findNDEFTLV()
1555 &(NdefMap->TopazContainer.ReadBuffer[ in phFriNfc_Tpz_H_CpDataToUsrBuf()
1556 NdefMap->TopazContainer.ByteNumber]), in phFriNfc_Tpz_H_CpDataToUsrBuf()
1563 NdefMap->TopazContainer.ByteNumber = in phFriNfc_Tpz_H_CpDataToUsrBuf()
1566 NdefMap->TopazContainer.ReadWriteCompleteFlag = in phFriNfc_Tpz_H_CpDataToUsrBuf()
1570 NdefMap->TopazContainer.RemainingSize = in phFriNfc_Tpz_H_CpDataToUsrBuf()
1571 NdefMap->TopazContainer.RemainingSize - in phFriNfc_Tpz_H_CpDataToUsrBuf()
1581 &(NdefMap->TopazContainer.ReadBuffer[ in phFriNfc_Tpz_H_CpDataToUsrBuf()
1582 NdefMap->TopazContainer.ByteNumber]), in phFriNfc_Tpz_H_CpDataToUsrBuf()
1589 NdefMap->TopazContainer.ByteNumber = in phFriNfc_Tpz_H_CpDataToUsrBuf()
1590 (uint8_t)(NdefMap->TopazContainer.ByteNumber + in phFriNfc_Tpz_H_CpDataToUsrBuf()
1593 NdefMap->TopazContainer.RemainingSize in phFriNfc_Tpz_H_CpDataToUsrBuf()
1594 = NdefMap->TopazContainer.RemainingSize in phFriNfc_Tpz_H_CpDataToUsrBuf()
1611 if((NdefMap->TopazContainer.InternalState == in phFriNfc_Tpz_H_ProWrNMN()
1629 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_L_TLV_0; in phFriNfc_Tpz_H_ProWrNMN()
1636 if((NdefMap->TopazContainer.InternalState == in phFriNfc_Tpz_H_ProWrNMN()
1659 if((NdefMap->TopazContainer.InternalState == in phFriNfc_Tpz_H_ProWrTLV()
1668 NdefMap->TopazContainer.ByteNumber++; in phFriNfc_Tpz_H_ProWrTLV()
1675 NdefMap->TopazContainer.CurrentBlock, in phFriNfc_Tpz_H_ProWrTLV()
1676 NdefMap->TopazContainer.ByteNumber, in phFriNfc_Tpz_H_ProWrTLV()
1682 if((NdefMap->TopazContainer.InternalState == in phFriNfc_Tpz_H_ProWrTLV()
1718 NdefMap->TopazContainer.RemainingSize -= PH_FRINFC_TOPAZ_VAL1; in phFriNfc_Tpz_H_ProWrUsrData()
1721 NdefMap->TopazContainer.ByteNumber++; in phFriNfc_Tpz_H_ProWrUsrData()
1728 (NdefMap->TopazContainer.RemainingSize == PH_FRINFC_TOPAZ_VAL0)) in phFriNfc_Tpz_H_ProWrUsrData()
1731 NdefMap->TopazContainer.ReadWriteCompleteFlag = (uint8_t) in phFriNfc_Tpz_H_ProWrUsrData()
1732 ((NdefMap->TopazContainer.RemainingSize == PH_FRINFC_TOPAZ_VAL0)? in phFriNfc_Tpz_H_ProWrUsrData()
1743 Result = phFriNfc_Tpz_H_WrAByte(NdefMap, NdefMap->TopazContainer.CurrentBlock, in phFriNfc_Tpz_H_ProWrUsrData()
1744 NdefMap->TopazContainer.ByteNumber, in phFriNfc_Tpz_H_ProWrUsrData()
1770 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_L_TLV; in phFriNfc_Tpz_H_WrLByte()
1789 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_NMN_E1; in phFriNfc_Tpz_H_WrByte0ValE1()
1804 NdefMap->CompletionRoutine[NdefMap->TopazContainer.CRIndex]. in phFriNfc_Tpz_H_Complete()
1810 NdefMap->TopazContainer.CurrentBlock = in phFriNfc_Tpz_H_BlkChk()
1811 (uint8_t)((NdefMap->TopazContainer.ByteNumber > in phFriNfc_Tpz_H_BlkChk()
1813 (NdefMap->TopazContainer.CurrentBlock + in phFriNfc_Tpz_H_BlkChk()
1815 NdefMap->TopazContainer.CurrentBlock); in phFriNfc_Tpz_H_BlkChk()
1817 NdefMap->TopazContainer.ByteNumber = (uint8_t)(NdefMap->TopazContainer.ByteNumber % in phFriNfc_Tpz_H_BlkChk()
1826 if(NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ChkCCinChkNdef()
1830 Result = (((NdefMap->TopazContainer.ReadBuffer[PH_FRINFC_TOPAZ_VAL3] & in phFriNfc_Tpz_H_ChkCCinChkNdef()
1836 NdefMap->CardMemSize = NdefMap->TopazContainer.RemainingSize = in phFriNfc_Tpz_H_ChkCCinChkNdef()
1889 switch(NdefMap->TopazContainer.InternalState) in phFriNfc_Tpz_H_WrCCorTLV()
1936 switch(NdefMap->TopazContainer.InternalState) in phFriNfc_Tpz_H_ProCCTLV()
1945 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_CC_BYTE1; in phFriNfc_Tpz_H_ProCCTLV()
1957 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_CC_BYTE2; in phFriNfc_Tpz_H_ProCCTLV()
1969 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_CC_BYTE3; in phFriNfc_Tpz_H_ProCCTLV()
1981 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_T_OF_TLV; in phFriNfc_Tpz_H_ProCCTLV()
1994 NdefMap->TopazContainer.ByteNumber++; in phFriNfc_Tpz_H_ProCCTLV()
2001 NdefMap->TopazContainer.InternalState = PH_FRINFC_TOPAZ_WR_NMN_0; in phFriNfc_Tpz_H_ProCCTLV()