Home
last modified time | relevance | path

Searched refs:rst_gpio (Results 1 – 5 of 5) sorted by relevance

/Zephyr-Core-3.5.0/drivers/input/
Dinput_cst816s.c84 const struct gpio_dt_spec rst_gpio; member
175 if (gpio_is_ready_dt(&config->rst_gpio)) { in cst816s_chip_reset()
176 ret = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_INACTIVE); in cst816s_chip_reset()
181 gpio_pin_set_dt(&config->rst_gpio, 1); in cst816s_chip_reset()
183 gpio_pin_set_dt(&config->rst_gpio, 0); in cst816s_chip_reset()
270 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, rst_gpios, {}), \
Dinput_gt911.c40 struct gpio_dt_spec rst_gpio; member
228 if (!gpio_is_ready_dt(&config->rst_gpio)) { in gt911_init()
233 r = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_INACTIVE); in gt911_init()
256 gpio_pin_set_dt(&config->rst_gpio, 0); in gt911_init()
259 gpio_pin_set_dt(&config->rst_gpio, 1); in gt911_init()
362 .rst_gpio = GPIO_DT_SPEC_INST_GET(index, reset_gpios), \
/Zephyr-Core-3.5.0/drivers/can/
Dcan_tcan4x5x.c219 struct gpio_dt_spec rst_gpio; member
517 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_reset()
518 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 1); in tcan4x5x_reset()
526 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 0); in tcan4x5x_reset()
567 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_init()
568 if (!gpio_is_ready_dt(&tcan_config->rst_gpio)) { in tcan4x5x_init()
573 err = gpio_pin_configure_dt(&tcan_config->rst_gpio, GPIO_OUTPUT_INACTIVE); in tcan4x5x_init()
748 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, reset_gpios, {0}),
/Zephyr-Core-3.5.0/drivers/bluetooth/hci/
Dspi.c76 static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios); variable
492 err = gpio_pin_configure_dt(&rst_gpio, GPIO_OUTPUT_ACTIVE); in bt_spi_open()
514 gpio_pin_set_dt(&rst_gpio, 0); in bt_spi_open()
556 if (!gpio_is_ready_dt(&rst_gpio)) { in bt_spi_init()
/Zephyr-Core-3.5.0/drivers/ieee802154/
Dieee802154_dw1000.c95 struct gpio_dt_spec rst_gpio; member
122 .rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios),
989 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_OUTPUT_ACTIVE)) { in dwt_hw_reset()
990 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset()
995 gpio_pin_set_dt(&hi_cfg->rst_gpio, 0); in dwt_hw_reset()
998 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dwt_hw_reset()
999 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset()
1563 if (!gpio_is_ready_dt(&hi_cfg->rst_gpio)) { in dw1000_init()
1568 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dw1000_init()
1569 LOG_ERR("Unable to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dw1000_init()