Searched refs:dev_to_rdev (Results 1 – 5 of 5) sorted by relevance
26 dev_to_rdev(struct device *dev) in dev_to_rdev() function37 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()
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()102 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()
54 static inline struct regulator_dev *dev_to_rdev(struct device *dev) in dev_to_rdev() function
1487 struct regulator_dev *r = dev_to_rdev(dev); in regulator_match()1498 return dev ? dev_to_rdev(dev) : NULL; in regulator_lookup_by_name()4024 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_attr_is_visible()4138 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_register_resolve_supply()4175 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_register_fill_coupling_array()4460 struct regulator_dev *rdev = dev_to_rdev(dev); in _regulator_suspend()4488 struct regulator_dev *rdev = dev_to_rdev(dev); in _regulator_resume()4656 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_children()4733 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_summary_show_roots()4794 struct regulator_dev *rdev = dev_to_rdev(dev); in regulator_late_cleanup()
438 return dev ? dev_to_rdev(dev) : NULL; in of_find_regulator_by_node()