Home
last modified time | relevance | path

Searched refs:num_phys_ports (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/mscc/
Docelot.c323 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 …]
Docelot_vsc7514.c1043 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()
Docelot_vcap.c1098 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
1112 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
Docelot_net.c436 val = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_rx_mode()
/Linux-v5.10/drivers/net/dsa/ocelot/
Dfelix.c419 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()
Dseville_vsc9953.c1138 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()
Dfelix_vsc9959.c1112 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/
Docelot.h70 (pgid) < (ocelot)->num_phys_ports; \
74 for ((pgid) = (ocelot)->num_phys_ports + 1; \
628 u8 num_phys_ports; member