Lines Matching refs:lowpan_btle_dev
65 struct lowpan_btle_dev { struct
77 static inline struct lowpan_btle_dev * argument
78 lowpan_btle_dev(const struct net_device *netdev) in lowpan_btle_dev() function
80 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv; in lowpan_btle_dev()
83 static inline void peer_add(struct lowpan_btle_dev *dev, in peer_add()
90 static inline bool peer_del(struct lowpan_btle_dev *dev, in peer_del()
107 __peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan) in __peer_lookup_chan()
120 __peer_lookup_conn(struct lowpan_btle_dev *dev, struct l2cap_conn *conn) in __peer_lookup_conn()
132 static inline struct lowpan_peer *peer_lookup_dst(struct lowpan_btle_dev *dev, in peer_lookup_dst()
200 struct lowpan_btle_dev *entry; in lookup_peer()
216 static struct lowpan_btle_dev *lookup_dev(struct l2cap_conn *conn) in lookup_dev()
218 struct lowpan_btle_dev *entry; in lookup_dev()
219 struct lowpan_btle_dev *dev = NULL; in lookup_dev()
346 struct lowpan_btle_dev *dev; in chan_recv_cb()
372 struct lowpan_btle_dev *dev; in setup_header()
379 dev = lowpan_btle_dev(netdev); in setup_header()
462 struct lowpan_btle_dev *entry; in send_mcast_pkt()
469 struct lowpan_btle_dev *dev; in send_mcast_pkt()
474 dev = lowpan_btle_dev(entry->netdev); in send_mcast_pkt()
599 struct lowpan_btle_dev *dev = container_of(work, struct lowpan_btle_dev, in do_notify_peers()
634 struct lowpan_btle_dev *dev, in add_peer_chan()
662 static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev) in setup_netdev()
668 netdev = alloc_netdev(LOWPAN_PRIV_SIZE(sizeof(struct lowpan_btle_dev)), in setup_netdev()
682 *dev = lowpan_btle_dev(netdev); in setup_netdev()
715 struct lowpan_btle_dev *dev; in chan_ready_cb()
754 struct lowpan_btle_dev *entry = container_of(work, in delete_netdev()
755 struct lowpan_btle_dev, in delete_netdev()
765 struct lowpan_btle_dev *entry; in chan_close_cb()
766 struct lowpan_btle_dev *dev = NULL; in chan_close_cb()
786 dev = lowpan_btle_dev(entry->netdev); in chan_close_cb()
837 struct lowpan_btle_dev *dev; in chan_suspend_cb()
850 struct lowpan_btle_dev *dev; in chan_resume_cb()
989 struct lowpan_btle_dev *entry; in disconnect_all_peers()
1153 struct lowpan_btle_dev *entry; in lowpan_control_show()
1184 struct lowpan_btle_dev *entry, *tmp, *new_dev; in disconnect_devices()
1222 struct lowpan_btle_dev *entry; in device_event()