Searched refs:rst_gpio (Results 1 – 7 of 7) sorted by relevance
/Zephyr-Core-3.7.0/drivers/input/ |
D | input_gt911.c | 40 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}), \
|
D | input_cst816s.c | 86 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/ |
D | apollox_blue.c | 54 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()
|
D | hci_spi_st.c | 76 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()
|
D | spi.c | 77 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/ |
D | can_tcan4x5x.c | 219 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/ |
D | ieee802154_dw1000.c | 95 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()
|