Searched refs:DSA_MAX_PORTS (Results 1 – 14 of 14) sorted by relevance
150 u8 member[DSA_MAX_PORTS];151 u8 state[DSA_MAX_PORTS];284 struct mv88e6xxx_port_hwtstamp port_hwtstamp[DSA_MAX_PORTS];287 struct mv88e6xxx_port ports[DSA_MAX_PORTS];
4642 for (port = 0; port < DSA_MAX_PORTS; port++) { in mv88e6xxx_probe()
47 #define DSA_MAX_PORTS 12 macro61 struct device *netdev[DSA_MAX_PORTS];79 char *port_names[DSA_MAX_PORTS];80 struct device_node *port_dn[DSA_MAX_PORTS];
61 struct dsa_loop_port ports[DSA_MAX_PORTS];293 ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); in dsa_loop_drv_probe()
94 struct bcm_sf2_port_status port_sts[DSA_MAX_PORTS];
695 for (port = 0; port < DSA_MAX_PORTS; port++) { in bcm_sf2_sw_suspend()1132 if (priv->hw_params.num_ports > DSA_MAX_PORTS) in bcm_sf2_sw_probe()1133 priv->hw_params.num_ports = DSA_MAX_PORTS; in bcm_sf2_sw_probe()
546 for (i = 0; i < DSA_MAX_PORTS; i++) { in qca8k_setup()918 priv->ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); in qca8k_sw_probe()
1345 priv->ds = dsa_switch_alloc(&mdiodev->dev, DSA_MAX_PORTS); in mt7530_probe()
242 ds = dsa_switch_alloc(parent, DSA_MAX_PORTS); in dsa_switch_setup()389 while (port_index < DSA_MAX_PORTS) { in dsa_of_free_platform_data()503 if (port_index >= DSA_MAX_PORTS) in dsa_of_probe()
706 for (i = 0; i < DSA_MAX_PORTS; i++) { in dsa_switch_parse_ports()721 if (!valid_name_found && i == DSA_MAX_PORTS) in dsa_switch_parse_ports()
797 struct bcm_sysport_tx_ring *ring_map[DSA_MAX_PORTS * 8];
1156 ds = dsa_switch_alloc(base, DSA_MAX_PORTS); in ksz_switch_alloc()
256 (DSA_MAX_SWITCHES), and the number of ports per switch to 12 (DSA_MAX_PORTS).597 - making the number of ports fully dynamic and not dependent on DSA_MAX_PORTS
2077 ds = dsa_switch_alloc(base, DSA_MAX_PORTS); in b53_switch_alloc()