Lines Matching refs:SendRecvBuf
281 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READID; in phFriNfc_TopazMap_ChkNdef()
365 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL; in phFriNfc_TopazMap_RdNdef()
447 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL; in phFriNfc_TopazMap_WrNdef()
458 TempByteVal = NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1]; in phFriNfc_TopazMap_WrNdef()
526 if((CC_READ_ONLY_VALUE == *psNdefMap->SendRecvBuf) in phFriNfc_TopazMap_Process()
531 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ; in phFriNfc_TopazMap_Process()
573 if((LOCK0_BYTE_VALUE == *psNdefMap->SendRecvBuf) in phFriNfc_TopazMap_Process()
577 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ; in phFriNfc_TopazMap_Process()
604 written_lock_byte = (uint8_t)(*psNdefMap->SendRecvBuf | LOCK1_BYTE_VALUE); in phFriNfc_TopazMap_Process()
619 if((written_lock_byte == *psNdefMap->SendRecvBuf) in phFriNfc_TopazMap_Process()
703 *psNdefMap->SendRecvBuf = PH_FRINFC_TOPAZ_CMD_READ; in phFriNfc_TopazMap_Process()
912 switch(NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0]) in phFriNfc_Tpz_H_RdBytes()
931 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READID; in phFriNfc_Tpz_H_RdBytes()
935 (void)memset(&(NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1]), in phFriNfc_Tpz_H_RdBytes()
960 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL; in phFriNfc_Tpz_H_RdBytes()
964 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1] = 0x00; in phFriNfc_Tpz_H_RdBytes()
966 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2] = 0x00; in phFriNfc_Tpz_H_RdBytes()
970 (void)memcpy(&(NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL3]), in phFriNfc_Tpz_H_RdBytes()
998 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READ; in phFriNfc_Tpz_H_RdBytes()
1006 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1] = in phFriNfc_Tpz_H_RdBytes()
1011 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2] = 0x00; in phFriNfc_Tpz_H_RdBytes()
1015 (void)memcpy(&(NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL3]), in phFriNfc_Tpz_H_RdBytes()
1027 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = in phFriNfc_Tpz_H_RdBytes()
1038 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = 0x00; in phFriNfc_Tpz_H_RdBytes()
1039 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1] = 0x00; in phFriNfc_Tpz_H_RdBytes()
1040 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2] = 104; in phFriNfc_Tpz_H_RdBytes()
1059 NdefMap->SendRecvBuf, in phFriNfc_Tpz_H_RdBytes()
1061 NdefMap->SendRecvBuf, in phFriNfc_Tpz_H_RdBytes()
1100 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_WRITE_1E; in phFriNfc_Tpz_H_WrAByte()
1108 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL1] = in phFriNfc_Tpz_H_WrAByte()
1113 NdefMap->SendRecvBuf[index] = ByteVal; in phFriNfc_Tpz_H_WrAByte()
1117 (void)memcpy(&(NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL3]), in phFriNfc_Tpz_H_WrAByte()
1131 NdefMap->SendRecvBuf[index] = in phFriNfc_Tpz_H_WrAByte()
1135 NdefMap->SendRecvBuf[index] = ByteVal; in phFriNfc_Tpz_H_WrAByte()
1147 NdefMap->SendRecvBuf, in phFriNfc_Tpz_H_WrAByte()
1149 NdefMap->SendRecvBuf, in phFriNfc_Tpz_H_WrAByte()
1160 if(((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] & in phFriNfc_Tpz_H_ProReadID()
1166 &NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2], in phFriNfc_Tpz_H_ProReadID()
1174 NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] = PH_FRINFC_TOPAZ_CMD_READALL; 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()
1212 &NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL2], in phFriNfc_Tpz_H_ProReadAll()
1216 if(((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] & in phFriNfc_Tpz_H_ProReadAll()
1223 &NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL10], in phFriNfc_Tpz_H_ProReadAll()
1613 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrNMN()
1638 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrNMN()
1661 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrTLV()
1685 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrTLV()
1688 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrTLV()
1710 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProWrUsrData()
1856 (((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_LOCKBIT_BYTENO_0] == in phFriNfc_Tpz_H_ChkLockBits()
1858 ((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_LOCKBIT_BYTENO_1] == in phFriNfc_Tpz_H_ChkLockBits()
1860 (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_LOCKBIT_BYTENO_1] == in phFriNfc_Tpz_H_ChkLockBits()
1868 if (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_CC_BYTENO_3] == PH_FRINFC_TOPAZ_CC_READWRITE) in phFriNfc_Tpz_H_ChkLockBits()
1872 else if (NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_CC_BYTENO_3] == PH_FRINFC_TOPAZ_CC_READONLY) in phFriNfc_Tpz_H_ChkLockBits()
1941 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProCCTLV()
1953 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProCCTLV()
1965 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProCCTLV()
1977 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProCCTLV()
1989 if((NdefMap->SendRecvBuf[PH_FRINFC_TOPAZ_VAL0] == in phFriNfc_Tpz_H_ProCCTLV()