Lines Matching defs:lowpan_btle_dev

73 struct lowpan_btle_dev {
85 static inline struct lowpan_btle_dev *
86 lowpan_btle_dev(const struct net_device *netdev)
88 return (struct lowpan_btle_dev *)lowpan_dev(netdev)->priv;
91 static inline void peer_add(struct lowpan_btle_dev *dev,
98 static inline bool peer_del(struct lowpan_btle_dev *dev,
115 __peer_lookup_chan(struct lowpan_btle_dev *dev, struct l2cap_chan *chan)
128 __peer_lookup_conn(struct lowpan_btle_dev *dev, struct l2cap_conn *conn)
140 static inline struct lowpan_peer *peer_lookup_dst(struct lowpan_btle_dev *dev,
208 struct lowpan_btle_dev *entry;
224 static struct lowpan_btle_dev *lookup_dev(struct l2cap_conn *conn)
226 struct lowpan_btle_dev *entry;
227 struct lowpan_btle_dev *dev = NULL;
355 struct lowpan_btle_dev *dev;
381 struct lowpan_btle_dev *dev;
388 dev = lowpan_btle_dev(netdev);
471 struct lowpan_btle_dev *entry;
478 struct lowpan_btle_dev *dev;
483 dev = lowpan_btle_dev(entry->netdev);
610 struct lowpan_btle_dev *dev = container_of(work, struct lowpan_btle_dev,
645 struct lowpan_btle_dev *dev,
673 static int setup_netdev(struct l2cap_chan *chan, struct lowpan_btle_dev **dev)
679 netdev = alloc_netdev(LOWPAN_PRIV_SIZE(sizeof(struct lowpan_btle_dev)),
693 *dev = lowpan_btle_dev(netdev);
726 struct lowpan_btle_dev *dev;
763 static void unregister_dev(struct lowpan_btle_dev *dev)
785 struct lowpan_btle_dev *entry = container_of(work,
786 struct lowpan_btle_dev,
796 struct lowpan_btle_dev *entry;
797 struct lowpan_btle_dev *dev = NULL;
817 dev = lowpan_btle_dev(entry->netdev);
873 struct lowpan_btle_dev *dev;
886 struct lowpan_btle_dev *dev;
1047 struct lowpan_btle_dev *entry;
1226 struct lowpan_btle_dev *entry;
1257 struct lowpan_btle_dev *entry, *tmp, *new_dev;
1296 struct lowpan_btle_dev *entry;