Home
last modified time | relevance | path

Searched refs:dsa_tag_driver (Results 1 – 8 of 8) sorted by relevance

/linux/net/dsa/
H A Dtag.c133 static void dsa_tag_driver_register(struct dsa_tag_driver *dsa_tag_driver, in dsa_tag_driver_register() argument
136 dsa_tag_driver->owner = owner; in dsa_tag_driver_register()
139 list_add_tail(&dsa_tag_driver->list, &dsa_tag_drivers_list); in dsa_tag_driver_register()
143 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_register()
152 static void dsa_tag_driver_unregister(struct dsa_tag_driver *dsa_tag_driver) in dsa_tag_driver_unregister() argument
155 list_del(&dsa_tag_driver->list); in dsa_tag_driver_unregister()
160 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_unregister()
181 struct dsa_tag_driver *dsa_tag_driver; in dsa_tag_driver_get_by_name() local
186 list_for_each_entry(dsa_tag_driver, &dsa_tag_drivers_list, list) { in dsa_tag_driver_get_by_name()
187 const struct dsa_device_ops *tmp = dsa_tag_driver->ops; in dsa_tag_driver_get_by_name()
[all …]
H A Dtag.h14 struct dsa_tag_driver { struct
325 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[],
328 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[],
358 #define DSA_TAG_DRIVER_NAME(__ops) dsa_tag_driver ## _ ## __ops
364 static struct dsa_tag_driver DSA_TAG_DRIVER_NAME(__ops) = { \
380 static struct dsa_tag_driver *dsa_tag_driver_array[] = { \
H A Dtag_rtl8_4.c255 static struct dsa_tag_driver *dsa_tag_drivers[] = {
H A Dtag_ocelot.c180 static struct dsa_tag_driver *ocelot_tag_driver_array[] = {
H A Dtag_brcm.c324 static struct dsa_tag_driver *dsa_tag_driver_array[] = {
H A Dtag_dsa.c398 static struct dsa_tag_driver *dsa_tag_drivers[] = {
H A Dtag_ksz.c456 static struct dsa_tag_driver *dsa_tag_driver_array[] = {
H A Dtag_sja1105.c754 static struct dsa_tag_driver *sja1105_tag_driver_array[] = {