Lines Matching defs:port_priv
29 static u16 dpaa2_switch_port_get_fdb_id(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_get_fdb_id()
55 static u16 dpaa2_switch_port_set_fdb(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_set_fdb()
192 static int dpaa2_switch_add_vlan(struct ethsw_port_priv *port_priv, u16 vid) in dpaa2_switch_add_vlan()
210 static bool dpaa2_switch_port_is_up(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_is_up()
229 static int dpaa2_switch_port_set_pvid(struct ethsw_port_priv *port_priv, u16 pvid) in dpaa2_switch_port_set_pvid()
284 static int dpaa2_switch_port_add_vlan(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_add_vlan()
351 static int dpaa2_switch_port_set_stp_state(struct ethsw_port_priv *port_priv, u8 state) in dpaa2_switch_port_set_stp_state()
404 static int dpaa2_switch_port_fdb_add_uc(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_fdb_add_uc()
425 static int dpaa2_switch_port_fdb_del_uc(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_fdb_del_uc()
447 static int dpaa2_switch_port_fdb_add_mc(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_fdb_add_mc()
470 static int dpaa2_switch_port_fdb_del_mc(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_fdb_del_mc()
496 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_get_stats() local
580 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_change_mtu() local
600 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_link_state_update() local
683 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_open() local
716 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_stop() local
744 struct ethsw_port_priv *port_priv = netdev_priv(dev); in dpaa2_switch_port_parent_id() local
755 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_get_phys_name() local
813 struct ethsw_port_priv *port_priv) in dpaa2_switch_port_fdb_valid_entry()
826 static int dpaa2_switch_fdb_iterate(struct ethsw_port_priv *port_priv, in dpaa2_switch_fdb_iterate()
885 static int dpaa2_switch_fdb_entry_dump(struct ethsw_port_priv *port_priv, in dpaa2_switch_fdb_entry_dump()
899 struct ethsw_port_priv *port_priv = netdev_priv(net_dev); in dpaa2_switch_port_fdb_dump() local
914 static int dpaa2_switch_fdb_entry_fast_age(struct ethsw_port_priv *port_priv, in dpaa2_switch_fdb_entry_fast_age()
932 static void dpaa2_switch_port_fast_age(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_fast_age()
966 static int dpaa2_switch_port_set_mac_addr(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_set_mac_addr()
1076 struct ethsw_port_priv *port_priv = netdev_priv(net_dev); in dpaa2_switch_port_tx() local
1182 dpaa2_switch_port_acl_tbl_bind(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_acl_tbl_bind()
1209 dpaa2_switch_port_acl_tbl_unbind(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_acl_tbl_unbind()
1234 static int dpaa2_switch_port_block_bind(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_block_bind()
1267 dpaa2_switch_port_block_unbind(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_block_unbind()
1302 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_setup_tc_block_bind() local
1352 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_setup_tc_block_unbind() local
1430 static int dpaa2_switch_port_connect_mac(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_connect_mac()
1478 static void dpaa2_switch_port_disconnect_mac(struct ethsw_port_priv *port_priv) in dpaa2_switch_port_disconnect_mac()
1495 struct ethsw_port_priv *port_priv; in dpaa2_switch_irq0_handler_thread() local
1606 static int dpaa2_switch_port_set_learning(struct ethsw_port_priv *port_priv, bool enable) in dpaa2_switch_port_set_learning()
1631 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_attr_stp_state_set() local
1654 static int dpaa2_switch_port_flood(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_flood()
1694 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_bridge_flags() local
1750 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_vlans_add() local
1813 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_mdb_add() local
1855 static int dpaa2_switch_port_del_vlan(struct ethsw_port_priv *port_priv, u16 vid) in dpaa2_switch_port_del_vlan()
1921 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_vlans_del() local
1932 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_mdb_del() local
1988 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_bridge_join() local
2069 struct ethsw_port_priv *port_priv = netdev_priv(netdev); in dpaa2_switch_port_bridge_leave() local
2264 struct ethsw_port_priv *port_priv = netdev_priv(dev); in dpaa2_switch_port_event() local
2390 struct ethsw_port_priv *port_priv; in dpaa2_switch_rx() local
2936 struct ethsw_port_priv *port_priv = ethsw->ports[port_idx]; in dpaa2_switch_remove_port() local
3082 static int dpaa2_switch_port_trap_mac_addr(struct ethsw_port_priv *port_priv, in dpaa2_switch_port_trap_mac_addr()
3098 static int dpaa2_switch_port_init(struct ethsw_port_priv *port_priv, u16 port) in dpaa2_switch_port_init()
3208 struct ethsw_port_priv *port_priv; in dpaa2_switch_remove() local
3244 struct ethsw_port_priv *port_priv; in dpaa2_switch_probe_port() local