Home
last modified time | relevance | path

Searched refs:lowpan_dev (Results 1 – 12 of 12) sorted by relevance

/linux-6.1.9/net/6lowpan/
Diphc.c192 struct lowpan_iphc_ctx *ret = &lowpan_dev(dev)->ctx.table[id]; in lowpan_iphc_ctx_get_by_id()
204 struct lowpan_iphc_ctx *table = lowpan_dev(dev)->ctx.table; in lowpan_iphc_ctx_get_by_addr()
248 struct lowpan_iphc_ctx *table = lowpan_dev(dev)->ctx.table; in lowpan_iphc_ctx_get_by_mcast_addr()
335 switch (lowpan_dev(dev)->lltype) { in lowpan_iphc_uncompress_addr()
396 switch (lowpan_dev(dev)->lltype) { in lowpan_iphc_uncompress_ctx_addr()
660 spin_lock_bh(&lowpan_dev(dev)->ctx.lock); in lowpan_header_decompress()
663 spin_unlock_bh(&lowpan_dev(dev)->ctx.lock); in lowpan_header_decompress()
671 spin_unlock_bh(&lowpan_dev(dev)->ctx.lock); in lowpan_header_decompress()
688 spin_lock_bh(&lowpan_dev(dev)->ctx.lock); in lowpan_header_decompress()
691 spin_unlock_bh(&lowpan_dev(dev)->ctx.lock); in lowpan_header_decompress()
[all …]
Ddebugfs.c169 struct lowpan_dev *ldev = lowpan_dev(dev); in lowpan_dev_debugfs_ctx_init()
231 struct lowpan_dev *ldev) in lowpan_dev_debugfs_802154_init()
247 struct lowpan_dev *ldev = lowpan_dev(dev); in lowpan_dev_debugfs_init()
256 debugfs_create_file("show", 0644, contexts, &lowpan_dev(dev)->ctx, in lowpan_dev_debugfs_init()
267 debugfs_remove_recursive(lowpan_dev(dev)->iface_debugfs); in lowpan_dev_debugfs_exit()
Dcore.c34 lowpan_dev(dev)->lltype = lltype; in lowpan_register_netdevice()
36 spin_lock_init(&lowpan_dev(dev)->ctx.lock); in lowpan_register_netdevice()
38 lowpan_dev(dev)->ctx.table[i].id = i; in lowpan_register_netdevice()
137 &lowpan_dev(dev)->ctx.table[i].flags); in lowpan_event()
D6lowpan_i.h13 return lowpan_dev(dev)->lltype == lltype; in lowpan_is_ll()
Dnhc_udp.c88 switch (lowpan_dev(skb->dev)->lltype) { in udp_uncompress()
/linux-6.1.9/include/net/
D6lowpan.h99 (sizeof(struct lowpan_dev) + llpriv_size)
135 struct lowpan_dev { struct
155 struct lowpan_dev *lowpan_dev(const struct net_device *dev) in lowpan_dev() function
169 return (struct lowpan_802154_dev *)lowpan_dev(dev)->priv; in lowpan_802154_dev()
Dcfg802154.h347 struct net_device *lowpan_dev; member
/linux-6.1.9/net/ieee802154/6lowpan/
Dcore.c154 if (wdev->ieee802154_ptr->lowpan_dev) { in lowpan_newlink()
180 wdev->ieee802154_ptr->lowpan_dev = ldev; in lowpan_newlink()
190 wdev->ieee802154_ptr->lowpan_dev = NULL; in lowpan_dellink()
232 if (wpan_dev->lowpan_dev) in lowpan_device_event()
233 lowpan_dellink(wpan_dev->lowpan_dev, NULL); in lowpan_device_event()
Drx.c281 ldev = wdev->ieee802154_ptr->lowpan_dev; in lowpan_rcv()
/linux-6.1.9/net/mac802154/
Diface.c123 if (sdata->wpan_dev.lowpan_dev) { in mac802154_wpan_mac_addr()
124 if (netif_running(sdata->wpan_dev.lowpan_dev)) in mac802154_wpan_mac_addr()
138 if (sdata->wpan_dev.lowpan_dev) in mac802154_wpan_mac_addr()
139 dev_addr_set(sdata->wpan_dev.lowpan_dev, dev->dev_addr); in mac802154_wpan_mac_addr()
/linux-6.1.9/net/ieee802154/
Dnl802154.c1060 if (wpan_dev->lowpan_dev) { in nl802154_set_pan_id()
1061 if (netif_running(wpan_dev->lowpan_dev)) in nl802154_set_pan_id()
1096 if (wpan_dev->lowpan_dev) { in nl802154_set_short_addr()
1097 if (netif_running(wpan_dev->lowpan_dev)) in nl802154_set_short_addr()
/linux-6.1.9/net/bluetooth/
D6lowpan.c80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv; in lowpan_btle_dev()