Searched refs:wpan_phy_idx (Results 1 – 4 of 4) sorted by relevance
68 cfg802154_rdev_by_wpan_phy_idx(int wpan_phy_idx) in cfg802154_rdev_by_wpan_phy_idx() argument75 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() argument90 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()
12 int wpan_phy_idx; member47 cfg802154_rdev_by_wpan_phy_idx(int wpan_phy_idx);48 struct wpan_phy *wpan_phy_idx_to_wpan_phy(int wpan_phy_idx);
35 SHOW_FMT(index, "%d", wpan_phy_idx);
44 int wpan_phy_idx = -1; in __cfg802154_wpan_dev_from_attrs() local56 wpan_phy_idx = wpan_dev_id >> 32; in __cfg802154_wpan_dev_from_attrs()65 if (have_wpan_dev_id && rdev->wpan_phy_idx != wpan_phy_idx) in __cfg802154_wpan_dev_from_attrs()253 cb->args[0] = (*rdev)->wpan_phy_idx + 1; in nl802154_prepare_wpan_dev_dump()444 if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx) || in nl802154_send_wpan_phy()571 state->filter_wpan_phy = rdev->wpan_phy_idx; in nl802154_dump_wpan_phy_parse()608 state->filter_wpan_phy != rdev->wpan_phy_idx) in nl802154_dump_wpan_phy()662 ((u64)wpan_phy_to_rdev(wpan_dev->wpan_phy)->wpan_phy_idx << 32); in wpan_dev_id()787 if (nla_put_u32(msg, NL802154_ATTR_WPAN_PHY, rdev->wpan_phy_idx) || in nl802154_send_iface()