Searched refs:num_phys_ports (Results 1 – 8 of 8) sorted by relevance
/Linux-v5.10/drivers/net/ethernet/mscc/ |
D | ocelot.c | 323 ocelot->vlan_mask[0] = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init() 329 ocelot_write(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0), in ocelot_vlan_init() 332 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_vlan_init() 791 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_update_stats() 901 for (p = 0; p < ocelot->num_phys_ports; p++) { in ocelot_bridge_stp_state_set() 905 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_bridge_stp_state_set() 1023 port = ocelot->num_phys_ports; in ocelot_port_mdb_add() 1075 port = ocelot->num_phys_ports; in ocelot_port_mdb_del() 1155 ocelot_write_rix(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0), in ocelot_set_aggr_pgids() 1159 for (lag = 0; lag < ocelot->num_phys_ports; lag++) { in ocelot_set_aggr_pgids() [all …]
|
D | ocelot_vsc7514.c | 1043 for (port = 0; port < ocelot->num_phys_ports; port++) { in mscc_ocelot_release_ports() 1068 ocelot->ports = devm_kcalloc(ocelot->dev, ocelot->num_phys_ports, in mscc_ocelot_init_ports() 1256 ocelot->num_phys_ports = of_get_child_count(ports); in mscc_ocelot_probe()
|
D | ocelot_vcap.c | 1098 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules() 1112 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
|
D | ocelot_net.c | 436 val = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_rx_mode()
|
/Linux-v5.10/drivers/net/dsa/ocelot/ |
D | felix.c | 419 static int felix_init_structs(struct felix *felix, int num_phys_ports) in felix_init_structs() argument 426 ocelot->num_phys_ports = num_phys_ports; in felix_init_structs() 427 ocelot->ports = devm_kcalloc(ocelot->dev, num_phys_ports, in felix_init_structs() 442 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs() 482 for (port = 0; port < num_phys_ports; port++) { in felix_init_structs() 608 ANA_PGID_PGID_PGID(GENMASK(ocelot->num_phys_ports, 0)), in felix_setup() 626 for (port = 0; port < ocelot->num_phys_ports; port++) in felix_teardown()
|
D | seville_vsc9953.c | 1138 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9953_mdio_bus_free() 1161 src = ocelot->num_phys_ports; in vsc9953_xmit_template_populate()
|
D | felix_vsc9959.c | 1112 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9959_mdio_bus_free() 1335 src = ocelot->num_phys_ports; in vsc9959_xmit_template_populate()
|
/Linux-v5.10/include/soc/mscc/ |
D | ocelot.h | 70 (pgid) < (ocelot)->num_phys_ports; \ 74 for ((pgid) = (ocelot)->num_phys_ports + 1; \ 628 u8 num_phys_ports; member
|