Lines Matching refs:rfk
76 struct rfkill *rfk[IDEAPAD_RFKILL_DEV_NUM]; member
467 if (priv->rfk[i]) in ideapad_sync_rfk_state()
468 rfkill_set_hw_state(priv->rfk[i], hw_blocked); in ideapad_sync_rfk_state()
485 priv->rfk[dev] = rfkill_alloc(ideapad_rfk_data[dev].name, &adevice->dev, in ideapad_register_rfkill()
488 if (!priv->rfk[dev]) in ideapad_register_rfkill()
493 rfkill_init_sw_state(priv->rfk[dev], 0); in ideapad_register_rfkill()
496 rfkill_init_sw_state(priv->rfk[dev], sw_blocked); in ideapad_register_rfkill()
499 ret = rfkill_register(priv->rfk[dev]); in ideapad_register_rfkill()
501 rfkill_destroy(priv->rfk[dev]); in ideapad_register_rfkill()
511 if (!priv->rfk[dev]) in ideapad_unregister_rfkill()
514 rfkill_unregister(priv->rfk[dev]); in ideapad_unregister_rfkill()
515 rfkill_destroy(priv->rfk[dev]); in ideapad_unregister_rfkill()
815 priv->rfk[i] = NULL; in ideapad_acpi_add()