Lines Matching refs:wpan_phy
27 struct wpan_phy {
44 struct net_device *(*add_iface)(struct wpan_phy *phy,
46 void (*del_iface)(struct wpan_phy *phy, struct net_device *dev);
51 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
53 struct wpan_phy *wpan_phy_alloc(size_t priv_size);
54 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev)
58 int wpan_phy_register(struct wpan_phy *phy);
59 void wpan_phy_unregister(struct wpan_phy *phy);
60 void wpan_phy_free(struct wpan_phy *phy);
62 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
64 static inline void *wpan_phy_priv(struct wpan_phy *phy)
70 struct wpan_phy *wpan_phy_find(const char *str);
72 static inline void wpan_phy_put(struct wpan_phy *phy)
77 static inline const char *wpan_phy_name(struct wpan_phy *phy)