Lines Matching refs:rfkill
220 static void cfg80211_rfkill_poll(struct rfkill *rfkill, void *data) in cfg80211_rfkill_poll() argument
561 rdev->wiphy.rfkill = rfkill_alloc(dev_name(&rdev->wiphy.dev), in wiphy_new_nm()
565 if (!rdev->wiphy.rfkill) { in wiphy_new_nm()
1031 res = rfkill_register(rdev->wiphy.rfkill); in wiphy_register()
1033 rfkill_destroy(rdev->wiphy.rfkill); in wiphy_register()
1034 rdev->wiphy.rfkill = NULL; in wiphy_register()
1050 rfkill_resume_polling(wiphy->rfkill); in wiphy_rfkill_start_polling()
1095 if (rdev->wiphy.rfkill) in wiphy_unregister()
1096 rfkill_unregister(rdev->wiphy.rfkill); in wiphy_unregister()
1154 rfkill_destroy(rdev->wiphy.rfkill); in cfg80211_dev_free()
1186 if (rfkill_set_hw_state_reason(wiphy->rfkill, blocked, reason)) in wiphy_rfkill_set_hw_state_reason()
1590 if (rfkill_blocked(rdev->wiphy.rfkill)) in cfg80211_netdev_notifier_call()