Searched refs:rst_gpio (Results 1 – 8 of 8) sorted by relevance
| /Zephyr-latest/drivers/input/ |
| D | input_gt911.c | 45 struct gpio_dt_spec rst_gpio; member 262 if (config->rst_gpio.port != NULL) { in gt911_init() 263 if (!gpio_is_ready_dt(&config->rst_gpio)) { in gt911_init() 268 r = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_ACTIVE); in gt911_init() 291 if (config->rst_gpio.port != NULL) { in gt911_init() 293 gpio_pin_set_dt(&config->rst_gpio, 1); in gt911_init() 296 gpio_pin_set_dt(&config->rst_gpio, 0); in gt911_init() 399 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, reset_gpios, {0}), \
|
| D | input_cst816s.c | 87 const struct gpio_dt_spec rst_gpio; member 200 if (gpio_is_ready_dt(&config->rst_gpio)) { in cst816s_chip_reset() 201 ret = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_ACTIVE); in cst816s_chip_reset() 207 gpio_pin_set_dt(&config->rst_gpio, 0); in cst816s_chip_reset() 300 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(index, rst_gpios, {}), \
|
| D | input_cy8cmbr3xxx.c | 160 struct gpio_dt_spec rst_gpio; member 362 if (!gpio_is_ready_dt(&config->rst_gpio)) { in cy8cmbr3xxx_reset() 367 ret = gpio_pin_configure_dt(&config->rst_gpio, GPIO_OUTPUT_ACTIVE); in cy8cmbr3xxx_reset() 375 ret = gpio_pin_set_dt(&config->rst_gpio, 0); in cy8cmbr3xxx_reset() 434 .rst_gpio = GPIO_DT_SPEC_INST_GET(inst, rst_gpios), \
|
| /Zephyr-latest/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() 439 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() 443 if (!gpio_is_ready_dt(&rst_gpio)) { in bt_spi_init()
|
| /Zephyr-latest/drivers/can/ |
| D | can_tcan4x5x.c | 219 struct gpio_dt_spec rst_gpio; member 523 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_reset() 524 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 1); in tcan4x5x_reset() 532 err = gpio_pin_set_dt(&tcan_config->rst_gpio, 0); in tcan4x5x_reset() 573 if (tcan_config->rst_gpio.port != NULL) { in tcan4x5x_init() 574 if (!gpio_is_ready_dt(&tcan_config->rst_gpio)) { in tcan4x5x_init() 579 err = gpio_pin_configure_dt(&tcan_config->rst_gpio, GPIO_OUTPUT_INACTIVE); in tcan4x5x_init() 753 .rst_gpio = GPIO_DT_SPEC_INST_GET_OR(inst, reset_gpios, {0}),
|
| /Zephyr-latest/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), 979 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_OUTPUT_ACTIVE)) { in dwt_hw_reset() 980 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset() 985 gpio_pin_set_dt(&hi_cfg->rst_gpio, 0); in dwt_hw_reset() 988 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dwt_hw_reset() 989 LOG_ERR("Failed to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dwt_hw_reset() 1553 if (!gpio_is_ready_dt(&hi_cfg->rst_gpio)) { in dw1000_init() 1558 if (gpio_pin_configure_dt(&hi_cfg->rst_gpio, GPIO_INPUT)) { in dw1000_init() 1559 LOG_ERR("Unable to configure GPIO pin %u", hi_cfg->rst_gpio.pin); in dw1000_init()
|