Searched refs:sr_rf_switch_spec (Results 1 – 1 of 1) sorted by relevance
45 static const struct gpio_dt_spec sr_rf_switch_spec = variable237 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()