Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/spi/
Dspi_nrfx_spis.c33 struct gpio_dt_spec wake_gpio; member
145 (void)gpio_pin_interrupt_configure_dt(&dev_config->wake_gpio, in wake_callback()
156 if (gpio_pin_get_raw(dev_config->wake_gpio.port, in wait_for_wake()
157 dev_config->wake_gpio.pin) == 0) { in wait_for_wake()
158 (void)gpio_pin_interrupt_configure_dt(&dev_config->wake_gpio, in wait_for_wake()
191 if (dev_config->wake_gpio.port) { in transceive()
203 if (dev_config->wake_gpio.port) { in transceive()
207 gpio_pin_set_raw(dev_config->wake_gpio.port, in transceive()
208 dev_config->wake_gpio.pin, in transceive()
215 gpio_pin_set_raw(dev_config->wake_gpio.port, in transceive()
[all …]
/Zephyr-latest/drivers/can/
Dcan_tcan4x5x.c225 struct gpio_dt_spec wake_gpio; member
480 if (tcan_config->wake_gpio.port != NULL && tcan_config->nwkrq_gpio.port != NULL) { in tcan4x5x_wake()
489 if (tcan_config->wake_gpio.port != NULL && wake_needed != 0) { in tcan4x5x_wake()
490 err = gpio_pin_set_dt(&tcan_config->wake_gpio, 1); in tcan4x5x_wake()
498 err = gpio_pin_set_dt(&tcan_config->wake_gpio, 0); in tcan4x5x_wake()
601 if (tcan_config->wake_gpio.port != NULL) { in tcan4x5x_init()
602 if (!gpio_is_ready_dt(&tcan_config->wake_gpio)) { in tcan4x5x_init()
607 err = gpio_pin_configure_dt(&tcan_config->wake_gpio, GPIO_OUTPUT_INACTIVE); in tcan4x5x_init()
765 .wake_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, device_wake_gpios, {0}),
/Zephyr-latest/drivers/sensor/ams/ccs811/
Dccs811.c28 gpio_pin_set_dt(&config->wake_gpio, enable); in set_wake()
439 if (config->wake_gpio.port) { in ccs811_init()
440 if (!gpio_is_ready_dt(&config->wake_gpio)) { in ccs811_init()
450 gpio_pin_configure_dt(&config->wake_gpio, GPIO_OUTPUT_INACTIVE); in ccs811_init()
580 .wake_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, wake_gpios, { 0 }), \
Dccs811.h81 struct gpio_dt_spec wake_gpio; member