Home
last modified time | relevance | path

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

/Zephyr-latest/soc/nuvoton/npcx/common/
Dpower.c90 #if DT_NODE_HAS_PROP(NODE_LEAKAGE_IO, leak_gpios)
111 static struct npcx_leak_gpio leak_gpios[] = { variable
112 DT_FOREACH_PROP_ELEM(NODE_LEAKAGE_IO, leak_gpios, NPCX_POWER_LEAKAGE_IO_INIT)
117 for (int i = 0; i < ARRAY_SIZE(leak_gpios); i++) { in npcx_power_suspend_leak_io_pads()
118 npcx_gpio_disable_io_pads(leak_gpios[i].gpio, leak_gpios[i].pin); in npcx_power_suspend_leak_io_pads()
124 for (int i = 0; i < ARRAY_SIZE(leak_gpios); i++) { in npcx_power_restore_leak_io_pads()
125 npcx_gpio_enable_io_pads(leak_gpios[i].gpio, leak_gpios[i].pin); in npcx_power_restore_leak_io_pads()