Lines Matching refs:phy
379 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev() argument
381 phy->dev.parent = dev; in wpan_phy_set_dev()
384 int wpan_phy_register(struct wpan_phy *phy);
385 void wpan_phy_unregister(struct wpan_phy *phy);
386 void wpan_phy_free(struct wpan_phy *phy);
388 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
390 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv() argument
392 BUG_ON(!phy); in wpan_phy_priv()
393 return &phy->priv; in wpan_phy_priv()
398 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put() argument
400 put_device(&phy->dev); in wpan_phy_put()
403 static inline const char *wpan_phy_name(struct wpan_phy *phy) in wpan_phy_name() argument
405 return dev_name(&phy->dev); in wpan_phy_name()