Lines Matching defs:subcmd
361 int i, rv, subcmd, num_gpios;
367 printf("Usage: %s [<subcmd> <GPIO name>]\n", argv[0]);
376 subcmd = EC_GPIO_GET_INFO;
378 subcmd = EC_GPIO_GET_COUNT;
380 subcmd = EC_GPIO_GET_INFO;
382 subcmd = EC_GPIO_GET_BY_NAME;
384 if (subcmd == EC_GPIO_GET_BY_NAME) {
385 p_v1.subcmd = EC_GPIO_GET_BY_NAME;
404 p_v1.subcmd = EC_GPIO_GET_COUNT;
410 if (subcmd == EC_GPIO_GET_COUNT) {
415 /* subcmd EC_GPIO_GET_INFO */
417 p_v1.subcmd = EC_GPIO_GET_INFO;