Lines Matching refs:rfk
158 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member
1188 if (priv->rfk[i]) in ideapad_sync_rfk_state()
1189 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state()
1206 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, in ideapad_register_rfkill()
1211 if (!priv->rfk[dev]) in ideapad_register_rfkill()
1218 rfkill_init_sw_state(priv->rfk[dev], !rf_enabled); in ideapad_register_rfkill()
1220 err = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill()
1222 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill()
1229 if (!priv->rfk[dev]) in ideapad_unregister_rfkill()
1232 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill()
1233 rfkill_destroy(priv->rfk[dev]); in ideapad_unregister_rfkill()