Lines Matching refs:wiphy
24 return container_of(dev, struct cfg80211_registered_device, wiphy.dev); in dev_to_rdev()
37 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr);
38 SHOW_FMT(address_mask, "%pM", wiphy.addr_mask);
44 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() local
46 return sprintf(buf, "%s\n", wiphy_name(wiphy)); in name_show()
54 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show() local
58 if (!wiphy->addresses) in addresses_show()
59 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show()
61 for (i = 0; i < wiphy->n_addresses; i++) in addresses_show()
62 buf += sprintf(buf, "%pM\n", wiphy->addresses[i].addr); in addresses_show()
90 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) in cfg80211_leave_all()
102 wiphy_lock(&rdev->wiphy); in wiphy_suspend()
103 if (rdev->wiphy.registered) { in wiphy_suspend()
104 if (!rdev->wiphy.wowlan_config) { in wiphy_suspend()
109 ret = rdev_suspend(rdev, rdev->wiphy.wowlan_config); in wiphy_suspend()
117 wiphy_unlock(&rdev->wiphy); in wiphy_suspend()
132 wiphy_lock(&rdev->wiphy); in wiphy_resume()
133 if (rdev->wiphy.registered && rdev->ops->resume) in wiphy_resume()
135 wiphy_unlock(&rdev->wiphy); in wiphy_resume()
138 cfg80211_shutdown_all_interfaces(&rdev->wiphy); in wiphy_resume()
153 struct wiphy *wiphy = container_of(d, struct wiphy, dev); in wiphy_namespace() local
155 return wiphy_net(wiphy); in wiphy_namespace()