Searched refs:dev_to_rdev (Results 1 – 4 of 4) sorted by relevance
20 dev_to_rdev(struct device *dev) in dev_to_rdev() function31 return sprintf(buf, fmt "\n", dev_to_rdev(dev)->member); \41 struct wpan_phy *wpan_phy = &dev_to_rdev(dev)->wpan_phy; in name_show()49 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_release()64 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_suspend()78 struct cfg802154_registered_device *rdev = dev_to_rdev(dev); in wpan_phy_resume()
21 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); \44 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in name_show() 54 struct wiphy *wiphy = &dev_to_rdev(dev)->wiphy; in addresses_show() 80 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_dev_release() 96 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_suspend() 129 struct cfg80211_registered_device *rdev = dev_to_rdev(dev); in wiphy_resume()
63 static inline struct regulator_dev *dev_to_rdev(struct device *dev) in dev_to_rdev() function
1957 struct regulator_dev *r = dev_to_rdev(dev); in regulator_match()1968 return dev ? dev_to_rdev(dev) : NULL; in regulator_lookup_by_name()5424 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_attr_is_visible()5548 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_register_resolve_supply()6065 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_suspend()6084 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_resume()6243 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_children()6335 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_lock_one()6355 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_unlock_one()6429 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_roots()[all …]