Searched refs:rst_gpio (Results 1 – 4 of 4) sorted by relevance
/Zephyr-Core-3.4.0/drivers/kscan/ |
D | kscan_cst816s.c | 85 const struct gpio_dt_spec rst_gpio; member 221 if (device_is_ready(config->rst_gpio.port)) { in cst816s_chip_reset() 222 ret = gpio_pin_configure_dt(&config->rst_gpio, in cst816s_chip_reset() 228 gpio_pin_set_dt(&config->rst_gpio, 1); in cst816s_chip_reset() 230 gpio_pin_set_dt(&config->rst_gpio, 0); in cst816s_chip_reset() 319 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, rst_gpios, {}), \
|
D | kscan_gt911.c | 39 struct gpio_dt_spec rst_gpio; member 237 r = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_INACTIVE); in gt911_init() 252 gpio_pin_set_dt(&config->rst_gpio, 0); in gt911_init() 255 gpio_pin_set_dt(&config->rst_gpio, 1); in gt911_init() 335 .rst_gpio = GPIO_DT_SPEC_INST_GET(index, reset_gpios), \
|
/Zephyr-Core-3.4.0/drivers/bluetooth/hci/ |
D | spi.c | 63 static const struct gpio_dt_spec rst_gpio = GPIO_DT_SPEC_INST_GET(0, reset_gpios); variable 502 gpio_pin_configure_dt(&rst_gpio, GPIO_OUTPUT_ACTIVE); in bt_spi_open() 513 gpio_pin_set_dt(&rst_gpio, 0); in bt_spi_open() 558 if (!device_is_ready(rst_gpio.port)) { in bt_spi_init()
|
/Zephyr-Core-3.4.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), 950 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_OUTPUT_ACTIVE)) { in dwt_hw_reset() 951 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset() 956 gpio_pin_set_dt(&hi_cfg->rst_gpio, 0); in dwt_hw_reset() 959 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dwt_hw_reset() 960 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset() 1524 if (!device_is_ready(hi_cfg->rst_gpio.port)) { in dw1000_init() 1529 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dw1000_init() 1530 LOG_ERR("Unable to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dw1000_init()
|