Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/net/dsa/
Ddsa.c45 static void dsa_tag_driver_register(struct dsa_tag_driver *dsa_tag_driver, in dsa_tag_driver_register() argument
48 dsa_tag_driver->owner = owner; in dsa_tag_driver_register()
51 list_add_tail(&dsa_tag_driver->list, &dsa_tag_drivers_list); in dsa_tag_driver_register()
55 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_register()
64 static void dsa_tag_driver_unregister(struct dsa_tag_driver *dsa_tag_driver) in dsa_tag_driver_unregister() argument
67 list_del(&dsa_tag_driver->list); in dsa_tag_driver_unregister()
72 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[], in dsa_tag_drivers_unregister()
89 struct dsa_tag_driver *dsa_tag_driver; in dsa_tag_driver_get() local
96 list_for_each_entry(dsa_tag_driver, &dsa_tag_drivers_list, list) { in dsa_tag_driver_get()
97 ops = dsa_tag_driver->ops; in dsa_tag_driver_get()
[all …]
Dtag_brcm.c225 static struct dsa_tag_driver *dsa_tag_driver_array[] = {
Dtag_ksz.c193 static struct dsa_tag_driver *dsa_tag_driver_array[] = {
/kernel/linux/linux-5.10/include/net/
Ddsa.h880 struct dsa_tag_driver { struct
886 void dsa_tag_drivers_register(struct dsa_tag_driver *dsa_tag_driver_array[], argument
889 void dsa_tag_drivers_unregister(struct dsa_tag_driver *dsa_tag_driver_array[],
919 #define DSA_TAG_DRIVER_NAME(__ops) dsa_tag_driver ## _ ## __ops
925 static struct dsa_tag_driver DSA_TAG_DRIVER_NAME(__ops) = { \
941 static struct dsa_tag_driver *dsa_tag_driver_array[] = { \