Searched refs:ethsw_port_priv (Results 1 – 4 of 4) sorted by relevance
146 struct ethsw_port_priv { struct177 struct ethsw_port_priv **ports; argument233 dpaa2_switch_port_is_type_phy(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_is_type_phy()238 static inline bool dpaa2_switch_port_has_mac(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_has_mac()251 typedef int dpaa2_switch_fdb_cb_t(struct ethsw_port_priv *port_priv,273 struct ethsw_port_priv *port_priv);276 struct ethsw_port_priv *port_priv);
28 static u16 dpaa2_switch_port_get_fdb_id(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_get_fdb_id()54 static u16 dpaa2_switch_port_set_fdb(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_set_fdb()57 struct ethsw_port_priv *other_port_priv = NULL; in dpaa2_switch_port_set_fdb()191 static int dpaa2_switch_add_vlan(struct ethsw_port_priv *port_priv, u16 vid) in dpaa2_switch_add_vlan()209 static bool dpaa2_switch_port_is_up(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_is_up()228 static int dpaa2_switch_port_set_pvid(struct ethsw_port_priv *port_priv, u16 pvid) in dpaa2_switch_port_set_pvid()283 static int dpaa2_switch_port_add_vlan(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_add_vlan()350 static int dpaa2_switch_port_set_stp_state(struct ethsw_port_priv *port_priv, u8 state) in dpaa2_switch_port_set_stp_state()381 struct ethsw_port_priv *ppriv_local = NULL; in dpaa2_switch_dellink()403 static int dpaa2_switch_port_fdb_add_uc(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_fdb_add_uc()[all …]
37 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_drvinfo()61 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_get_link_ksettings()103 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_set_link_ksettings()192 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_ethtool_get_stats()
403 struct ethsw_port_priv *port_priv; in dpaa2_switch_block_add_mirror()813 struct ethsw_port_priv *port_priv) in dpaa2_switch_block_offload_mirror()839 struct ethsw_port_priv *port_priv) in dpaa2_switch_block_unoffload_mirror()