Home
last modified time | relevance | path

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

/drivers/net/ethernet/mscc/
Docelot.c77 if (mc_ports & BIT(ocelot->num_phys_ports)) in ocelot_mact_learn()
336 ocelot->vlan_mask[0] = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init()
342 ocelot_write(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0), in ocelot_vlan_init()
345 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_vlan_init()
856 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_update_stats()
973 for (p = 0; p < ocelot->num_phys_ports; p++) { in ocelot_bridge_stp_state_set()
977 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_bridge_stp_state_set()
1095 port = ocelot->num_phys_ports; in ocelot_port_mdb_add()
1147 port = ocelot->num_phys_ports; in ocelot_port_mdb_del()
1227 ocelot_write_rix(ocelot, GENMASK(ocelot->num_phys_ports - 1, 0), 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.c1097 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
1111 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()
/drivers/net/dsa/ocelot/
Dfelix.c434 static int felix_init_structs(struct felix *felix, int num_phys_ports) in felix_init_structs() argument
441 ocelot->num_phys_ports = num_phys_ports; in felix_init_structs()
442 ocelot->ports = devm_kcalloc(ocelot->dev, num_phys_ports, in felix_init_structs()
457 port_phy_modes = kcalloc(num_phys_ports, sizeof(phy_interface_t), in felix_init_structs()
497 for (port = 0; port < num_phys_ports; port++) { in felix_init_structs()
623 ANA_PGID_PGID_PGID(GENMASK(ocelot->num_phys_ports, 0)), in felix_setup()
641 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.c1114 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9959_mdio_bus_free()
1338 src = ocelot->num_phys_ports; in vsc9959_xmit_template_populate()