Searched refs:DSA_MAX_PORTS (Results 1 – 12 of 12) sorted by relevance
9 #define DSA_MAX_PORTS 12 macro22 struct device *netdev[DSA_MAX_PORTS];40 char *port_names[DSA_MAX_PORTS];41 struct device_node *port_dn[DSA_MAX_PORTS];
38 struct dsa_loop_port ports[DSA_MAX_PORTS];
156 u8 member[DSA_MAX_PORTS];157 u8 state[DSA_MAX_PORTS];346 struct mv88e6xxx_port_hwtstamp port_hwtstamp[DSA_MAX_PORTS];349 struct mv88e6xxx_port ports[DSA_MAX_PORTS];
5464 for (port = 0; port < DSA_MAX_PORTS; port++) { in mv88e6xxx_probe()
92 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
1358 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_probe()1359 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_probe()
2606 priv->ds->num_ports = DSA_MAX_PORTS; in mt7530_probe()
882 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_parse_ports()897 if (!valid_name_found && i == DSA_MAX_PORTS) in dsa_switch_parse_ports()
792 struct bcm_sysport_tx_ring *ring_map[DSA_MAX_PORTS * 8];
367 ds->num_ports = DSA_MAX_PORTS; in ksz_switch_alloc()
246 (``DSA_MAX_SWITCHES``), and the number of ports per switch to 12 (``DSA_MAX_PORTS``).583 - making the number of ports fully dynamic and not dependent on ``DSA_MAX_PORTS``
2596 ds->num_ports = DSA_MAX_PORTS; in b53_switch_alloc()