Searched refs:enable_gpio (Results 1 – 3 of 3) sorted by relevance
26 struct gpio_dt_spec enable_gpio; member39 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()
42 struct gpio_dt_spec enable_gpio; member108 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}), \
174 struct gpio_dt_spec enable_gpio; member944 const struct gpio_dt_spec *enable_gpio = &config->enable_gpio; in lp5562_enable() local948 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() local999 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() local1018 if (enable_gpio->port != NULL) { in lp5562_led_init()1019 if (!gpio_is_ready_dt(enable_gpio)) { in lp5562_led_init()[all …]