Searched refs:num_phys_ports (Results 1 – 10 of 10) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/mscc/ |
| D | ocelot.c | 79 if (mc_ports & BIT(ocelot->num_phys_ports)) in ocelot_mact_learn() 365 unsigned long all_ports = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_vlan_init() 388 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_vlan_init() 853 if (WARN_ON(src_port >= ocelot->num_phys_ports)) in ocelot_xtr_poll_frame() 1227 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_update_stats() 1314 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_get_bond_mask() 1342 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_get_bridge_fwd_mask() 1361 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_get_dsa_8021q_cpu_mask() 1391 for (port = 0; port < ocelot->num_phys_ports; port++) { in ocelot_apply_bridge_fwd_mask() 1403 mask = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_apply_bridge_fwd_mask() [all …]
|
| D | ocelot_mrp.c | 23 for (i = 0; i < ocelot->num_phys_ports; ++i) { in ocelot_mrp_find_partner_port() 200 port + ocelot->num_phys_ports); in ocelot_mrp_add_ring_role() 226 ocelot_mrp_del_vcap(ocelot, port + ocelot->num_phys_ports); in ocelot_mrp_del_ring_role() 228 for (i = 0; i < ocelot->num_phys_ports; ++i) { in ocelot_mrp_del_ring_role()
|
| D | ocelot_vsc7514.c | 905 for (port = 0; port < ocelot->num_phys_ports; port++) in mscc_ocelot_teardown_devlink_ports() 913 for (port = 0; port < ocelot->num_phys_ports; port++) { in mscc_ocelot_release_ports() 934 ocelot->ports = devm_kcalloc(ocelot->dev, ocelot->num_phys_ports, in mscc_ocelot_init_ports() 940 ocelot->num_phys_ports, in mscc_ocelot_init_ports() 958 if (port < 0 || port >= ocelot->num_phys_ports) { in mscc_ocelot_init_ports() 961 ocelot->num_phys_ports); in mscc_ocelot_init_ports() 999 for (port = 0; port < ocelot->num_phys_ports; port++) { in mscc_ocelot_init_ports() 1017 for (port = 0; port < ocelot->num_phys_ports; port++) { in mscc_ocelot_init_ports() 1128 ocelot->num_phys_ports = of_get_child_count(ports); in mscc_ocelot_probe()
|
| D | ocelot_devlink.c | 309 for (port = 0; port <= ocelot->num_phys_ports; port++) { in ocelot_get_buf_rsrv() 333 for (port = 0; port <= ocelot->num_phys_ports; port++) { in ocelot_get_ref_rsrv() 483 for (port = 0; port <= ocelot->num_phys_ports; port++) in ocelot_watermark_init() 751 for (port = 0; port <= ocelot->num_phys_ports; port++) { in ocelot_sb_occ_max_clear() 765 for (port = 0; port <= ocelot->num_phys_ports; port++) { in ocelot_sb_occ_max_clear()
|
| D | ocelot_vcap.c | 1108 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules() 1122 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
|
| D | ocelot_net.c | 589 val = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_rx_mode()
|
| /Linux-v5.15/drivers/net/dsa/ocelot/ |
| D | felix.c | 257 ocelot_write_rix(ocelot, BIT(ocelot->num_phys_ports), ANA_PGID_PGID, in felix_8021q_cpu_port_deinit() 286 for (port = 0; port < ocelot->num_phys_ports; port++) { in felix_setup_mmio_filtering() 301 tagging_rule->id.cookie = ocelot->num_phys_ports; in felix_setup_mmio_filtering() 307 tagging_rule->action.pag_val = ocelot->num_phys_ports; in felix_setup_mmio_filtering() 318 redirect_rule->pag = ocelot->num_phys_ports; in felix_setup_mmio_filtering() 320 redirect_rule->id.cookie = ocelot->num_phys_ports; in felix_setup_mmio_filtering() 371 ocelot->num_phys_ports, in felix_teardown_mmio_filtering() 381 ocelot->num_phys_ports, in felix_teardown_mmio_filtering() 421 cpu_flood = ANA_PGID_PGID_PGID(BIT(ocelot->num_phys_ports)); in felix_setup_tag_8021q() 497 int unused_port = ocelot->num_phys_ports + 2; in felix_npi_port_deinit() [all …]
|
| D | seville_vsc9953.c | 1156 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9953_mdio_bus_free()
|
| D | felix_vsc9959.c | 1128 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9959_mdio_bus_free()
|
| /Linux-v5.15/include/soc/mscc/ |
| D | ocelot.h | 73 (pgid) < (ocelot)->num_phys_ports; \ 77 for ((pgid) = (ocelot)->num_phys_ports + 1; \ 648 u8 num_phys_ports; member
|