Home
last modified time | relevance | path

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

/openbmc/u-boot/cmd/
H A Dgpio.c123 const char *str_cmd, *str_gpio = NULL; in do_gpio() local
143 str_gpio = *argv; in do_gpio()
150 return cmd_process_error(cmdtp, do_gpio_status(all, str_gpio)); in do_gpio()
156 if (!str_gpio) in do_gpio()
185 ret = gpio_lookup_name(str_gpio, NULL, NULL, &gpio); in do_gpio()
187 printf("GPIO: '%s' not found\n", str_gpio); in do_gpio()
192 gpio = name_to_gpio(str_gpio); in do_gpio()
225 printf("gpio: pin %s (gpio %u) value is ", str_gpio, gpio); in do_gpio()