Home
last modified time | relevance | path

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

/Linux-v5.4/include/linux/platform_data/
Ddsa.h8 #define DSA_MAX_SWITCHES 4 macro
48 s8 rtable[DSA_MAX_SWITCHES];
/Linux-v5.4/net/dsa/
Ddsa2.c118 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_find_port_by_node()
162 for (i = 0; i < DSA_MAX_SWITCHES; i++) in dsa_switch_setup_routing_table()
184 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_setup_routing_table()
203 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_find_first_cpu()
233 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_setup_default_cpu()
450 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_setup_switches()
500 for (device = 0; device < DSA_MAX_SWITCHES; device++) { in dsa_tree_teardown_switches()
735 if (ds->index >= DSA_MAX_SWITCHES) in dsa_switch_parse_member_of()
Ddsa_priv.h110 if (device < 0 || device >= DSA_MAX_SWITCHES) in dsa_master_find_slave()
/Linux-v5.4/include/net/
Ddsa.h133 struct dsa_switch *ds[DSA_MAX_SWITCHES];
250 s8 rtable[DSA_MAX_SWITCHES];
/Linux-v5.4/drivers/net/dsa/mv88e6xxx/
Dchip.c1067 if (dev < DSA_MAX_SWITCHES) in mv88e6xxx_port_vlan()
1147 if (target < DSA_MAX_SWITCHES) in mv88e6xxx_devmap_setup()
2056 for (dev = 0; dev < DSA_MAX_SWITCHES; ++dev) { in mv88e6xxx_bridge_map()
/Linux-v5.4/Documentation/networking/dsa/
Ddsa.rst246 (``DSA_MAX_SWITCHES``), and the number of ports per switch to 12 (``DSA_MAX_PORTS``).