Searched refs:bus_commands (Results 1 – 2 of 2) sorted by relevance
127 static struct command bus_commands[] = { variable 178 commands = bus_commands; in main() 188 commands == bus_commands ? "bus" : "device", cmdname); in main() 207 for (i = 0; bus_commands[i].cmd_name != NULL; i++) in usage() 208 fprintf(stderr, "\t%s %s\n", bus_commands[i].cmd_name, in usage() 209 bus_commands[i].arg_names); in usage()
213 static const struct command bus_commands[] = { variable543 for (i = 0; bus_commands[i].cmd_name != NULL; i++) { in main()544 if (strcmp(cmdname, bus_commands[i].cmd_name) == 0) { in main()545 commands = &bus_commands[i]; in main()571 for (i=0; bus_commands[i].cmd_name != NULL; i++) in usage()572 fprintf(stderr, "\t%s %s\n", bus_commands[i].cmd_name, in usage()573 bus_commands[i].arg_names); in usage()