Lines Matching defs:dev
22 struct device *dev)
24 return container_of(dev, struct cfg80211_registered_device, wiphy.dev);
28 static ssize_t name ## _show(struct device *dev, \
32 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
40 static ssize_t name_show(struct device *dev,
44 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy;
50 static ssize_t addresses_show(struct device *dev,
54 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy;
78 static void wiphy_dev_release(struct device *dev)
80 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
94 static int wiphy_suspend(struct device *dev)
96 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
127 static int wiphy_resume(struct device *dev)
129 struct cfg80211_registered_device *rdev = dev_to_rdev(dev);
159 struct wiphy *wiphy = container_of(d, struct wiphy, dev);