Searched refs:lowpan_dev (Results 1 – 12 of 12) sorted by relevance
192 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 …]
169 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()
34 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()
13 return lowpan_dev(dev)->lltype == lltype; in lowpan_is_ll()
88 switch (lowpan_dev(skb->dev)->lltype) { in udp_uncompress()
99 (sizeof(struct lowpan_dev) + llpriv_size)135 struct lowpan_dev { struct155 struct lowpan_dev *lowpan_dev(const struct net_device *dev) in lowpan_dev() function169 return (struct lowpan_802154_dev *)lowpan_dev(dev)->priv; in lowpan_802154_dev()
347 struct net_device *lowpan_dev; member
154 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()
281 ldev = wdev->ieee802154_ptr->lowpan_dev; in lowpan_rcv()
123 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()
1060 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()
80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv; in lowpan_btle_dev()