Lines Matching refs:wpan_phy

19 struct wpan_phy;
33 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
37 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
39 int (*suspend)(struct wpan_phy *wpan_phy);
40 int (*resume)(struct wpan_phy *wpan_phy);
41 int (*add_virtual_intf)(struct wpan_phy *wpan_phy,
46 int (*del_virtual_intf)(struct wpan_phy *wpan_phy,
48 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
49 int (*set_cca_mode)(struct wpan_phy *wpan_phy,
51 int (*set_cca_ed_level)(struct wpan_phy *wpan_phy, s32 ed_level);
52 int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power);
53 int (*set_pan_id)(struct wpan_phy *wpan_phy,
55 int (*set_short_addr)(struct wpan_phy *wpan_phy,
57 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
60 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
63 int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
66 int (*set_lbt_mode)(struct wpan_phy *wpan_phy,
68 int (*set_ackreq_default)(struct wpan_phy *wpan_phy,
71 void (*get_llsec_table)(struct wpan_phy *wpan_phy,
74 void (*lock_llsec_table)(struct wpan_phy *wpan_phy,
76 void (*unlock_llsec_table)(struct wpan_phy *wpan_phy,
81 int (*get_llsec_params)(struct wpan_phy *wpan_phy,
84 int (*set_llsec_params)(struct wpan_phy *wpan_phy,
88 int (*add_llsec_key)(struct wpan_phy *wpan_phy,
92 int (*del_llsec_key)(struct wpan_phy *wpan_phy,
95 int (*add_seclevel)(struct wpan_phy *wpan_phy,
98 int (*del_seclevel)(struct wpan_phy *wpan_phy,
101 int (*add_device)(struct wpan_phy *wpan_phy,
104 int (*del_device)(struct wpan_phy *wpan_phy,
106 int (*add_devkey)(struct wpan_phy *wpan_phy,
110 int (*del_devkey)(struct wpan_phy *wpan_phy,
176 struct wpan_phy { struct
220 static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy) in wpan_phy_net() argument
222 return read_pnet(&wpan_phy->_net); in wpan_phy_net()
225 static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net) in wpan_phy_net_set() argument
227 write_pnet(&wpan_phy->_net, net); in wpan_phy_net_set()
327 struct wpan_phy *wpan_phy; member
364 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
377 struct wpan_phy *
379 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *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()
396 struct wpan_phy *wpan_phy_find(const char *str);
398 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put()
403 static inline const char *wpan_phy_name(struct wpan_phy *phy) in wpan_phy_name()