Home
last modified time | relevance | path

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

/device/google/dragon/recovery/updater/
Ddebug_ec.c359 struct ec_params_gpio_get_v1 p_v1; in cmd_ec_gpioget() local
385 p_v1.subcmd = EC_GPIO_GET_BY_NAME; in cmd_ec_gpioget()
386 if (strlen(argv[1]) + 1 > sizeof(p_v1.get_value_by_name.name)) { in cmd_ec_gpioget()
390 strcpy(p_v1.get_value_by_name.name, argv[1]); in cmd_ec_gpioget()
392 rv = flash_cmd(ec, EC_CMD_GPIO_GET, 1, &p_v1, in cmd_ec_gpioget()
393 sizeof(p_v1), &r_v1, sizeof(r_v1)); in cmd_ec_gpioget()
398 printf("GPIO %s = %d\n", p_v1.get_value_by_name.name, in cmd_ec_gpioget()
404 p_v1.subcmd = EC_GPIO_GET_COUNT; in cmd_ec_gpioget()
405 rv = flash_cmd(ec, EC_CMD_GPIO_GET, 1, &p_v1, in cmd_ec_gpioget()
406 sizeof(p_v1), &r_v1, sizeof(r_v1)); in cmd_ec_gpioget()
[all …]