Searched refs:num_phys_ports (Results 1 – 10 of 10) sorted by relevance
83 if (mc_ports & BIT(ocelot->num_phys_ports)) in ocelot_mact_learn()990 if (WARN_ON(src_port >= ocelot->num_phys_ports)) in ocelot_xtr_poll_frame()1389 unsigned long l2_cookie = ocelot->num_phys_ports + 1; in ocelot_l2_ptp_trap_add()1397 unsigned long l2_cookie = ocelot->num_phys_ports + 1; in ocelot_l2_ptp_trap_del()1607 for (i = 0; i < ocelot->num_phys_ports; i++) { in ocelot_update_stats()1786 mask = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_apply_bridge_fwd_mask()1960 port = ocelot->num_phys_ports; in ocelot_port_mdb_add()2016 port = ocelot->num_phys_ports; in ocelot_port_mdb_del()2106 for (lag = 0; lag < ocelot->num_phys_ports; lag++) { in ocelot_set_aggr_pgids()2434 int cpu = ocelot->num_phys_ports; in ocelot_cpu_port_init()[all …]
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()
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()
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()
1108 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()1122 ocelot->num_phys_ports) in ocelot_exclusive_mac_etype_filter_rules()
589 val = GENMASK(ocelot->num_phys_ports - 1, 0); in ocelot_set_rx_mode()
286 for (port = 0; port < ocelot->num_phys_ports; port++) { in felix_setup_mmio_filtering()304 tagging_rule->id.cookie = ocelot->num_phys_ports; in felix_setup_mmio_filtering()310 tagging_rule->action.pag_val = ocelot->num_phys_ports; in felix_setup_mmio_filtering()321 redirect_rule->pag = ocelot->num_phys_ports; in felix_setup_mmio_filtering()323 redirect_rule->id.cookie = ocelot->num_phys_ports; in felix_setup_mmio_filtering()374 ocelot->num_phys_ports, in felix_teardown_mmio_filtering()384 ocelot->num_phys_ports, in felix_teardown_mmio_filtering()500 int unused_port = ocelot->num_phys_ports + 2; in felix_npi_port_deinit()984 ocelot->num_phys_ports = num_phys_ports; in felix_init_structs()1040 for (port = 0; port < num_phys_ports; port++) { in felix_init_structs()[all …]
1154 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9953_mdio_bus_free()
1126 for (port = 0; port < ocelot->num_phys_ports; port++) { in vsc9959_mdio_bus_free()
73 (pgid) < (ocelot)->num_phys_ports; \77 for ((pgid) = (ocelot)->num_phys_ports + 1; \658 u8 num_phys_ports; member
Completed in 34 milliseconds