Searched refs:radio_state (Results 1 – 4 of 4) sorted by relevance
418 static u32 hci_get_radio_state(bool *radio_state) in hci_get_radio_state() argument427 *radio_state = value & HCI_WIRELESS_KILL_SWITCH; in hci_get_radio_state()437 bool radio_state; in bt_rfkill_set_block() local442 if (hci_get_radio_state(&radio_state) != HCI_SUCCESS) { in bt_rfkill_set_block()447 if (!radio_state) { in bt_rfkill_set_block()
986 bool radio_state; in rtl_op_rfkill_poll() local996 radio_state = rtlpriv->cfg->ops->radio_onoff_checking(hw, &valid); in rtl_op_rfkill_poll()999 if (unlikely(radio_state != rtlpriv->rfkill.rfkill_state)) { in rtl_op_rfkill_poll()1000 rtlpriv->rfkill.rfkill_state = radio_state; in rtl_op_rfkill_poll()1004 radio_state ? "on" : "off")); in rtl_op_rfkill_poll()
250 bool radio_state; in rtl_init_rfkill() local254 radio_state = rtlpriv->cfg->ops->radio_onoff_checking(hw, &valid); in rtl_init_rfkill()257 rtlpriv->rfkill.rfkill_state = radio_state; in rtl_init_rfkill()262 rtlpriv->rfkill.rfkill_state = radio_state; in rtl_init_rfkill()
2237 bool mpc_radio, radio_state; in wlc_radio_mpc_upd() local2260 radio_state = in wlc_radio_mpc_upd()2265 if (radio_state == ON && mpc_radio == OFF) in wlc_radio_mpc_upd()2267 else if (radio_state == OFF && mpc_radio == ON) { in wlc_radio_mpc_upd()