Lines Matching refs:dpsw_handle

162 	err = dpsw_set_egress_flood(ethsw->mc_io, 0, ethsw->dpsw_handle,  in dpaa2_switch_fdb_set_egress_flood()
171 err = dpsw_set_egress_flood(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_fdb_set_egress_flood()
199 ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_add_vlan()
216 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_is_up()
236 err = dpsw_if_get_tci(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
249 ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
257 err = dpsw_if_set_tci(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
272 ethsw->dpsw_handle, in dpaa2_switch_port_set_pvid()
303 err = dpsw_vlan_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, vid, &vcfg); in dpaa2_switch_port_add_vlan()
313 ethsw->dpsw_handle, in dpaa2_switch_port_add_vlan()
364 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_set_stp_state()
387 err = dpsw_vlan_remove(ethsw->mc_io, 0, ethsw->dpsw_handle, vid); in dpaa2_switch_dellink()
416 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_fdb_add_uc()
437 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_fdb_del_uc()
460 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_fdb_add_mc()
483 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_fdb_del_mc()
500 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
507 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
514 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
521 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
528 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
536 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
545 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_get_stats()
584 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_change_mtu()
619 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_link_state_update()
701 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_open()
737 port_priv->ethsw_data->dpsw_handle, in dpaa2_switch_port_stop()
863 err = dpsw_fdb_dump(ethsw->mc_io, 0, ethsw->dpsw_handle, fdb_id, in dpaa2_switch_fdb_iterate()
986 err = dpsw_if_get_port_mac_addr(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_mac_addr()
1203 err = dpsw_acl_add_if(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_acl_tbl_bind()
1230 err = dpsw_acl_remove_if(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_acl_tbl_unbind()
1516 err = dpsw_get_irq_status(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_irq0_handler_thread()
1542 err = dpsw_clear_irq_status(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_irq0_handler_thread()
1570 err = dpsw_set_irq_enable(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_setup_irqs()
1588 err = dpsw_set_irq_mask(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_setup_irqs()
1595 err = dpsw_set_irq_enable(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_setup_irqs()
1617 err = dpsw_set_irq_enable(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_teardown_irqs()
1636 err = dpsw_if_set_learning_mode(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_set_learning()
1783 err = dpsw_get_attributes(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_vlans_add()
1793 err = dpsw_get_attributes(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_vlans_add()
1900 ethsw->dpsw_handle, in dpaa2_switch_port_del_vlan()
1911 err = dpsw_vlan_remove_if(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_del_vlan()
2514 err = dpsw_ctrl_if_get_attributes(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_setup_fqs()
2723 err = dpsw_ctrl_if_set_pools(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_setup_dpbp()
2908 ethsw->dpsw_handle, in dpaa2_switch_setup_dpio()
2962 err = dpsw_ctrl_if_enable(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_ctrl_if_setup()
3004 err = dpsw_open(ethsw->mc_io, 0, ethsw->dev_id, &ethsw->dpsw_handle); in dpaa2_switch_init()
3010 err = dpsw_get_attributes(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_init()
3042 err = dpsw_reset(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_init()
3052 err = dpsw_if_disable(ethsw->mc_io, 0, ethsw->dpsw_handle, i); in dpaa2_switch_init()
3058 err = dpsw_if_set_stp(ethsw->mc_io, 0, ethsw->dpsw_handle, i, in dpaa2_switch_init()
3071 err = dpsw_vlan_remove_if_untagged(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_init()
3080 err = dpsw_if_set_tci(ethsw->mc_io, 0, ethsw->dpsw_handle, i, &tci_cfg); in dpaa2_switch_init()
3086 err = dpsw_vlan_remove_if(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_init()
3094 err = dpsw_vlan_remove(ethsw->mc_io, 0, ethsw->dpsw_handle, DEFAULT_VLAN_ID); in dpaa2_switch_init()
3108 err = dpsw_fdb_remove(ethsw->mc_io, 0, ethsw->dpsw_handle, 0); in dpaa2_switch_init()
3122 dpsw_close(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_init()
3164 err = dpsw_if_get_attributes(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_init()
3174 err = dpsw_fdb_add(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_init()
3203 err = dpsw_acl_add(ethsw->mc_io, 0, ethsw->dpsw_handle, in dpaa2_switch_port_init()
3231 dpsw_ctrl_if_disable(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_ctrl_if_teardown()
3248 err = dpsw_close(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_teardown()
3265 dpsw_disable(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_remove()
3455 dpsw_disable(ethsw->mc_io, 0, ethsw->dpsw_handle); in dpaa2_switch_probe()