Home
last modified time | relevance | path

Searched refs:DSA_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance

/linux-4.4.14/include/net/
Ddsa.h32 #define DSA_MAX_PORTS 12 macro
57 char *port_names[DSA_MAX_PORTS];
58 struct device_node *port_dn[DSA_MAX_PORTS];
166 struct net_device *ports[DSA_MAX_PORTS];
/linux-4.4.14/net/dsa/
Ddsa.c187 for (port = 0; port < DSA_MAX_PORTS; port++) { in dsa_cpu_dsa_setup()
227 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_setup_one()
251 if (!valid_name_found && i == DSA_MAX_PORTS) { in dsa_switch_setup_one()
324 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_setup_one()
432 for (port = 0; port < DSA_MAX_PORTS; port++) { in dsa_switch_destroy()
450 for (port = 0; port < DSA_MAX_PORTS; port++) { in dsa_switch_destroy()
470 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_suspend()
496 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_resume()
667 while (port_index < DSA_MAX_PORTS) { in dsa_of_free_platform_data()
776 if (port_index >= DSA_MAX_PORTS) in dsa_of_probe()
Dslave.c209 DECLARE_BITMAP(members, DSA_MAX_PORTS); in dsa_bridge_check_vlan_range()
210 DECLARE_BITMAP(untagged, DSA_MAX_PORTS); in dsa_bridge_check_vlan_range()
227 member = find_first_bit(members, DSA_MAX_PORTS); in dsa_bridge_check_vlan_range()
228 if (member == DSA_MAX_PORTS) in dsa_bridge_check_vlan_range()
295 DECLARE_BITMAP(members, DSA_MAX_PORTS); in dsa_slave_port_vlan_dump()
296 DECLARE_BITMAP(untagged, DSA_MAX_PORTS); in dsa_slave_port_vlan_dump()
398 for (port = 0; port < DSA_MAX_PORTS; port++) { in dsa_slave_br_port_mask()
Dtag_trailer.c85 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in trailer_rcv()
Dtag_brcm.c130 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in brcm_tag_rcv()
Dtag_dsa.c113 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in dsa_rcv()
Dtag_edsa.c126 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in edsa_rcv()
/linux-4.4.14/drivers/net/dsa/
Dmv88e6xxx.h378 u8 data[DSA_MAX_PORTS];
418 u8 port_state[DSA_MAX_PORTS];
Dbcm_sf2.h133 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
Dbcm_sf2.c995 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_setup()
996 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_setup()
1280 for (port = 0; port < DSA_MAX_PORTS; port++) { in bcm_sf2_sw_suspend()
1304 for (port = 0; port < DSA_MAX_PORTS; port++) { in bcm_sf2_sw_resume()
Dmv88e6xxx.c1880 const u16 pvid = 4000 + ds->index * DSA_MAX_PORTS + port; in mv88e6xxx_port_bridge_join()
1895 const u16 pvid = 4000 + ds->index * DSA_MAX_PORTS + port; in mv88e6xxx_port_bridge_leave()
/linux-4.4.14/Documentation/networking/dsa/
Ddsa.txt255 (DSA_MAX_SWITCHES), and the number of ports per switch to 12 (DSA_MAX_PORTS).
611 - making the number of ports fully dynamic and not dependent on DSA_MAX_PORTS