Searched refs:emac_port (Results 1 – 4 of 4) sorted by relevance
/Linux-v6.6/drivers/net/ethernet/ti/ |
D | cpsw_switchdev.c | 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() [all …]
|
D | cpsw_new.c | 68 if (priv->emac_port == HOST_PORT_NUM) in cpsw_slave_index_priv() 71 return priv->emac_port - 1; in cpsw_slave_index_priv() 259 cpsw_ale_set_allmulti(cpsw->ale, IFF_ALLMULTI, priv->emac_port); in cpsw_ndo_set_rx_mode() 268 ndev->flags & IFF_ALLMULTI, priv->emac_port); in cpsw_ndo_set_rx_mode() 350 ret = cpsw_run_xdp(priv, ch, &xdp, page, priv->emac_port, &len); in cpsw_rx_handler() 408 port_mask = (1 << priv->emac_port) | ALE_PORT_HOST; in cpsw_add_vlan_ale_entry() 496 cpsw_mqprio_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore() 499 cpsw_cbs_resume(&cpsw->slaves[priv->emac_port - 1], priv); in cpsw_restore() 590 u32 port_mask = 1 << priv->emac_port | ALE_PORT_HOST; in cpsw_port_add_dual_emac_def_ale_entries() 606 cpsw_ale_control_set(cpsw->ale, priv->emac_port, in cpsw_port_add_dual_emac_def_ale_entries() [all …]
|
D | cpsw.c | 72 (func)((cpsw)->slaves + priv->emac_port, ##arg);\ 83 return cpsw->data.dual_emac ? priv->emac_port : cpsw->data.active_slave; in cpsw_slave_index_priv() 187 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_set_mc() 315 slave_port = priv->emac_port + 1; in cpsw_ndo_set_rx_mode() 405 port = priv->emac_port + cpsw->data.dual_emac; in cpsw_rx_handler() 926 priv->emac_port + cpsw->data.dual_emac); in cpsw_ndo_start_xmit() 976 vid = cpsw->slaves[priv->emac_port].port_vlan; in cpsw_ndo_set_mac_address() 1004 port_mask = (1 << (priv->emac_port + 1)) | ALE_PORT_HOST; in cpsw_add_vlan_ale_entry() 1130 port = priv->emac_port + cpsw->data.dual_emac; in cpsw_ndo_xdp_xmit() 1458 priv_sl2->emac_port = 1; in cpsw_probe_dual_emac() [all …]
|
D | cpsw_priv.h | 388 u32 emac_port; member
|