Lines Matching defs:ethsw

33 static struct dpaa2_switch_fdb *dpaa2_switch_fdb_get_unused(struct ethsw_core *ethsw)  in dpaa2_switch_fdb_get_unused()
44 dpaa2_switch_filter_block_get_unused(struct ethsw_core *ethsw) in dpaa2_switch_filter_block_get_unused()
124 static void dpaa2_switch_fdb_get_flood_cfg(struct ethsw_core *ethsw, u16 fdb_id, in dpaa2_switch_fdb_get_flood_cfg()
155 static int dpaa2_switch_fdb_set_egress_flood(struct ethsw_core *ethsw, u16 fdb_id) in dpaa2_switch_fdb_set_egress_flood()
193 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_add_vlan() local
230 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_pvid() local
286 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_add_vlan() local
379 static int dpaa2_switch_dellink(struct ethsw_core *ethsw, u16 vid) in dpaa2_switch_dellink()
649 static void dpaa2_switch_enable_ctrl_if_napi(struct ethsw_core *ethsw) in dpaa2_switch_enable_ctrl_if_napi()
667 static void dpaa2_switch_disable_ctrl_if_napi(struct ethsw_core *ethsw) in dpaa2_switch_disable_ctrl_if_napi()
686 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_open() local
722 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_stop() local
839 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_fdb_iterate() local
977 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_mac_addr() local
1015 static void dpaa2_switch_free_fd(const struct ethsw_core *ethsw, in dpaa2_switch_free_fd()
1037 static int dpaa2_switch_build_single_fd(struct ethsw_core *ethsw, in dpaa2_switch_build_single_fd()
1086 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_tx() local
1194 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_bind() local
1221 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_unbind() local
1279 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_block_unbind() local
1312 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_bind() local
1362 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_unbind() local
1511 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_irq0_handler_thread() local
1556 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_setup_irqs() local
1615 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown_irqs() local
1628 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_learning() local
1677 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_flood() local
1771 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_vlans_add() local
1879 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_del_vlan() local
2009 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_join() local
2077 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_leave() local
2316 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_event() local
2400 static struct sk_buff *dpaa2_switch_build_linear_skb(struct ethsw_core *ethsw, in dpaa2_switch_build_linear_skb()
2438 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_rx() local
2500 static void dpaa2_switch_detect_features(struct ethsw_core *ethsw) in dpaa2_switch_detect_features()
2508 static int dpaa2_switch_setup_fqs(struct ethsw_core *ethsw) in dpaa2_switch_setup_fqs()
2536 static void dpaa2_switch_free_bufs(struct ethsw_core *ethsw, u64 *buf_array, int count) in dpaa2_switch_free_bufs()
2553 static int dpaa2_switch_add_bufs(struct ethsw_core *ethsw, u16 bpid) in dpaa2_switch_add_bufs()
2615 static int dpaa2_switch_refill_bp(struct ethsw_core *ethsw) in dpaa2_switch_refill_bp()
2640 static int dpaa2_switch_seed_bp(struct ethsw_core *ethsw) in dpaa2_switch_seed_bp()
2656 static void dpaa2_switch_drain_bp(struct ethsw_core *ethsw) in dpaa2_switch_drain_bp()
2674 static int dpaa2_switch_setup_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpbp()
2744 static void dpaa2_switch_free_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_free_dpbp()
2751 static int dpaa2_switch_alloc_rings(struct ethsw_core *ethsw) in dpaa2_switch_alloc_rings()
2770 static void dpaa2_switch_destroy_rings(struct ethsw_core *ethsw) in dpaa2_switch_destroy_rings()
2799 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_store_consume() local
2878 static int dpaa2_switch_setup_dpio(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpio()
2928 static void dpaa2_switch_free_dpio(struct ethsw_core *ethsw) in dpaa2_switch_free_dpio()
2937 static int dpaa2_switch_ctrl_if_setup(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_setup()
2983 static void dpaa2_switch_remove_port(struct ethsw_core *ethsw, in dpaa2_switch_remove_port()
2996 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_init() local
3155 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_init() local
3230 static void dpaa2_switch_ctrl_if_teardown(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_teardown()
3242 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown() local
3257 struct ethsw_core *ethsw; in dpaa2_switch_remove() local
3287 static int dpaa2_switch_probe_port(struct ethsw_core *ethsw, in dpaa2_switch_probe_port()
3365 struct ethsw_core *ethsw; in dpaa2_switch_probe() local