Home
last modified time | relevance | path

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

/openbmc/linux/net/dsa/
H A Dtag.c132 static void dsa_tag_driver_register(struct dsa_tag_driver *dsa_tag_driver, in dsa_tag_driver_register() argument
135 dsa_tag_driver->owner = owner; in dsa_tag_driver_register()
138 list_add_tail(&dsa_tag_driver->list, &dsa_tag_drivers_list); in dsa_tag_driver_register()
142 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_register()
151 static void dsa_tag_driver_unregister(struct dsa_tag_driver *dsa_tag_driver) in dsa_tag_driver_unregister() argument
154 list_del(&dsa_tag_driver->list); in dsa_tag_driver_unregister()
159 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_unregister()
180 struct dsa_tag_driver *dsa_tag_driver; in dsa_tag_driver_get_by_name() local
185 list_for_each_entry(dsa_tag_driver, &dsa_tag_drivers_list, list) { in dsa_tag_driver_get_by_name()
186 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
250 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[],
253 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[],
283 #define DSA_TAG_DRIVER_NAME(__ops) dsa_tag_driver ## _ ## __ops
289 static struct dsa_tag_driver DSA_TAG_DRIVER_NAME(__ops) = { \
305 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.c445 static struct dsa_tag_driver *dsa_tag_driver_array[] = {
H A Dtag_sja1105.c802 static struct dsa_tag_driver *sja1105_tag_driver_array[] = {