Lines Matching refs:chip_port

139 			 ANA_PORT_VCAP_S2_CFG, port->chip_port);  in ocelot_vcap_enable()
176 u8 p = port->chip_port; in ocelot_vlan_mode()
204 ANA_PORT_VLAN_CFG, port->chip_port); in ocelot_vlan_port_apply()
215 ocelot_write_gix(ocelot, val, ANA_PORT_DROP_CFG, port->chip_port); in ocelot_vlan_port_apply()
231 REW_TAG_CFG, port->chip_port); in ocelot_vlan_port_apply()
239 REW_PORT_VLAN_CFG, port->chip_port); in ocelot_vlan_port_apply()
254 ocelot->vlan_mask[vid] |= BIT(port->chip_port); in ocelot_vlan_vid_add()
296 ocelot->vlan_mask[vid] &= ~BIT(port->chip_port); in ocelot_vlan_vid_del()
369 u8 p = port->chip_port; in ocelot_port_adjust_link()
497 ANA_PORT_PORT_CFG_PORTID_VAL(port->chip_port), in ocelot_port_open()
498 ANA_PORT_PORT_CFG, port->chip_port); in ocelot_port_open()
533 QSYS_SWITCH_PORT_MODE, port->chip_port); in ocelot_port_stop()
575 info.port = BIT(port->chip_port); in ocelot_port_xmit()
707 ret = snprintf(buf, len, "p%d", port->chip_port); in ocelot_port_get_phys_port_name()
737 ocelot_write(ocelot, SYS_STAT_CFG_STAT_VIEW(port->chip_port), in ocelot_get_stats64()
790 return ocelot_mact_learn(ocelot, port->chip_port, addr, vid, in ocelot_fdb_add()
881 if (dst != port->chip_port) in ocelot_mact_read()
1160 *data++ = ocelot->stats[port->chip_port * ocelot->num_stats + i]; in ocelot_get_ethtool_stats()
1217 if (!(BIT(ocelot_port->chip_port) & ocelot->bridge_mask)) in ocelot_port_attr_stp_state_set()
1221 ocelot_port->chip_port); in ocelot_port_attr_stp_state_set()
1225 ocelot->bridge_fwd_mask |= BIT(ocelot_port->chip_port); in ocelot_port_attr_stp_state_set()
1233 ocelot->bridge_fwd_mask &= ~BIT(ocelot_port->chip_port); in ocelot_port_attr_stp_state_set()
1238 ocelot_port->chip_port); in ocelot_port_attr_stp_state_set()
1290 port->chip_port); in ocelot_port_attr_mc_set()
1301 ocelot_write_gix(ocelot, val, ANA_PORT_CPU_FWD_CFG, port->chip_port); in ocelot_port_attr_mc_set()
1418 mc->ports |= BIT(port->chip_port); in ocelot_port_obj_add_mdb()
1447 mc->ports &= ~BIT(port->chip_port); in ocelot_port_obj_del_mdb()
1518 ocelot->bridge_mask |= BIT(ocelot_port->chip_port); in ocelot_port_bridge_join()
1528 ocelot->bridge_mask &= ~BIT(ocelot_port->chip_port); in ocelot_port_bridge_leave()
1601 int p = ocelot_port->chip_port; in ocelot_port_lag_join()
1610 bond_mask |= BIT(port->chip_port); in ocelot_port_lag_join()
1642 int p = ocelot_port->chip_port; in ocelot_port_lag_leave()
1648 ocelot->lags[i] &= ~BIT(ocelot_port->chip_port); in ocelot_port_lag_leave()
2020 ocelot_port->chip_port = port; in ocelot_probe_port()