Home
last modified time | relevance | path

Searched refs:dsa_ptr (Results 1 – 6 of 6) sorted by relevance

/linux-2.6.39/include/net/
Ddsa.h57 extern bool dsa_uses_dsa_tags(void *dsa_ptr);
58 extern bool dsa_uses_trailer_tags(void *dsa_ptr);
/linux-2.6.39/net/dsa/
Ddsa.c209 bool dsa_uses_dsa_tags(void *dsa_ptr) in dsa_uses_dsa_tags() argument
211 struct dsa_switch_tree *dst = dsa_ptr; in dsa_uses_dsa_tags()
216 bool dsa_uses_trailer_tags(void *dsa_ptr) in dsa_uses_trailer_tags() argument
218 struct dsa_switch_tree *dst = dsa_ptr; in dsa_uses_trailer_tags()
323 if (dev->dsa_ptr != NULL) { in dsa_probe()
371 dev->dsa_ptr = (void *)dst; in dsa_probe()
Dtag_trailer.c72 struct dsa_switch_tree *dst = dev->dsa_ptr; in trailer_rcv()
Dtag_dsa.c82 struct dsa_switch_tree *dst = dev->dsa_ptr; in dsa_rcv()
Dtag_edsa.c95 struct dsa_switch_tree *dst = dev->dsa_ptr; in edsa_rcv()
/linux-2.6.39/include/linux/
Dnetdevice.h1175 void *dsa_ptr; /* dsa specific data */ member
1441 if (dev->dsa_ptr != NULL) in netdev_uses_dsa_tags()
1442 return dsa_uses_dsa_tags(dev->dsa_ptr); in netdev_uses_dsa_tags()
1460 if (dev->dsa_ptr != NULL) in netdev_uses_trailer_tags()
1461 return dsa_uses_trailer_tags(dev->dsa_ptr); in netdev_uses_trailer_tags()