Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/wifi/nrf_wifi/src/
Dcoex.c45 static const struct gpio_dt_spec sr_rf_switch_spec = variable
237 if (!device_is_ready(sr_rf_switch_spec.port)) { in nrf_wifi_config_sr_switch()
242 ret = gpio_pin_configure_dt(&sr_rf_switch_spec, GPIO_OUTPUT); in nrf_wifi_config_sr_switch()
249 gpio_pin_set_dt(&sr_rf_switch_spec, 0x0); in nrf_wifi_config_sr_switch()
251 gpio_pin_set_dt(&sr_rf_switch_spec, 0x1); in nrf_wifi_config_sr_switch()
296 if (!device_is_ready(sr_rf_switch_spec.port)) { in sr_gpio_config()
300 ret = gpio_pin_configure_dt(&sr_rf_switch_spec, GPIO_OUTPUT); in sr_gpio_config()
312 ret = gpio_pin_configure_dt(&sr_rf_switch_spec, GPIO_DISCONNECTED); in sr_gpio_remove()
324 ret = gpio_pin_set_dt(&sr_rf_switch_spec, ant_switch & 0x1); in sr_ant_switch()