drivers/net/ieee802154/mcr20a.c
973
struct wpan_phy *phy = lp->hw->phy;
include/net/cfg802154.h
101
int (*set_llsec_params)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
105
int (*add_llsec_key)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
109
int (*del_llsec_key)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
112
int (*add_seclevel)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
115
int (*del_seclevel)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
118
int (*add_device)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
121
int (*del_device)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
123
int (*add_devkey)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
127
int (*del_devkey)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
19
struct wpan_phy;
include/net/cfg802154.h
255
static inline struct net *wpan_phy_net(struct wpan_phy *wpan_phy)
include/net/cfg802154.h
257
return read_pnet(&wpan_phy->_net);
include/net/cfg802154.h
260
static inline void wpan_phy_net_set(struct wpan_phy *wpan_phy, struct net *net)
include/net/cfg802154.h
262
write_pnet(&wpan_phy->_net, net);
include/net/cfg802154.h
265
static inline bool ieee802154_chan_is_valid(struct wpan_phy *phy,
include/net/cfg802154.h
346
struct wpan_phy *wpan_phy;
include/net/cfg802154.h
36
struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
364
struct wpan_phy *wpan_phy;
include/net/cfg802154.h
40
void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
42
int (*suspend)(struct wpan_phy *wpan_phy);
include/net/cfg802154.h
43
int (*resume)(struct wpan_phy *wpan_phy);
include/net/cfg802154.h
44
int (*add_virtual_intf)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
472
struct wpan_phy *wpan_phy;
include/net/cfg802154.h
49
int (*del_virtual_intf)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
51
int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel);
include/net/cfg802154.h
514
#define to_phy(_dev) container_of(_dev, struct wpan_phy, dev)
include/net/cfg802154.h
52
int (*set_cca_mode)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
529
struct wpan_phy *
include/net/cfg802154.h
531
static inline void wpan_phy_set_dev(struct wpan_phy *phy, struct device *dev)
include/net/cfg802154.h
536
int wpan_phy_register(struct wpan_phy *phy);
include/net/cfg802154.h
537
void wpan_phy_unregister(struct wpan_phy *phy);
include/net/cfg802154.h
538
void wpan_phy_free(struct wpan_phy *phy);
include/net/cfg802154.h
54
int (*set_cca_ed_level)(struct wpan_phy *wpan_phy, s32 ed_level);
include/net/cfg802154.h
540
int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), void *data);
include/net/cfg802154.h
542
static inline void *wpan_phy_priv(struct wpan_phy *phy)
include/net/cfg802154.h
548
struct wpan_phy *wpan_phy_find(const char *str);
include/net/cfg802154.h
55
int (*set_tx_power)(struct wpan_phy *wpan_phy, s32 power);
include/net/cfg802154.h
550
static inline void wpan_phy_put(struct wpan_phy *phy)
include/net/cfg802154.h
555
static inline const char *wpan_phy_name(struct wpan_phy *phy)
include/net/cfg802154.h
56
int (*set_pan_id)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
560
void ieee802154_configure_durations(struct wpan_phy *phy,
include/net/cfg802154.h
58
int (*set_short_addr)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
60
int (*set_backoff_exponent)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
63
int (*set_max_csma_backoffs)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
66
int (*set_max_frame_retries)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
69
int (*set_lbt_mode)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
71
int (*set_ackreq_default)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
73
int (*trigger_scan)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
75
int (*abort_scan)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
77
int (*send_beacons)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
79
int (*stop_beacons)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
81
int (*associate)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
84
int (*disassociate)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
88
void (*get_llsec_table)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
91
void (*lock_llsec_table)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
93
void (*unlock_llsec_table)(struct wpan_phy *wpan_phy,
include/net/cfg802154.h
98
int (*get_llsec_params)(struct wpan_phy *wpan_phy,
include/net/ieee802154_netdev.h
435
struct wpan_phy;
include/net/mac802154.h
83
struct wpan_phy *phy;
net/ieee802154/core.c
123
device_initialize(&rdev->wpan_phy.dev);
net/ieee802154/core.c
124
dev_set_name(&rdev->wpan_phy.dev, PHY_NAME "%d", rdev->wpan_phy_idx);
net/ieee802154/core.c
126
rdev->wpan_phy.dev.class = &wpan_phy_class;
net/ieee802154/core.c
127
rdev->wpan_phy.dev.platform_data = rdev;
net/ieee802154/core.c
129
wpan_phy_net_set(&rdev->wpan_phy, &init_net);
net/ieee802154/core.c
132
init_waitqueue_head(&rdev->wpan_phy.sync_txq);
net/ieee802154/core.c
134
spin_lock_init(&rdev->wpan_phy.queue_lock);
net/ieee802154/core.c
136
return &rdev->wpan_phy;
net/ieee802154/core.c
140
int wpan_phy_register(struct wpan_phy *phy)
net/ieee802154/core.c
164
void wpan_phy_unregister(struct wpan_phy *phy)
net/ieee802154/core.c
195
void wpan_phy_free(struct wpan_phy *phy)
net/ieee802154/core.c
238
net = wpan_phy_net(&rdev->wpan_phy);
net/ieee802154/core.c
255
wpan_phy_net_set(&rdev->wpan_phy, net);
net/ieee802154/core.c
257
err = device_rename(&rdev->wpan_phy.dev, dev_name(&rdev->wpan_phy.dev));
net/ieee802154/core.c
26
struct wpan_phy *wpan_phy_find(const char *str)
net/ieee802154/core.c
287
rdev = wpan_phy_to_rdev(wpan_dev->wpan_phy);
net/ieee802154/core.c
353
if (net_eq(wpan_phy_net(&rdev->wpan_phy), net))
net/ieee802154/core.c
37
return container_of(dev, struct wpan_phy, dev);
net/ieee802154/core.c
42
int (*fn)(struct wpan_phy *phy, void *data);
net/ieee802154/core.c
49
struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev);
net/ieee802154/core.c
54
int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data),
net/ieee802154/core.c
84
struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx)
net/ieee802154/core.c
93
return &rdev->wpan_phy;
net/ieee802154/core.c
96
struct wpan_phy *
net/ieee802154/core.h
28
struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN);
net/ieee802154/core.h
32
wpan_phy_to_rdev(struct wpan_phy *wpan_phy)
net/ieee802154/core.h
34
BUG_ON(!wpan_phy);
net/ieee802154/core.h
35
return container_of(wpan_phy, struct cfg802154_registered_device,
net/ieee802154/core.h
36
wpan_phy);
net/ieee802154/core.h
48
struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx);
net/ieee802154/nl-mac.c
460
struct wpan_phy *phy;
net/ieee802154/nl-mac.c
490
phy = dev->ieee802154_ptr->wpan_phy;
net/ieee802154/nl-mac.c
78
struct wpan_phy *phy;
net/ieee802154/nl-mac.c
90
phy = dev->ieee802154_ptr->wpan_phy;
net/ieee802154/nl-phy.c
119
static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data)
net/ieee802154/nl-phy.c
164
struct wpan_phy *phy;
net/ieee802154/nl-phy.c
269
struct wpan_phy *phy;
net/ieee802154/nl-phy.c
29
u32 seq, int flags, struct wpan_phy *phy)
net/ieee802154/nl-phy.c
290
phy = dev->ieee802154_ptr->wpan_phy;
net/ieee802154/nl-phy.c
297
struct wpan_phy *phy2;
net/ieee802154/nl-phy.c
77
struct wpan_phy *phy;
net/ieee802154/nl802154.c
1007
!(rdev->wpan_phy.supported.cca_modes & BIT(cca.mode)))
net/ieee802154/nl802154.c
1016
!(rdev->wpan_phy.supported.cca_opts & BIT(cca.opt)))
net/ieee802154/nl802154.c
1029
if (!(rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL))
net/ieee802154/nl802154.c
1037
for (i = 0; i < rdev->wpan_phy.supported.cca_ed_levels_size; i++) {
net/ieee802154/nl802154.c
1038
if (ed_level == rdev->wpan_phy.supported.cca_ed_levels[i])
net/ieee802154/nl802154.c
1051
if (!(rdev->wpan_phy.flags & WPAN_PHY_FLAG_TXPOWER))
net/ieee802154/nl802154.c
1059
for (i = 0; i < rdev->wpan_phy.supported.tx_powers_size; i++) {
net/ieee802154/nl802154.c
1060
if (power == rdev->wpan_phy.supported.tx_powers[i])
net/ieee802154/nl802154.c
1160
if (min_be < rdev->wpan_phy.supported.min_minbe ||
net/ieee802154/nl802154.c
1161
min_be > rdev->wpan_phy.supported.max_minbe ||
net/ieee802154/nl802154.c
1162
max_be < rdev->wpan_phy.supported.min_maxbe ||
net/ieee802154/nl802154.c
1163
max_be > rdev->wpan_phy.supported.max_maxbe ||
net/ieee802154/nl802154.c
1189
if (max_csma_backoffs < rdev->wpan_phy.supported.min_csma_backoffs ||
net/ieee802154/nl802154.c
1190
max_csma_backoffs > rdev->wpan_phy.supported.max_csma_backoffs)
net/ieee802154/nl802154.c
1214
if (max_frame_retries < rdev->wpan_phy.supported.min_frame_retries ||
net/ieee802154/nl802154.c
1215
max_frame_retries > rdev->wpan_phy.supported.max_frame_retries)
net/ieee802154/nl802154.c
1239
if (!wpan_phy_supported_bool(mode, rdev->wpan_phy.supported.lbt))
net/ieee802154/nl802154.c
1291
if (!net_eq(wpan_phy_net(&rdev->wpan_phy), net))
net/ieee802154/nl802154.c
1372
int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/nl802154.c
1375
struct cfg802154_registered_device *rdev = wpan_phy_to_rdev(wpan_phy);
net/ieee802154/nl802154.c
1391
return genlmsg_multicast_netns(&nl802154_fam, wpan_phy_net(wpan_phy),
net/ieee802154/nl802154.c
1401
struct wpan_phy *wpan_phy = &rdev->wpan_phy;
net/ieee802154/nl802154.c
141
netdev->ieee802154_ptr->wpan_phy);
net/ieee802154/nl802154.c
1416
if (wpan_phy->flags & WPAN_PHY_FLAG_DATAGRAMS_ONLY) {
net/ieee802154/nl802154.c
1426
request->wpan_phy = wpan_phy;
net/ieee802154/nl802154.c
1442
wpan_phy->current_page);
net/ieee802154/nl802154.c
1447
wpan_phy->supported.channels[request->page]);
net/ieee802154/nl802154.c
1521
wpan_phy_net(&rdev->wpan_phy), msg, 0,
net/ieee802154/nl802154.c
1525
int nl802154_scan_started(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev)
net/ieee802154/nl802154.c
1527
struct cfg802154_registered_device *rdev = wpan_phy_to_rdev(wpan_phy);
net/ieee802154/nl802154.c
1539
int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/nl802154.c
1542
struct cfg802154_registered_device *rdev = wpan_phy_to_rdev(wpan_phy);
net/ieee802154/nl802154.c
1570
struct wpan_phy *wpan_phy = &rdev->wpan_phy;
net/ieee802154/nl802154.c
1584
if (wpan_phy->flags & WPAN_PHY_FLAG_DATAGRAMS_ONLY) {
net/ieee802154/nl802154.c
1594
request->wpan_phy = wpan_phy;
net/ieee802154/nl802154.c
160
if (netns != wpan_phy_net(&rdev->wpan_phy))
net/ieee802154/nl802154.c
1636
struct wpan_phy *wpan_phy;
net/ieee802154/nl802154.c
1641
wpan_phy = &rdev->wpan_phy;
net/ieee802154/nl802154.c
1643
if (wpan_phy->flags & WPAN_PHY_FLAG_DATAGRAMS_ONLY) {
net/ieee802154/nl802154.c
1671
struct wpan_phy *wpan_phy = &rdev->wpan_phy;
net/ieee802154/nl802154.c
1674
if (wpan_phy->flags & WPAN_PHY_FLAG_DATAGRAMS_ONLY) {
net/ieee802154/nl802154.c
271
*rdev = wpan_phy_to_rdev((*wpan_dev)->wpan_phy);
net/ieee802154/nl802154.c
2721
rdev = wpan_phy_to_rdev(wpan_dev->wpan_phy);
net/ieee802154/nl802154.c
277
struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1);
net/ieee802154/nl802154.c
280
if (!wpan_phy) {
net/ieee802154/nl802154.c
284
*rdev = wpan_phy_to_rdev(wpan_phy);
net/ieee802154/nl802154.c
355
rdev->wpan_phy.supported.channels[page]))
net/ieee802154/nl802154.c
367
const struct wpan_phy_supported *caps = &rdev->wpan_phy.supported;
net/ieee802154/nl802154.c
388
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL) {
net/ieee802154/nl802154.c
404
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_TXPOWER) {
net/ieee802154/nl802154.c
420
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_MODE) {
net/ieee802154/nl802154.c
465
wpan_phy_name(&rdev->wpan_phy)) ||
net/ieee802154/nl802154.c
477
rdev->wpan_phy.current_page) ||
net/ieee802154/nl802154.c
479
rdev->wpan_phy.current_channel))
net/ieee802154/nl802154.c
489
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_MODE) {
net/ieee802154/nl802154.c
491
rdev->wpan_phy.cca.mode))
net/ieee802154/nl802154.c
494
if (rdev->wpan_phy.cca.mode == NL802154_CCA_ENERGY_CARRIER) {
net/ieee802154/nl802154.c
496
rdev->wpan_phy.cca.opt))
net/ieee802154/nl802154.c
501
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_TXPOWER) {
net/ieee802154/nl802154.c
503
rdev->wpan_phy.transmit_power))
net/ieee802154/nl802154.c
507
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL) {
net/ieee802154/nl802154.c
509
rdev->wpan_phy.cca_ed_level))
net/ieee802154/nl802154.c
541
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_TXPOWER)
net/ieee802154/nl802154.c
544
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL)
net/ieee802154/nl802154.c
547
if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_MODE)
net/ieee802154/nl802154.c
589
netdev->ieee802154_ptr->wpan_phy);
net/ieee802154/nl802154.c
622
if (!net_eq(wpan_phy_net(&rdev->wpan_phy), sock_net(skb->sk)))
net/ieee802154/nl802154.c
64
if (wpan_phy_net(&rdev->wpan_phy) != netns)
net/ieee802154/nl802154.c
681
((u64)wpan_phy_to_rdev(wpan_dev->wpan_phy)->wpan_phy_idx << 32);
net/ieee802154/nl802154.c
871
if (!net_eq(wpan_phy_net(&rdev->wpan_phy), sock_net(skb->sk)))
net/ieee802154/nl802154.c
938
!(rdev->wpan_phy.supported.iftypes & BIT(type)))
net/ieee802154/nl802154.c
986
if (!ieee802154_chan_is_valid(&rdev->wpan_phy, page, channel))
net/ieee802154/nl802154.c
997
if (!(rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_MODE))
net/ieee802154/nl802154.h
10
int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/nl802154.h
7
int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/nl802154.h
9
int nl802154_scan_started(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev);
net/ieee802154/rdev-ops.h
103
trace_802154_rdev_set_cca_ed_level(&rdev->wpan_phy, ed_level);
net/ieee802154/rdev-ops.h
104
ret = rdev->ops->set_cca_ed_level(&rdev->wpan_phy, ed_level);
net/ieee802154/rdev-ops.h
105
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
115
trace_802154_rdev_set_tx_power(&rdev->wpan_phy, power);
net/ieee802154/rdev-ops.h
116
ret = rdev->ops->set_tx_power(&rdev->wpan_phy, power);
net/ieee802154/rdev-ops.h
117
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
127
trace_802154_rdev_set_pan_id(&rdev->wpan_phy, wpan_dev, pan_id);
net/ieee802154/rdev-ops.h
128
ret = rdev->ops->set_pan_id(&rdev->wpan_phy, wpan_dev, pan_id);
net/ieee802154/rdev-ops.h
129
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
139
trace_802154_rdev_set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr);
net/ieee802154/rdev-ops.h
140
ret = rdev->ops->set_short_addr(&rdev->wpan_phy, wpan_dev, short_addr);
net/ieee802154/rdev-ops.h
141
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
151
trace_802154_rdev_set_backoff_exponent(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
153
ret = rdev->ops->set_backoff_exponent(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
155
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
16
return rdev->ops->add_virtual_intf_deprecated(&rdev->wpan_phy, name,
net/ieee802154/rdev-ops.h
165
trace_802154_rdev_set_csma_backoffs(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
167
ret = rdev->ops->set_max_csma_backoffs(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
169
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
179
trace_802154_rdev_set_max_frame_retries(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
181
ret = rdev->ops->set_max_frame_retries(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
183
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
193
trace_802154_rdev_set_lbt_mode(&rdev->wpan_phy, wpan_dev, mode);
net/ieee802154/rdev-ops.h
194
ret = rdev->ops->set_lbt_mode(&rdev->wpan_phy, wpan_dev, mode);
net/ieee802154/rdev-ops.h
195
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
205
trace_802154_rdev_set_ackreq_default(&rdev->wpan_phy, wpan_dev,
net/ieee802154/rdev-ops.h
207
ret = rdev->ops->set_ackreq_default(&rdev->wpan_phy, wpan_dev, ackreq);
net/ieee802154/rdev-ops.h
208
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
220
trace_802154_rdev_trigger_scan(&rdev->wpan_phy, request);
net/ieee802154/rdev-ops.h
221
ret = rdev->ops->trigger_scan(&rdev->wpan_phy, request);
net/ieee802154/rdev-ops.h
222
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
234
trace_802154_rdev_abort_scan(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
235
ret = rdev->ops->abort_scan(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
236
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
24
rdev->ops->del_virtual_intf_deprecated(&rdev->wpan_phy, dev);
net/ieee802154/rdev-ops.h
248
trace_802154_rdev_send_beacons(&rdev->wpan_phy, request);
net/ieee802154/rdev-ops.h
249
ret = rdev->ops->send_beacons(&rdev->wpan_phy, request);
net/ieee802154/rdev-ops.h
250
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
262
trace_802154_rdev_stop_beacons(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
263
ret = rdev->ops->stop_beacons(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
264
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
277
trace_802154_rdev_associate(&rdev->wpan_phy, wpan_dev, coord);
net/ieee802154/rdev-ops.h
278
ret = rdev->ops->associate(&rdev->wpan_phy, wpan_dev, coord);
net/ieee802154/rdev-ops.h
279
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
292
trace_802154_rdev_disassociate(&rdev->wpan_phy, wpan_dev, target);
net/ieee802154/rdev-ops.h
293
ret = rdev->ops->disassociate(&rdev->wpan_phy, wpan_dev, target);
net/ieee802154/rdev-ops.h
294
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
305
rdev->ops->get_llsec_table(&rdev->wpan_phy, wpan_dev, table);
net/ieee802154/rdev-ops.h
31
trace_802154_rdev_suspend(&rdev->wpan_phy);
net/ieee802154/rdev-ops.h
312
rdev->ops->lock_llsec_table(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
319
rdev->ops->unlock_llsec_table(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
32
ret = rdev->ops->suspend(&rdev->wpan_phy);
net/ieee802154/rdev-ops.h
327
return rdev->ops->get_llsec_params(&rdev->wpan_phy, wpan_dev, params);
net/ieee802154/rdev-ops.h
33
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
336
return rdev->ops->set_llsec_params(&rdev->wpan_phy, wpan_dev, params,
net/ieee802154/rdev-ops.h
346
return rdev->ops->add_llsec_key(&rdev->wpan_phy, wpan_dev, id, key);
net/ieee802154/rdev-ops.h
354
return rdev->ops->del_llsec_key(&rdev->wpan_phy, wpan_dev, id);
net/ieee802154/rdev-ops.h
362
return rdev->ops->add_seclevel(&rdev->wpan_phy, wpan_dev, sl);
net/ieee802154/rdev-ops.h
370
return rdev->ops->del_seclevel(&rdev->wpan_phy, wpan_dev, sl);
net/ieee802154/rdev-ops.h
378
return rdev->ops->add_device(&rdev->wpan_phy, wpan_dev, dev_desc);
net/ieee802154/rdev-ops.h
385
return rdev->ops->del_device(&rdev->wpan_phy, wpan_dev, extended_addr);
net/ieee802154/rdev-ops.h
393
return rdev->ops->add_devkey(&rdev->wpan_phy, wpan_dev, extended_addr,
net/ieee802154/rdev-ops.h
402
return rdev->ops->del_devkey(&rdev->wpan_phy, wpan_dev, extended_addr,
net/ieee802154/rdev-ops.h
41
trace_802154_rdev_resume(&rdev->wpan_phy);
net/ieee802154/rdev-ops.h
42
ret = rdev->ops->resume(&rdev->wpan_phy);
net/ieee802154/rdev-ops.h
43
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
54
trace_802154_rdev_add_virtual_intf(&rdev->wpan_phy, name, type,
net/ieee802154/rdev-ops.h
56
ret = rdev->ops->add_virtual_intf(&rdev->wpan_phy, name,
net/ieee802154/rdev-ops.h
59
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
69
trace_802154_rdev_del_virtual_intf(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
70
ret = rdev->ops->del_virtual_intf(&rdev->wpan_phy, wpan_dev);
net/ieee802154/rdev-ops.h
71
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
80
trace_802154_rdev_set_channel(&rdev->wpan_phy, page, channel);
net/ieee802154/rdev-ops.h
81
ret = rdev->ops->set_channel(&rdev->wpan_phy, page, channel);
net/ieee802154/rdev-ops.h
82
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/rdev-ops.h
92
trace_802154_rdev_set_cca_mode(&rdev->wpan_phy, cca);
net/ieee802154/rdev-ops.h
93
ret = rdev->ops->set_cca_mode(&rdev->wpan_phy, cca);
net/ieee802154/rdev-ops.h
94
trace_802154_rdev_return_int(&rdev->wpan_phy, ret);
net/ieee802154/sysfs.c
23
wpan_phy.dev);
net/ieee802154/sysfs.c
41
struct wpan_phy *wpan_phy = &dev_to_rdev(dev)->wpan_phy;
net/ieee802154/sysfs.c
43
return sprintf(buf, "%s\n", dev_name(&wpan_phy->dev));
net/ieee802154/trace.h
103
TP_PROTO(struct wpan_phy *wpan_phy, u8 page, u8 channel),
net/ieee802154/trace.h
104
TP_ARGS(wpan_phy, page, channel),
net/ieee802154/trace.h
120
TP_PROTO(struct wpan_phy *wpan_phy, s32 power),
net/ieee802154/trace.h
121
TP_ARGS(wpan_phy, power),
net/ieee802154/trace.h
135
TP_PROTO(struct wpan_phy *wpan_phy, const struct wpan_phy_cca *cca),
net/ieee802154/trace.h
136
TP_ARGS(wpan_phy, cca),
net/ieee802154/trace.h
150
TP_PROTO(struct wpan_phy *wpan_phy, s32 ed_level),
net/ieee802154/trace.h
151
TP_ARGS(wpan_phy, ed_level),
net/ieee802154/trace.h
165
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
167
TP_ARGS(wpan_phy, wpan_dev, le16arg),
net/ieee802154/trace.h
17
wpan_phy_name(wpan_phy), \
net/ieee802154/trace.h
184
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
186
TP_ARGS(wpan_phy, wpan_dev, le16arg)
net/ieee802154/trace.h
190
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
192
TP_ARGS(wpan_phy, wpan_dev, le16arg),
net/ieee802154/trace.h
199
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
201
TP_ARGS(wpan_phy, wpan_dev, min_be, max_be),
net/ieee802154/trace.h
221
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
223
TP_ARGS(wpan_phy, wpan_dev, max_csma_backoffs),
net/ieee802154/trace.h
241
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
243
TP_ARGS(wpan_phy, wpan_dev, max_frame_retries),
net/ieee802154/trace.h
261
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
263
TP_ARGS(wpan_phy, wpan_dev, mode),
net/ieee802154/trace.h
280
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/ieee802154/trace.h
282
TP_ARGS(wpan_phy, wpan_dev, ackreq),
net/ieee802154/trace.h
299
TP_PROTO(struct wpan_phy *wpan_phy,
net/ieee802154/trace.h
301
TP_ARGS(wpan_phy, request),
net/ieee802154/trace.h
319
TP_PROTO(struct wpan_phy *wpan_phy,
net/ieee802154/trace.h
321
TP_ARGS(wpan_phy, request),
net/ieee802154/trace.h
335
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
net/ieee802154/trace.h
336
TP_ARGS(wpan_phy, wpan_dev),
net/ieee802154/trace.h
350
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
net/ieee802154/trace.h
351
TP_ARGS(wpan_phy, wpan_dev)
net/ieee802154/trace.h
355
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
net/ieee802154/trace.h
356
TP_ARGS(wpan_phy, wpan_dev)
net/ieee802154/trace.h
360
TP_PROTO(struct wpan_phy *wpan_phy,
net/ieee802154/trace.h
363
TP_ARGS(wpan_phy, wpan_dev, coord),
net/ieee802154/trace.h
379
TP_PROTO(struct wpan_phy *wpan_phy,
net/ieee802154/trace.h
382
TP_ARGS(wpan_phy, wpan_dev, target),
net/ieee802154/trace.h
398
TP_PROTO(struct wpan_phy *wpan_phy, int ret),
net/ieee802154/trace.h
399
TP_ARGS(wpan_phy, ret),
net/ieee802154/trace.h
45
TP_PROTO(struct wpan_phy *wpan_phy),
net/ieee802154/trace.h
46
TP_ARGS(wpan_phy),
net/ieee802154/trace.h
57
TP_PROTO(struct wpan_phy *wpan_phy),
net/ieee802154/trace.h
58
TP_ARGS(wpan_phy)
net/ieee802154/trace.h
62
TP_PROTO(struct wpan_phy *wpan_phy),
net/ieee802154/trace.h
63
TP_ARGS(wpan_phy)
net/ieee802154/trace.h
67
TP_PROTO(struct wpan_phy *wpan_phy, char *name,
net/ieee802154/trace.h
69
TP_ARGS(wpan_phy, name, type, extended_addr),
net/ieee802154/trace.h
88
TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev),
net/ieee802154/trace.h
89
TP_ARGS(wpan_phy, wpan_dev),
net/mac802154/cfg.c
106
ieee802154_set_channel(struct wpan_phy *wpan_phy, u8 page, u8 channel)
net/mac802154/cfg.c
108
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
113
if (wpan_phy->current_page == page &&
net/mac802154/cfg.c
114
wpan_phy->current_channel == channel)
net/mac802154/cfg.c
123
wpan_phy->current_page = page;
net/mac802154/cfg.c
124
wpan_phy->current_channel = channel;
net/mac802154/cfg.c
125
ieee802154_configure_durations(wpan_phy, page, channel);
net/mac802154/cfg.c
132
ieee802154_set_cca_mode(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
135
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
140
if (wpan_phy_cca_cmp(&wpan_phy->cca, cca))
net/mac802154/cfg.c
145
wpan_phy->cca = *cca;
net/mac802154/cfg.c
151
ieee802154_set_cca_ed_level(struct wpan_phy *wpan_phy, s32 ed_level)
net/mac802154/cfg.c
153
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
158
if (wpan_phy->cca_ed_level == ed_level)
net/mac802154/cfg.c
163
wpan_phy->cca_ed_level = ed_level;
net/mac802154/cfg.c
169
ieee802154_set_tx_power(struct wpan_phy *wpan_phy, s32 power)
net/mac802154/cfg.c
171
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
176
if (wpan_phy->transmit_power == power)
net/mac802154/cfg.c
18
ieee802154_add_iface_deprecated(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
181
wpan_phy->transmit_power = power;
net/mac802154/cfg.c
187
ieee802154_set_pan_id(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
205
ieee802154_set_backoff_exponent(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
217
ieee802154_set_short_addr(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
22
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
227
ieee802154_set_max_csma_backoffs(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
238
ieee802154_set_max_frame_retries(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
249
ieee802154_set_lbt_mode(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
259
ieee802154_set_ackreq_default(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
268
static int mac802154_trigger_scan(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
280
static int mac802154_abort_scan(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
283
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
293
static int mac802154_send_beacons(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
305
static int mac802154_stop_beacons(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
308
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
318
static int mac802154_associate(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
322
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
33
static void ieee802154_del_iface_deprecated(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
386
static int mac802154_disassociate_from_parent(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
389
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
42
static int ieee802154_suspend(struct wpan_phy *wpan_phy)
net/mac802154/cfg.c
44
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
447
static int mac802154_disassociate_child(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
468
static int mac802154_disassociate(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
478
return mac802154_disassociate_from_parent(wpan_phy, wpan_dev);
net/mac802154/cfg.c
482
return mac802154_disassociate_child(wpan_phy, wpan_dev,
net/mac802154/cfg.c
493
ieee802154_get_llsec_table(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
504
ieee802154_lock_llsec_table(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
514
ieee802154_unlock_llsec_table(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
524
ieee802154_set_llsec_params(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
541
ieee802154_get_llsec_params(struct wpan_phy *wpan_phy,
net/mac802154/cfg.c
557
ieee802154_add_llsec_key(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
573
ieee802154_del_llsec_key(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
588
ieee802154_add_seclevel(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
60
static int ieee802154_resume(struct wpan_phy *wpan_phy)
net/mac802154/cfg.c
603
ieee802154_del_seclevel(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
618
ieee802154_add_device(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
62
struct ieee802154_local *local = wpan_phy_priv(wpan_phy);
net/mac802154/cfg.c
633
ieee802154_del_device(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
648
ieee802154_add_devkey(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
664
ieee802154_del_devkey(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
net/mac802154/cfg.c
85
ieee802154_add_iface(struct wpan_phy *phy, const char *name,
net/mac802154/cfg.c
98
ieee802154_del_iface(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev)
net/mac802154/ieee802154_i.h
38
struct wpan_phy *phy;
net/mac802154/iface.c
660
sdata->wpan_dev.wpan_phy = local->hw.phy;
net/mac802154/iface.c
722
if (!dev->ieee802154_ptr || !dev->ieee802154_ptr->wpan_phy)
net/mac802154/iface.c
725
if (dev->ieee802154_ptr->wpan_phy->privid != mac802154_wpan_phy_privid)
net/mac802154/mac_cmd.c
109
params->transmit_power = wpan_dev->wpan_phy->transmit_power;
net/mac802154/mac_cmd.c
110
params->cca = wpan_dev->wpan_phy->cca;
net/mac802154/mac_cmd.c
111
params->cca_ed_level = wpan_dev->wpan_phy->cca_ed_level;
net/mac802154/mac_cmd.c
68
wpan_dev->wpan_phy->transmit_power = params->transmit_power;
net/mac802154/mac_cmd.c
69
wpan_dev->wpan_phy->cca = params->cca;
net/mac802154/mac_cmd.c
70
wpan_dev->wpan_phy->cca_ed_level = params->cca_ed_level;
net/mac802154/main.c
124
void ieee802154_configure_durations(struct wpan_phy *phy,
net/mac802154/main.c
183
static void ieee802154_setup_wpan_phy_pib(struct wpan_phy *wpan_phy)
net/mac802154/main.c
189
wpan_phy->lifs_period = (IEEE802154_LIFS_PERIOD *
net/mac802154/main.c
190
wpan_phy->symbol_duration) / NSEC_PER_USEC;
net/mac802154/main.c
191
wpan_phy->sifs_period = (IEEE802154_SIFS_PERIOD *
net/mac802154/main.c
192
wpan_phy->symbol_duration) / NSEC_PER_USEC;
net/mac802154/main.c
49
struct wpan_phy *phy;
net/mac802154/rx.c
135
struct wpan_phy *wpan_phy = sdata->local->hw.phy;
net/mac802154/rx.c
148
sdata->required_filtering > wpan_phy->filtering) {
net/mac802154/scan.c
182
struct wpan_phy *wpan_phy;
net/mac802154/scan.c
212
wpan_phy = scan_req->wpan_phy;
net/mac802154/scan.c
225
} while (!ieee802154_chan_is_valid(scan_req->wpan_phy, page, channel));
net/mac802154/scan.c
258
ieee802154_configure_durations(wpan_phy, page, channel);
net/mac802154/scan.c
260
wpan_phy->symbol_duration);
net/mac802154/scan.c
302
nl802154_scan_started(request->wpan_phy, request->wpan_dev);
net/mac802154/scan.c
340
nl802154_scan_event(scan_req->wpan_phy, scan_req->wpan_dev, &desc);
net/mac802154/scan.c
49
struct wpan_phy *wpan_phy = local->phy;
net/mac802154/scan.c
510
request->wpan_phy->symbol_duration);
net/mac802154/scan.c
66
nl802154_scan_done(wpan_phy, wpan_dev, arg);
net/mac802154/scan.c
72
drv_set_channel(local, wpan_phy->current_page,
net/mac802154/scan.c
73
wpan_phy->current_channel);
net/mac802154/scan.c
74
ieee802154_configure_durations(wpan_phy, wpan_phy->current_page,
net/mac802154/scan.c
75
wpan_phy->current_channel);