Searched refs:DSA_MAX_PORTS (Results 1 – 11 of 11) 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];
157 u8 member[DSA_MAX_PORTS];158 u8 state[DSA_MAX_PORTS];347 struct mv88e6xxx_port_hwtstamp port_hwtstamp[DSA_MAX_PORTS];350 struct mv88e6xxx_port ports[DSA_MAX_PORTS];
5505 for (port = 0; port < DSA_MAX_PORTS; port++) { in mv88e6xxx_probe()
38 struct dsa_loop_port ports[DSA_MAX_PORTS];
92 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
1362 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_probe()1363 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_probe()
902 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_parse_ports()917 if (!valid_name_found && i == DSA_MAX_PORTS) in dsa_switch_parse_ports()
793 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``
2583 dev->ds->num_ports = min_t(unsigned int, dev->num_ports, DSA_MAX_PORTS); in b53_switch_init()