/linux-6.12.1/include/net/ |
D | cfg802154.h | 19 struct wpan_phy; 36 struct net_device * (*add_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 40 void (*del_virtual_intf_deprecated)(struct wpan_phy *wpan_phy, 42 int (*suspend)(struct wpan_phy *wpan_phy); 43 int (*resume)(struct wpan_phy *wpan_phy); 44 int (*add_virtual_intf)(struct wpan_phy *wpan_phy, 49 int (*del_virtual_intf)(struct wpan_phy *wpan_phy, 51 int (*set_channel)(struct wpan_phy *wpan_phy, u8 page, u8 channel); 52 int (*set_cca_mode)(struct wpan_phy *wpan_phy, 54 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 | 435 struct wpan_phy;
|
/linux-6.12.1/net/ieee802154/ |
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 | 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 | 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 | nl802154.h | 7 int nl802154_scan_event(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev, 9 int nl802154_scan_started(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev); 10 int nl802154_scan_done(struct wpan_phy *wpan_phy, struct wpan_dev *wpan_dev,
|
D | nl802154.c | 64 if (wpan_phy_net(&rdev->wpan_phy) != netns) in __cfg802154_wpan_dev_from_attrs() 141 netdev->ieee802154_ptr->wpan_phy); in __cfg802154_rdev_from_attrs() 160 if (netns != wpan_phy_net(&rdev->wpan_phy)) in __cfg802154_rdev_from_attrs() 271 *rdev = wpan_phy_to_rdev((*wpan_dev)->wpan_phy); in nl802154_prepare_wpan_dev_dump() 277 struct wpan_phy *wpan_phy = wpan_phy_idx_to_wpan_phy(cb->args[0] - 1); in nl802154_prepare_wpan_dev_dump() local 280 if (!wpan_phy) { in nl802154_prepare_wpan_dev_dump() 284 *rdev = wpan_phy_to_rdev(wpan_phy); in nl802154_prepare_wpan_dev_dump() 355 rdev->wpan_phy.supported.channels[page])) in nl802154_send_wpan_phy_channels() 367 const struct wpan_phy_supported *caps = &rdev->wpan_phy.supported; in nl802154_put_capabilities() 388 if (rdev->wpan_phy.flags & WPAN_PHY_FLAG_CCA_ED_LEVEL) { in nl802154_put_capabilities() [all …]
|
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 | 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-6.12.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 | 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 | main.c | 49 struct wpan_phy *phy; in ieee802154_alloc_hw() 124 void ieee802154_configure_durations(struct wpan_phy *phy, in ieee802154_configure_durations() 183 static void ieee802154_setup_wpan_phy_pib(struct wpan_phy *wpan_phy) in ieee802154_setup_wpan_phy_pib() argument 189 wpan_phy->lifs_period = (IEEE802154_LIFS_PERIOD * in ieee802154_setup_wpan_phy_pib() 190 wpan_phy->symbol_duration) / NSEC_PER_USEC; in ieee802154_setup_wpan_phy_pib() 191 wpan_phy->sifs_period = (IEEE802154_SIFS_PERIOD * in ieee802154_setup_wpan_phy_pib() 192 wpan_phy->symbol_duration) / NSEC_PER_USEC; in ieee802154_setup_wpan_phy_pib()
|
D | scan.c | 49 struct wpan_phy *wpan_phy = local->phy; in mac802154_scan_cleanup_locked() local 66 nl802154_scan_done(wpan_phy, wpan_dev, arg); in mac802154_scan_cleanup_locked() 72 drv_set_channel(local, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 73 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 74 ieee802154_configure_durations(wpan_phy, wpan_phy->current_page, in mac802154_scan_cleanup_locked() 75 wpan_phy->current_channel); in mac802154_scan_cleanup_locked() 182 struct wpan_phy *wpan_phy; in mac802154_scan_worker() local 212 wpan_phy = scan_req->wpan_phy; in mac802154_scan_worker() 225 } while (!ieee802154_chan_is_valid(scan_req->wpan_phy, page, channel)); in mac802154_scan_worker() 258 ieee802154_configure_durations(wpan_phy, page, channel); in mac802154_scan_worker() [all …]
|
D | rx.c | 135 struct wpan_phy *wpan_phy = sdata->local->hw.phy; in ieee802154_subif_frame() local 148 sdata->required_filtering > wpan_phy->filtering) { in ieee802154_subif_frame()
|
D | iface.c | 658 sdata->wpan_dev.wpan_phy = local->hw.phy; in ieee802154_if_add() 716 if (!dev->ieee802154_ptr || !dev->ieee802154_ptr->wpan_phy) in netdev_notify() 719 if (dev->ieee802154_ptr->wpan_phy->privid != mac802154_wpan_phy_privid) in netdev_notify()
|
D | ieee802154_i.h | 38 struct wpan_phy *phy;
|
/linux-6.12.1/drivers/net/ieee802154/ |
D | mcr20a.c | 973 struct wpan_phy *phy = lp->hw->phy; in mcr20a_hw_setup()
|