Searched refs:hw_blocked (Results 1 – 2 of 2) sorted by relevance
1248 unsigned long hw_blocked = 0; in ideapad_sync_rfk_state() local1254 if (read_ec_data(priv->adev->handle, VPCCMD_R_RF, &hw_blocked)) in ideapad_sync_rfk_state()1256 hw_blocked = !hw_blocked; in ideapad_sync_rfk_state()1261 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state()
1151 int hw_blocked; in tpacpi_rfk_check_hwblock_state() local1157 hw_blocked = (res == TPACPI_RFK_RADIO_OFF); in tpacpi_rfk_check_hwblock_state()1158 tpacpi_rfk_update_hwblock_state(hw_blocked); in tpacpi_rfk_check_hwblock_state()1160 return hw_blocked; in tpacpi_rfk_check_hwblock_state()