Home
last modified time | relevance | path

Searched refs:dev_to_rdev (Results 1 – 3 of 3) sorted by relevance

/linux-4.4.14/net/ieee802154/
Dsysfs.c26 dev_to_rdev(struct device *dev) in dev_to_rdev() function
37 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
47 struct wpan_phy *wpan_phy = &dev_to_rdev(dev)->wpan_phy; in name_show()
55 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_release()
70 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_suspend()
84 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_resume()
/linux-4.4.14/net/wireless/
Dsysfs.c21 static inline struct cfg80211_registered_device *dev_to_rdev( in dev_to_rdev() function
32 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \
43 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show()
52 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show()
78 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_dev_release()
100 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_suspend()
124 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_resume()
/linux-4.4.14/drivers/regulator/
Dcore.c115 static struct regulator_dev *dev_to_rdev(struct device *dev) in dev_to_rdev() function
1379 return dev ? dev_to_rdev(dev) : NULL; in of_find_regulator_by_node()
1384 struct regulator_dev *r = dev_to_rdev(dev); in regulator_match()
1395 return dev ? dev_to_rdev(dev) : NULL; in regulator_lookup_by_name()
4029 struct regulator_dev *rdev = dev_to_rdev(dev); in _regulator_suspend_prepare()
4060 struct regulator_dev *rdev = dev_to_rdev(dev); in _regulator_suspend_finish()
4230 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_children()
4306 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_roots()
4367 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_late_cleanup()