Home
last modified time | relevance | path

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

/Zephyr-latest/tests/drivers/stepper/drv8424/emul/src/
Dmain.c20 struct gpio_dt_spec en_pin = GPIO_DT_SPEC_GET_OR(DT_NODELABEL(drv8424), en_gpios, {0}); variable
51 if (en_pin.port != NULL) { in ZTEST_F()
52 value = gpio_emul_output_get(en_pin.port, en_pin.pin); in ZTEST_F()
70 if (en_pin.port != NULL) { in ZTEST_F()
71 value = gpio_emul_output_get(en_pin.port, en_pin.pin); in ZTEST_F()
/Zephyr-latest/drivers/stepper/ti/
Ddrv8424.c26 struct gpio_dt_spec en_pin; member
124 bool has_enable_pin = config->en_pin.port != NULL; in drv8424_enable()
145 ret = gpio_pin_set_dt(&config->en_pin, enable); in drv8424_enable()
297 if (config->en_pin.port != NULL) { in drv8424_init()
298 ret = gpio_pin_configure_dt(&config->en_pin, GPIO_OUTPUT_INACTIVE); in drv8424_init()
355 .en_pin = GPIO_DT_SPEC_INST_GET_OR(inst, en_gpios, {0}), \
/Zephyr-latest/drivers/regulator/
Dregulator_cp9314.c205 struct gpio_dt_spec en_pin; member
323 if (config->en_pin.port != NULL) { in regulator_cp9314_disable()
324 return gpio_pin_set_dt(&config->en_pin, 0); in regulator_cp9314_disable()
377 if (config->en_pin.port != NULL) { in regulator_cp9314_enable()
378 ret = gpio_pin_set_dt(&config->en_pin, 1); in regulator_cp9314_enable()
561 if (config->en_pin.port != NULL) { in regulator_cp9314_init()
562 if (!gpio_is_ready_dt(&config->en_pin)) { in regulator_cp9314_init()
566 ret = gpio_pin_configure_dt(&config->en_pin, GPIO_OUTPUT_INACTIVE); in regulator_cp9314_init()
701 .en_pin = GPIO_DT_SPEC_INST_GET_OR(inst, cirrus_en_gpios, {}), \