Lines Matching refs:wpan_phy

19 struct wpan_phy;
35 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
39 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
41 int (*suspend)(struct wpan_phy *wpan_phy);
42 int (*resume)(struct wpan_phy *wpan_phy);
43 int (*add_virtual_intf)(struct wpan_phy *wpan_phy,
48 int (*del_virtual_intf)(struct wpan_phy *wpan_phy,
50 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
51 int (*set_cca_mode)(struct wpan_phy *wpan_phy,
53 int (*set_cca_ed_level)(struct wpan_phy *wpan_phy, s32 ed_level);
54 int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power);
55 int (*set_pan_id)(struct wpan_phy *wpan_phy,
57 int (*set_short_addr)(struct wpan_phy *wpan_phy,
59 int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
62 int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
65 int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
68 int (*set_lbt_mode)(struct wpan_phy *wpan_phy,
70 int (*set_ackreq_default)(struct wpan_phy *wpan_phy,
72 int (*trigger_scan)(struct wpan_phy *wpan_phy,
74 int (*abort_scan)(struct wpan_phy *wpan_phy,
76 int (*send_beacons)(struct wpan_phy *wpan_phy,
78 int (*stop_beacons)(struct wpan_phy *wpan_phy,
81 void (*get_llsec_table)(struct wpan_phy *wpan_phy,
84 void (*lock_llsec_table)(struct wpan_phy *wpan_phy,
86 void (*unlock_llsec_table)(struct wpan_phy *wpan_phy,
91 int (*get_llsec_params)(struct wpan_phy *wpan_phy,
94 int (*set_llsec_params)(struct wpan_phy *wpan_phy,
98 int (*add_llsec_key)(struct wpan_phy *wpan_phy,
102 int (*del_llsec_key)(struct wpan_phy *wpan_phy,
105 int (*add_seclevel)(struct wpan_phy *wpan_phy,
108 int (*del_seclevel)(struct wpan_phy *wpan_phy,
111 int (*add_device)(struct wpan_phy *wpan_phy,
114 int (*del_device)(struct wpan_phy *wpan_phy,
116 int (*add_devkey)(struct wpan_phy *wpan_phy,
120 int (*del_devkey)(struct wpan_phy *wpan_phy,
189 struct wpan_phy { struct
244 static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy) in wpan_phy_net() argument
246 return read_pnet(&wpan_phy->_net); in wpan_phy_net()
249 static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net) in wpan_phy_net_set() argument
251 write_pnet(&wpan_phy->_net, net); in wpan_phy_net_set()
254 static inline bool ieee802154_chan_is_valid(struct wpan_phy *phy, in ieee802154_chan_is_valid()
319 struct wpan_phy *wpan_phy; member
337 struct wpan_phy *wpan_phy; member
444 struct wpan_phy *wpan_phy; member
479 #define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
494 struct wpan_phy *
496 static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev) in wpan_phy_set_dev()
501 int wpan_phy_register(struct wpan_phy *phy);
502 void wpan_phy_unregister(struct wpan_phy *phy);
503 void wpan_phy_free(struct wpan_phy *phy);
505 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
507 static inline void *wpan_phy_priv(struct wpan_phy *phy) in wpan_phy_priv()
513 struct wpan_phy *wpan_phy_find(const char *str);
515 static inline void wpan_phy_put(struct wpan_phy *phy) in wpan_phy_put()
520 static inline const char *wpan_phy_name(struct wpan_phy *phy) in wpan_phy_name()
525 void ieee802154_configure_durations(struct wpan_phy *phy,