Searched refs:cmd (Results 1 – 2 of 2) sorted by relevance
1990 int prvIsValidCommand(TracealyzerCommandType* cmd) in prvIsValidCommand() argument1992 uint16_t checksum = (uint16_t)(0xFFFF - ( cmd->cmdCode + in prvIsValidCommand()1993 cmd->param1 + in prvIsValidCommand()1994 cmd->param2 + in prvIsValidCommand()1995 cmd->param3 + in prvIsValidCommand()1996 cmd->param4 + in prvIsValidCommand()1997 cmd->param5)); in prvIsValidCommand()1999 if (cmd->checksumMSB != (unsigned char)(checksum >> 8)) in prvIsValidCommand()2002 if (cmd->checksumLSB != (unsigned char)(checksum & 0xFF)) in prvIsValidCommand()2005 if (cmd->cmdCode > CMD_LAST_COMMAND) in prvIsValidCommand()[all …]
1865 int prvIsValidCommand(TracealyzerCommandType* cmd);1868 void prvProcessCommand(TracealyzerCommandType* cmd);