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
838 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_fdb_iterate() local
976 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_mac_addr() local
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() local
1193 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_bind() local
1220 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_acl_tbl_unbind() local
1278 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_block_unbind() local
1311 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_bind() local
1361 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_setup_tc_block_unbind() local
1510 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_irq0_handler_thread() local
1555 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_setup_irqs() local
1614 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown_irqs() local
1627 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_set_learning() local
1676 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_flood() local
1770 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_vlans_add() local
1878 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_del_vlan() local
2008 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_join() local
2076 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_bridge_leave() local
2315 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_event() local
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() local
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()
2654 static void dpaa2_switch_drain_bp(struct ethsw_core *ethsw) in dpaa2_switch_drain_bp()
2672 static int dpaa2_switch_setup_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpbp()
2742 static void dpaa2_switch_free_dpbp(struct ethsw_core *ethsw) in dpaa2_switch_free_dpbp()
2749 static int dpaa2_switch_alloc_rings(struct ethsw_core *ethsw) in dpaa2_switch_alloc_rings()
2768 static void dpaa2_switch_destroy_rings(struct ethsw_core *ethsw) in dpaa2_switch_destroy_rings()
2797 struct ethsw_core *ethsw = fq->ethsw; in dpaa2_switch_store_consume() local
2876 static int dpaa2_switch_setup_dpio(struct ethsw_core *ethsw) in dpaa2_switch_setup_dpio()
2926 static void dpaa2_switch_free_dpio(struct ethsw_core *ethsw) in dpaa2_switch_free_dpio()
2935 static int dpaa2_switch_ctrl_if_setup(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_setup()
2981 static void dpaa2_switch_remove_port(struct ethsw_core *ethsw, in dpaa2_switch_remove_port()
2994 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_init() local
3153 struct ethsw_core *ethsw = port_priv->ethsw_data; in dpaa2_switch_port_init() local
3228 static void dpaa2_switch_ctrl_if_teardown(struct ethsw_core *ethsw) in dpaa2_switch_ctrl_if_teardown()
3240 struct ethsw_core *ethsw = dev_get_drvdata(dev); in dpaa2_switch_teardown() local
3255 struct ethsw_core *ethsw; in dpaa2_switch_remove() local
3285 static int dpaa2_switch_probe_port(struct ethsw_core *ethsw, in dpaa2_switch_probe_port()
3363 struct ethsw_core *ethsw; in dpaa2_switch_probe() local