Lines Matching refs:rfk
87 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member
592 if (priv->rfk[i]) in ideapad_sync_rfk_state()
593 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state()
611 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, in ideapad_register_rfkill()
616 if (!priv->rfk[dev]) in ideapad_register_rfkill()
621 rfkill_init_sw_state(priv->rfk[dev], 0); in ideapad_register_rfkill()
624 rfkill_init_sw_state(priv->rfk[dev], sw_blocked); in ideapad_register_rfkill()
627 ret = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill()
629 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill()
637 if (!priv->rfk[dev]) in ideapad_unregister_rfkill()
640 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill()
641 rfkill_destroy(priv->rfk[dev]); in ideapad_unregister_rfkill()