Lines Matching refs:emac_port
51 ret = cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_stp_state_set()
71 unreg_mcast_add, priv->emac_port); in cpsw_port_attr_br_flags_set()
73 cpsw_ale_set_unreg_mcast(cpsw->ale, BIT(priv->emac_port), in cpsw_port_attr_br_flags_set()
96 dev_dbg(priv->dev, "attr: id %u port: %u\n", attr->id, priv->emac_port); in cpsw_port_attr_set()
125 if (priv->emac_port) { in cpsw_get_pvid()
130 pvid = slave_read(cpsw->slaves + (priv->emac_port - 1), reg); in cpsw_get_pvid()
151 if (priv->emac_port) { in cpsw_set_pvid()
157 slave_write(cpsw->slaves + (priv->emac_port - 1), pvid, reg); in cpsw_set_pvid()
182 port_mask = BIT(priv->emac_port); in cpsw_port_vlan_add()
223 port_mask = BIT(priv->emac_port); in cpsw_port_vlan_del()
276 port_mask = BIT(priv->emac_port); in cpsw_port_mdb_add()
299 del_mask = BIT(priv->emac_port); in cpsw_port_mdb_del()
319 obj->id, priv->emac_port); in cpsw_port_obj_add()
346 obj->id, priv->emac_port); in cpsw_port_obj_del()
383 int port = priv->emac_port; in cpsw_switchdev_event_work()