/Linux-v6.1/include/net/ |
D | cfg802154.h | 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); [all …]
|
D | mac802154.h | 83 struct wpan_phy *phy;
|
D | ieee802154_netdev.h | 297 struct wpan_phy;
|
/Linux-v6.1/net/mac802154/ |
D | cfg.c | 18 ieee802154_add_iface_deprecated(struct wpan_phy *wpan_phy, in ieee802154_add_iface_deprecated() argument 22 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_add_iface_deprecated() 33 static void ieee802154_del_iface_deprecated(struct wpan_phy *wpan_phy, in ieee802154_del_iface_deprecated() argument 42 static int ieee802154_suspend(struct wpan_phy *wpan_phy) in ieee802154_suspend() argument 44 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_suspend() 60 static int ieee802154_resume(struct wpan_phy *wpan_phy) in ieee802154_resume() argument 62 struct ieee802154_local *local = wpan_phy_priv(wpan_phy); in ieee802154_resume() 85 ieee802154_add_iface(struct wpan_phy *phy, const char *name, in ieee802154_add_iface() 98 ieee802154_del_iface(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev) in ieee802154_del_iface() argument 106 ieee802154_set_channel(struct wpan_phy *wpan_phy, u8 page, u8 channel) in ieee802154_set_channel() argument [all …]
|
D | main.c | 49 struct wpan_phy *phy; in ieee802154_alloc_hw() 116 void ieee802154_configure_durations(struct wpan_phy *phy) in ieee802154_configure_durations() 172 static void ieee802154_setup_wpan_phy_pib(struct wpan_phy *wpan_phy) in ieee802154_setup_wpan_phy_pib() argument 178 wpan_phy->lifs_period = in ieee802154_setup_wpan_phy_pib() 179 (IEEE802154_LIFS_PERIOD * wpan_phy->symbol_duration) / 1000; in ieee802154_setup_wpan_phy_pib() 180 wpan_phy->sifs_period = in ieee802154_setup_wpan_phy_pib() 181 (IEEE802154_SIFS_PERIOD * wpan_phy->symbol_duration) / 1000; in ieee802154_setup_wpan_phy_pib()
|
D | mac_cmd.c | 68 wpan_dev->wpan_phy->transmit_power = params->transmit_power; in mac802154_set_mac_params() 69 wpan_dev->wpan_phy->cca = params->cca; in mac802154_set_mac_params() 70 wpan_dev->wpan_phy->cca_ed_level = params->cca_ed_level; in mac802154_set_mac_params() 109 params->transmit_power = wpan_dev->wpan_phy->transmit_power; in mac802154_get_mac_params() 110 params->cca = wpan_dev->wpan_phy->cca; in mac802154_get_mac_params() 111 params->cca_ed_level = wpan_dev->wpan_phy->cca_ed_level; in mac802154_get_mac_params()
|
D | ieee802154_i.h | 30 struct wpan_phy *phy;
|
D | iface.c | 663 sdata->wpan_dev.wpan_phy = local->hw.phy; in ieee802154_if_add() 721 if (!dev->ieee802154_ptr || !dev->ieee802154_ptr->wpan_phy) in netdev_notify() 724 if (dev->ieee802154_ptr->wpan_phy->privid != mac802154_wpan_phy_privid) in netdev_notify()
|
/Linux-v6.1/net/ieee802154/ |
D | rdev-ops.h | 16 return rdev->ops->add_virtual_intf_deprecated(&rdev->wpan_phy, name, in rdev_add_virtual_intf_deprecated() 24 rdev->ops->del_virtual_intf_deprecated(&rdev->wpan_phy, dev); in rdev_del_virtual_intf_deprecated() 31 trace_802154_rdev_suspend(&rdev->wpan_phy); in rdev_suspend() 32 ret = rdev->ops->suspend(&rdev->wpan_phy); in rdev_suspend() 33 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_suspend() 41 trace_802154_rdev_resume(&rdev->wpan_phy); in rdev_resume() 42 ret = rdev->ops->resume(&rdev->wpan_phy); in rdev_resume() 43 trace_802154_rdev_return_int(&rdev->wpan_phy, ret); in rdev_resume() 54 trace_802154_rdev_add_virtual_intf(&rdev->wpan_phy, name, type, in rdev_add_virtual_intf() 56 ret = rdev->ops->add_virtual_intf(&rdev->wpan_phy, name, in rdev_add_virtual_intf() [all …]
|
D | trace.h | 17 wpan_phy_name(wpan_phy), \ 45 TP_PROTO(struct wpan_phy *wpan_phy), 46 TP_ARGS(wpan_phy), 57 TP_PROTO(struct wpan_phy *wpan_phy), 58 TP_ARGS(wpan_phy) 62 TP_PROTO(struct wpan_phy *wpan_phy), 63 TP_ARGS(wpan_phy) 67 TP_PROTO(struct wpan_phy *wpan_phy, char *name, 69 TP_ARGS(wpan_phy, name, type, extended_addr), 88 TP_PROTO(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev), [all …]
|
D | core.c | 26 struct wpan_phy *wpan_phy_find(const char *str) in wpan_phy_find() 37 return container_of(dev, struct wpan_phy, dev); in wpan_phy_find() 42 int (*fn)(struct wpan_phy *phy, void *data); 49 struct wpan_phy *phy = container_of(dev, struct wpan_phy, dev); in wpan_phy_iter() 54 int wpan_phy_for_each(int (*fn)(struct wpan_phy *phy, void *data), in wpan_phy_for_each() 84 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx) in wpan_phy_idx_to_wpan_phy() 93 return &rdev->wpan_phy; in wpan_phy_idx_to_wpan_phy() 96 struct wpan_phy * 123 device_initialize(&rdev->wpan_phy.dev); in wpan_phy_new() 124 dev_set_name(&rdev->wpan_phy.dev, PHY_NAME "%d", rdev->wpan_phy_idx); in wpan_phy_new() [all …]
|
D | core.h | 28 struct wpan_phy wpan_phy __aligned(NETDEV_ALIGN); 32 wpan_phy_to_rdev(struct wpan_phy *wpan_phy) in wpan_phy_to_rdev() argument 34 BUG_ON(!wpan_phy); in wpan_phy_to_rdev() 35 return container_of(wpan_phy, struct cfg802154_registered_device, in wpan_phy_to_rdev() 36 wpan_phy); in wpan_phy_to_rdev() 48 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx);
|
D | sysfs.c | 23 wpan_phy.dev); in dev_to_rdev() 41 struct wpan_phy *wpan_phy = &dev_to_rdev(dev)->wpan_phy; in name_show() local 43 return sprintf(buf, "%s\n", dev_name(&wpan_phy->dev)); in name_show()
|
D | nl802154.c | 62 if (wpan_phy_net(&rdev->wpan_phy) != netns) in __cfg802154_wpan_dev_from_attrs() 139 netdev->ieee802154_ptr->wpan_phy); in __cfg802154_rdev_from_attrs() 158 if (netns != wpan_phy_net(&rdev->wpan_phy)) in __cfg802154_rdev_from_attrs() 251 *rdev = wpan_phy_to_rdev((*wpan_dev)->wpan_phy); in nl802154_prepare_wpan_dev_dump() 257 struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); in nl802154_prepare_wpan_dev_dump() local 260 if (!wpan_phy) { in nl802154_prepare_wpan_dev_dump() 264 *rdev = wpan_phy_to_rdev(wpan_phy); in nl802154_prepare_wpan_dev_dump() 336 rdev->wpan_phy.supported.channels[page])) in nl802154_send_wpan_phy_channels() 348 const struct wpan_phy_supported *caps = &rdev->wpan_phy.supported; in nl802154_put_capabilities() 369 if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL) { in nl802154_put_capabilities() [all …]
|
D | nl-phy.c | 29 u32 seq, int flags, struct wpan_phy *phy) in ieee802154_nl_fill_phy() 77 struct wpan_phy *phy; in ieee802154_list_phy() 119 static int ieee802154_dump_phy_iter(struct wpan_phy *phy, void *_data) in ieee802154_dump_phy_iter() 164 struct wpan_phy *phy; in ieee802154_add_iface() 269 struct wpan_phy *phy; in ieee802154_del_iface() 290 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_del_iface() 297 struct wpan_phy *phy2; in ieee802154_del_iface()
|
D | nl-mac.c | 78 struct wpan_phy *phy; in ieee802154_nl_fill_iface() 90 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_nl_fill_iface() 469 struct wpan_phy *phy; in ieee802154_set_macparams() 499 phy = dev->ieee802154_ptr->wpan_phy; in ieee802154_set_macparams()
|
/Linux-v6.1/drivers/net/ieee802154/ |
D | mcr20a.c | 974 struct wpan_phy *phy = lp->hw->phy; in mcr20a_hw_setup()
|