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];
150 u8 member[DSA_MAX_PORTS];151 u8 state[DSA_MAX_PORTS];314 struct mv88e6xxx_port_hwtstamp port_hwtstamp[DSA_MAX_PORTS];317 struct mv88e6xxx_port ports[DSA_MAX_PORTS];
5055 for (port = 0; port < DSA_MAX_PORTS; port++) { in mv88e6xxx_probe()
57 struct dsa_loop_port ports[DSA_MAX_PORTS];289 ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); in dsa_loop_drv_probe()
88 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
1180 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_probe()1181 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_probe()
1635 priv->ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); in mt7530_probe()
787 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_parse_ports()802 if (!valid_name_found && i == DSA_MAX_PORTS) in dsa_switch_parse_ports()
401 ds = dsa_switch_alloc(base, DSA_MAX_PORTS); in ksz_switch_alloc()
790 struct bcm_sysport_tx_ring *ring_map[DSA_MAX_PORTS * 8];
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``
2344 ds = dsa_switch_alloc(base, DSA_MAX_PORTS); in b53_switch_alloc()