Lines Matching refs:wiphy
23 return container_of(dev, struct cfg80211_registered_device, wiphy.dev); in dev_to_rdev()
36 SHOW_FMT(macaddress, "%pM", wiphy.perm_addr);
37 SHOW_FMT(address_mask, "%pM", wiphy.addr_mask);
43 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() local
45 return sprintf(buf, "%s\n", wiphy_name(wiphy)); in name_show()
53 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show() local
57 if (!wiphy->addresses) in addresses_show()
58 return sprintf(buf, "%pM\n", wiphy->perm_addr); in addresses_show()
60 for (i = 0; i < wiphy->n_addresses; i++) in addresses_show()
61 buf += sprintf(buf, "%pM\n", wiphy->addresses[i].addr); in addresses_show()
95 list_for_each_entry(wdev, &rdev->wiphy.wdev_list, list) in cfg80211_leave_all()
107 if (rdev->wiphy.registered) { in wiphy_suspend()
108 if (!rdev->wiphy.wowlan_config) { in wiphy_suspend()
113 ret = rdev_suspend(rdev, rdev->wiphy.wowlan_config); in wiphy_suspend()
135 if (rdev->wiphy.registered && rdev->ops->resume) in wiphy_resume()
150 struct wiphy *wiphy = container_of(d, struct wiphy, dev); in wiphy_namespace() local
152 return wiphy_net(wiphy); in wiphy_namespace()