Home
last modified time | relevance | path

Searched refs:subcmd (Results 1 – 4 of 4) sorted by relevance

/device/google/dragon/recovery/updater/
Ddebug_cmd.h21 struct command *subcmd; member
27 {.handler = cmd_##n, .subcmd = NULL, .name = #n, .help = helpstr}
30 {.handler = cmd_##n, .subcmd = subcmds_##n, .name = #n, .help = helpstr}
33 {.handler = NULL, .subcmd = subcmds_##n, \
Ddebug_ec.c361 int i, rv, subcmd, num_gpios; in cmd_ec_gpioget() local
376 subcmd = EC_GPIO_GET_INFO; in cmd_ec_gpioget()
378 subcmd = EC_GPIO_GET_COUNT; in cmd_ec_gpioget()
380 subcmd = EC_GPIO_GET_INFO; in cmd_ec_gpioget()
382 subcmd = EC_GPIO_GET_BY_NAME; in cmd_ec_gpioget()
384 if (subcmd == EC_GPIO_GET_BY_NAME) { in cmd_ec_gpioget()
385 p_v1.subcmd = EC_GPIO_GET_BY_NAME; in cmd_ec_gpioget()
404 p_v1.subcmd = EC_GPIO_GET_COUNT; in cmd_ec_gpioget()
410 if (subcmd == EC_GPIO_GET_COUNT) { in cmd_ec_gpioget()
417 p_v1.subcmd = EC_GPIO_GET_INFO; in cmd_ec_gpioget()
Dfwtool.cpp347 if (argc > 1 && c->subcmd) in run_cmd()
348 return run_cmd(c->subcmd, idx, nprefx, in run_cmd()
353 print_usage(c->subcmd, idx, nprefx, argc, argv); in run_cmd()
Dec_commands.h2032 uint16_t subcmd; member
2493 uint8_t subcmd; member
2600 uint8_t subcmd; /* enum ec_console_read_subcmd */ member
2960 uint16_t subcmd; /* enum ec_sb_fw_update_subcmd */ member