Searched refs:dev_to_rdev (Results 1 – 5 of 5) 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() function32 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()125 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
1912 struct regulator_dev *r = dev_to_rdev(dev); in regulator_match()1923 return dev ? dev_to_rdev(dev) : NULL; in regulator_lookup_by_name()5078 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_attr_is_visible()5200 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_register_resolve_supply()5714 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_suspend()5733 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_resume()5886 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_children()5978 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_lock_one()5998 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_unlock_one()6071 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_roots()[all …]
550 return dev ? dev_to_rdev(dev) : NULL; in of_find_regulator_by_node()