Lines Matching refs:command
55 NanotoolCommand command = NanotoolCommand::Poll; member
164 && (args->command == NanotoolCommand::Disable in ValidateArgs()
165 || args->command == NanotoolCommand::Calibrate in ValidateArgs()
166 || args->command == NanotoolCommand::Test in ValidateArgs()
167 || args->command == NanotoolCommand::Poll)) { in ValidateArgs()
174 if (args->command == NanotoolCommand::Flash in ValidateArgs()
182 if (args->command == NanotoolCommand::Poll) { in ValidateArgs()
195 if (args->command == NanotoolCommand::Calibrate) { in ValidateArgs()
318 args->command = StrToCommand(optarg); in ParseArgs()
319 if (args->command == NanotoolCommand::Invalid) { in ParseArgs()
441 switch (args->command) { in main()
499 } else if (args->command != NanotoolCommand::Read in main()
500 && args->command != NanotoolCommand::Poll) { in main()