Lines Matching refs:lastCmdTpduSent
293 int T1protocol_checkSBlockResponseConsistency(Tpdu* lastCmdTpduSent, in T1protocol_checkSBlockResponseConsistency() argument
298 if ((lastCmdTpduSent->pcb == (uint8_t)SBLOCK_WTX_REQUEST_MASK) || in T1protocol_checkSBlockResponseConsistency()
299 (lastCmdTpduSent->pcb == (uint8_t)SBLOCK_ABORT_REQUEST_MASK) || in T1protocol_checkSBlockResponseConsistency()
300 (lastCmdTpduSent->pcb == (uint8_t)SBLOCK_IFS_REQUEST_MASK) || in T1protocol_checkSBlockResponseConsistency()
301 (lastCmdTpduSent->pcb == (uint8_t)SBLOCK_RESYNCH_REQUEST_MASK) || in T1protocol_checkSBlockResponseConsistency()
302 (lastCmdTpduSent->pcb == (uint8_t)SBLOCK_SWRESET_REQUEST_MASK)) { in T1protocol_checkSBlockResponseConsistency()
306 expectedPcbResponse = lastCmdTpduSent->pcb | 0b00100000; in T1protocol_checkSBlockResponseConsistency()
330 int T1protocol_checkTpduConsistency(Tpdu* lastCmdTpduSent, in T1protocol_checkTpduConsistency() argument
355 if (T1protocol_checkSBlockResponseConsistency(lastCmdTpduSent, in T1protocol_checkTpduConsistency()
585 __attribute((unused)) Tpdu* lastCmdTpduSent, in T1protocol_processSBlock()
798 int T1protocol_doResendRequest(Tpdu* lastCmdTpduSent, in T1protocol_doResendRequest() argument
805 lastCmdTpduSent); in T1protocol_doResendRequest()
811 result = SpiLayerInterface_transcieveTpdu(lastCmdTpduSent, in T1protocol_doResendRequest()
964 int T1protocol_handleTpduResponse(Tpdu* originalCmdTpdu, Tpdu* lastCmdTpduSent, in T1protocol_handleTpduResponse() argument
978 rc = T1protocol_checkTpduConsistency(lastCmdTpduSent, lastRespTpduReceived); in T1protocol_handleTpduResponse()
1003 rc = T1protocol_processSBlock(originalCmdTpdu, lastCmdTpduSent, in T1protocol_handleTpduResponse()
1131 Tpdu originalCmdTpdu, lastCmdTpduSent, lastRespTpduReceived; in T1protocol_transcieveApduPart() local
1133 lastCmdTpduSent.data = (uint8_t*)malloc(ATP.ifsc * sizeof(uint8_t)); in T1protocol_transcieveApduPart()
1150 Tpdu_copy(&lastCmdTpduSent, &originalCmdTpdu); in T1protocol_transcieveApduPart()
1210 rc = T1protocol_handleTpduResponse(&originalCmdTpdu, &lastCmdTpduSent, in T1protocol_transcieveApduPart()
1228 free(lastCmdTpduSent.data); in T1protocol_transcieveApduPart()
1229 lastCmdTpduSent.data = NULL; in T1protocol_transcieveApduPart()