Home
last modified time | relevance | path

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

/Zephyr-Core-3.7.0/drivers/input/
Dinput_gt911.c40 struct gpio_dt_spec rst_gpio; member
228 if (config->rst_gpio.port != NULL) { in gt911_init()
229 if (!gpio_is_ready_dt(&config->rst_gpio)) { in gt911_init()
234 r = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_ACTIVE); in gt911_init()
257 if (config->rst_gpio.port != NULL) { in gt911_init()
259 gpio_pin_set_dt(&config->rst_gpio, 1); in gt911_init()
262 gpio_pin_set_dt(&config->rst_gpio, 0); in gt911_init()
366 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, reset_gpios, {0}), \
Dinput_cst816s.c86 const struct gpio_dt_spec rst_gpio; member
199 if (gpio_is_ready_dt(&config->rst_gpio)) { in cst816s_chip_reset()
200 ret = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_ACTIVE); in cst816s_chip_reset()
206 gpio_pin_set_dt(&config->rst_gpio, 0); in cst816s_chip_reset()
298 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, rst_gpios, {}), \
/Zephyr-Core-3.7.0/drivers/bluetooth/hci/
Dapollox_blue.c54 static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_GET(HCI_SPI_NODE, reset_gpios); variable
126 gpio_pin_set_dt(&rst_gpio, 1); in bt_apollo_controller_reset()
130 gpio_pin_set_dt(&rst_gpio, 0); in bt_apollo_controller_reset()
263 ret = gpio_pin_configure_dt(&rst_gpio, GPIO_OUTPUT_ACTIVE); in bt_hci_transport_setup()
297 gpio_pin_set_dt(&rst_gpio, 0); in bt_hci_transport_setup()
420 if (!gpio_is_ready_dt(&rst_gpio)) { in bt_apollo_dev_init()
Dhci_spi_st.c76 static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios); variable
121 gpio_pin_set_dt(&rst_gpio, 1); in bluenrg_bt_reset()
123 gpio_pin_set_dt(&rst_gpio, 0); in bluenrg_bt_reset()
128 gpio_pin_set_dt(&rst_gpio, 1); in bluenrg_bt_reset()
137 gpio_pin_set_dt(&rst_gpio, 0); in bluenrg_bt_reset()
648 err = gpio_pin_configure_dt(&rst_gpio, GPIO_OUTPUT_ACTIVE); in bt_spi_open()
675 gpio_pin_set_dt(&rst_gpio, 0); in bt_spi_open()
717 if (!gpio_is_ready_dt(&rst_gpio)) { in bt_spi_init()
Dspi.c77 static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios); variable
381 err = gpio_pin_configure_dt(&rst_gpio, GPIO_OUTPUT_ACTIVE); in bt_spi_open()
408 gpio_pin_set_dt(&rst_gpio, 0); in bt_spi_open()
442 if (!gpio_is_ready_dt(&rst_gpio)) { in bt_spi_init()
/Zephyr-Core-3.7.0/drivers/can/
Dcan_tcan4x5x.c219 struct gpio_dt_spec rst_gpio; member
521 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_reset()
522 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 1); in tcan4x5x_reset()
530 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 0); in tcan4x5x_reset()
571 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_init()
572 if (!gpio_is_ready_dt(&tcan_config->rst_gpio)) { in tcan4x5x_init()
577 err = gpio_pin_configure_dt(&tcan_config->rst_gpio, GPIO_OUTPUT_INACTIVE); in tcan4x5x_init()
751 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, reset_gpios, {0}),
/Zephyr-Core-3.7.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()