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()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
1980 struct regulator_dev *r = dev_to_rdev(dev); in regulator_match() 1991 return dev ? dev_to_rdev(dev) : NULL; in regulator_lookup_by_name() 5160 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_attr_is_visible() 5280 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_register_resolve_supply() 5790 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_suspend() 5809 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_resume() 5962 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_children() 6054 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_lock_one() 6074 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_unlock_one() 6148 struct regulator_dev *rdev = dev_to_rdev(de in regulator_summary_show_roots() [all...]
562 return dev ? dev_to_rdev(dev) : NULL; in of_get_n_coupled()