Searched refs:DSA_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance
32 #define DSA_MAX_PORTS 12 macro57 char *port_names[DSA_MAX_PORTS];58 struct device_node *port_dn[DSA_MAX_PORTS];166 struct net_device *ports[DSA_MAX_PORTS];
187 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()
209 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()
85 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in trailer_rcv()
130 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in brcm_tag_rcv()
113 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in dsa_rcv()
126 if (source_port >= DSA_MAX_PORTS || ds->ports[source_port] == NULL) in edsa_rcv()
378 u8 data[DSA_MAX_PORTS];418 u8 port_state[DSA_MAX_PORTS];
133 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
995 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()
1880 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()
255 (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