Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/can/transceiver/
Dcan_transceiver_gpio.c26 struct gpio_dt_spec enable_gpio; member
39 if (config->enable_gpio.port != NULL) { in can_transceiver_gpio_set_state()
40 err = gpio_pin_set_dt(&config->enable_gpio, enabled ? 1 : 0); in can_transceiver_gpio_set_state()
79 if (config->enable_gpio.port != NULL) { in can_transceiver_gpio_init()
80 if (!gpio_is_ready_dt(&config->enable_gpio)) { in can_transceiver_gpio_init()
86 err = gpio_pin_configure_dt(&config->enable_gpio, GPIO_OUTPUT_INACTIVE); in can_transceiver_gpio_init()
/Zephyr-latest/drivers/led/
Dlp5569.c42 struct gpio_dt_spec enable_gpio; member
108 if (config->enable_gpio.port) { in lp5569_enable()
109 if (!gpio_is_ready_dt(&config->enable_gpio)) { in lp5569_enable()
114 ret = gpio_pin_configure_dt(&config->enable_gpio, GPIO_OUTPUT_ACTIVE); in lp5569_enable()
196 .enable_gpio = GPIO_DT_SPEC_INST_GET_OR(id, enable_gpios, {0}), \
Dlp5562.c174 struct gpio_dt_spec enable_gpio; member
944 const struct gpio_dt_spec *enable_gpio = &config->enable_gpio; in lp5562_enable() local
948 if (enable_gpio->port != NULL) { in lp5562_enable()
949 err = gpio_pin_set_dt(enable_gpio, 1); in lp5562_enable()
987 const struct gpio_dt_spec *enable_gpio = &config->enable_gpio; in lp5562_disable() local
999 if (enable_gpio->port != NULL) { in lp5562_disable()
1000 err = gpio_pin_set_dt(enable_gpio, 0); in lp5562_disable()
1015 const struct gpio_dt_spec *enable_gpio = &config->enable_gpio; in lp5562_led_init() local
1018 if (enable_gpio->port != NULL) { in lp5562_led_init()
1019 if (!gpio_is_ready_dt(enable_gpio)) { in lp5562_led_init()
[all …]