Home
last modified time | relevance | path

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

/Zephyr-latest/samples/subsys/usb_c/source/src/
Dpower_ctrl.c23 #define PORT1_SOURCE_EN_NODE DT_NODELABEL(source_en)
37 static const struct gpio_dt_spec source_en = GPIO_DT_SPEC_GET(PORT1_SOURCE_EN_NODE, gpios); variable
93 if (!gpio_is_ready_dt(&source_en)) { in power_ctrl_init()
95 source_en.port->name); in power_ctrl_init()
122 ret = gpio_pin_configure_dt(&source_en, GPIO_OUTPUT); in power_ctrl_init()
125 ret, source_en.port->name, source_en.pin); in power_ctrl_init()
150 ret = gpio_pin_set_dt(&source_en, 1); in power_ctrl_init()
/Zephyr-latest/samples/subsys/usb_c/source/boards/
Dstm32g081b_eval.overlay27 source_en: g1 {