Lines Matching refs:ethsw_core
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()
230 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_pvid()
286 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_add_vlan()
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()
722 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_stop()
838 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_fdb_iterate()
976 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_mac_addr()
1014 static void dpaa2_switch_free_fd(const struct ethsw_core *ethsw, in dpaa2_switch_free_fd()
1036 static int dpaa2_switch_build_single_fd(struct ethsw_core *ethsw, in dpaa2_switch_build_single_fd()
1085 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_tx()
1193 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_bind()
1220 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_unbind()
1278 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_block_unbind()
1311 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_bind()
1361 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_unbind()
1510 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_irq0_handler_thread()
1555 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_setup_irqs()
1614 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown_irqs()
1627 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_learning()
1676 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_flood()
1770 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_vlans_add()
1878 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_del_vlan()
2008 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_join()
2076 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_leave()
2315 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_event()
2399 static struct sk_buff *dpaa2_switch_build_linear_skb(struct ethsw_core *ethsw, in dpaa2_switch_build_linear_skb()
2437 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_rx()
2499 static void dpaa2_switch_detect_features(struct ethsw_core *ethsw) in dpaa2_switch_detect_features()
2507 static int dpaa2_switch_setup_fqs(struct ethsw_core *ethsw) in dpaa2_switch_setup_fqs()
2535 static void dpaa2_switch_free_bufs(struct ethsw_core *ethsw, u64 *buf_array, int count) in dpaa2_switch_free_bufs()
2552 static int dpaa2_switch_add_bufs(struct ethsw_core *ethsw, u16 bpid) in dpaa2_switch_add_bufs()
2614 static int dpaa2_switch_refill_bp(struct ethsw_core *ethsw) in dpaa2_switch_refill_bp()
2639 static int dpaa2_switch_seed_bp(struct ethsw_core *ethsw) in dpaa2_switch_seed_bp()
2655 static void dpaa2_switch_drain_bp(struct ethsw_core *ethsw) in dpaa2_switch_drain_bp()
2673 static int dpaa2_switch_setup_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpbp()
2743 static void dpaa2_switch_free_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_free_dpbp()
2750 static int dpaa2_switch_alloc_rings(struct ethsw_core *ethsw) in dpaa2_switch_alloc_rings()
2769 static void dpaa2_switch_destroy_rings(struct ethsw_core *ethsw) in dpaa2_switch_destroy_rings()
2798 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_store_consume()
2877 static int dpaa2_switch_setup_dpio(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpio()
2927 static void dpaa2_switch_free_dpio(struct ethsw_core *ethsw) in dpaa2_switch_free_dpio()
2936 static int dpaa2_switch_ctrl_if_setup(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_setup()
2982 static void dpaa2_switch_remove_port(struct ethsw_core *ethsw, in dpaa2_switch_remove_port()
2995 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_init()
3154 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_init()
3229 static void dpaa2_switch_ctrl_if_teardown(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_teardown()
3241 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown()
3256 struct ethsw_core *ethsw; in dpaa2_switch_remove()
3286 static int dpaa2_switch_probe_port(struct ethsw_core *ethsw, in dpaa2_switch_probe_port()
3364 struct ethsw_core *ethsw; in dpaa2_switch_probe()