Searched refs:cmd (Results 1 – 1 of 1) sorted by relevance
108 static int prvIsValidCommand(TraceCommand_t* cmd);111 static void prvProcessCommand(TraceCommand_t* cmd);565 static int prvIsValidCommand(TraceCommand_t* cmd) in prvIsValidCommand() argument567 uint16_t checksum = (uint16_t)(0xFFFF - ( cmd->cmdCode + in prvIsValidCommand()568 cmd->param1 + in prvIsValidCommand()569 cmd->param2 + in prvIsValidCommand()570 cmd->param3 + in prvIsValidCommand()571 cmd->param4 + in prvIsValidCommand()572 cmd->param5)); in prvIsValidCommand()574 if (cmd->checksumMSB != (unsigned char)(checksum >> 8)) in prvIsValidCommand()[all …]