Home
last modified time | relevance | path

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

/Zephyr-latest/samples/drivers/espi/src/
Dmain.c49 static const struct gpio_dt_spec pwrgd_gpio = GPIO_DT_SPEC_GET(BRD_PWR_NODE, pwrg_gpios); variable
1176 if (!gpio_is_ready_dt(&pwrgd_gpio)) { in espi_test()
1177 LOG_ERR("%s: device not ready.", pwrgd_gpio.port->name); in espi_test()
1205 ret = gpio_pin_configure_dt(&pwrgd_gpio, GPIO_INPUT); in espi_test()
1207 LOG_ERR("Unable to configure %d:%d", pwrgd_gpio.pin, ret); in espi_test()
1256 ret = wait_for_pin(&pwrgd_gpio, PWR_SEQ_TIMEOUT, 1); in espi_test()