Searched refs:wpan_phy_idx (Results 1 – 4 of 4) sorted by relevance
/linux-6.3-rc2/net/ieee802154/ |
A D | core.c | 68 cfg802154_rdev_by_wpan_phy_idx(int wpan_phy_idx) in cfg802154_rdev_by_wpan_phy_idx() argument 75 if (rdev->wpan_phy_idx == wpan_phy_idx) { in cfg802154_rdev_by_wpan_phy_idx() 84 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx) in wpan_phy_idx_to_wpan_phy() argument 90 rdev = cfg802154_rdev_by_wpan_phy_idx(wpan_phy_idx); in wpan_phy_idx_to_wpan_phy() 110 rdev->wpan_phy_idx = atomic_inc_return(&wpan_phy_counter); in wpan_phy_new() 112 if (unlikely(rdev->wpan_phy_idx < 0)) { in wpan_phy_new() 120 rdev->wpan_phy_idx--; in wpan_phy_new() 124 dev_set_name(&rdev->wpan_phy.dev, PHY_NAME "%d", rdev->wpan_phy_idx); in wpan_phy_new()
|
A D | core.h | 12 int wpan_phy_idx; member 47 cfg802154_rdev_by_wpan_phy_idx(int wpan_phy_idx); 48 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx);
|
A D | sysfs.c | 35 SHOW_FMT(index, "%d", wpan_phy_idx);
|
A D | nl802154.c | 46 int wpan_phy_idx = -1; in __cfg802154_wpan_dev_from_attrs() local 58 wpan_phy_idx = wpan_dev_id >> 32; in __cfg802154_wpan_dev_from_attrs() 67 if (have_wpan_dev_id && rdev->wpan_phy_idx != wpan_phy_idx) in __cfg802154_wpan_dev_from_attrs() 272 cb->args[0] = (*rdev)->wpan_phy_idx + 1; in nl802154_prepare_wpan_dev_dump() 463 if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx) || in nl802154_send_wpan_phy() 590 state->filter_wpan_phy = rdev->wpan_phy_idx; in nl802154_dump_wpan_phy_parse() 627 state->filter_wpan_phy != rdev->wpan_phy_idx) in nl802154_dump_wpan_phy() 681 ((u64)wpan_phy_to_rdev(wpan_dev->wpan_phy)->wpan_phy_idx << 32); in wpan_dev_id() 806 if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx) || in nl802154_send_iface() 1315 if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx)) in nl802154_prep_scan_event_msg() [all …]
|
Completed in 10 milliseconds