Lines Matching refs:mc_token
57 if (dpni_set_single_step_cfg(priv->mc_io, 0, priv->mc_token, &cfg)) in dpaa2_update_ptp_onestep_indirect()
87 priv->mc_token, &ptp_cfg)) { in dpaa2_ptp_onestep_reg_update_method()
1616 err = dpni_enable_vlan_filter(priv->mc_io, 0, priv->mc_token, enable); in dpaa2_eth_set_rx_vlan_filtering()
1631 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_csum()
1639 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_csum()
1654 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_tx_csum()
1661 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_tx_csum()
2091 err = dpni_set_taildrop(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_taildrop()
2118 err = dpni_set_taildrop(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_taildrop()
2137 err = dpni_get_link_state(priv->mc_io, 0, priv->mc_token, &state); in dpaa2_eth_link_state_update()
2206 err = dpni_enable(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_open()
2271 err = dpni_get_statistics(priv->mc_io, 0, priv->mc_token, 6, in dpaa2_eth_wait_for_egress_fq_empty()
2313 dpni_disable(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_stop()
2314 dpni_is_enabled(priv->mc_io, 0, priv->mc_token, &dpni_enabled); in dpaa2_eth_stop()
2350 err = dpni_set_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_addr()
2391 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_add_uc_hw_addr()
2410 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_add_mc_hw_addr()
2425 err = dpni_add_vlan_id(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_rx_add_vid()
2444 err = dpni_remove_vlan_id(priv->mc_io, 0, priv->mc_token, vid); in dpaa2_eth_rx_kill_vid()
2463 u16 mc_token = priv->mc_token; in dpaa2_eth_set_rx_mode() local
2498 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2503 err = dpni_clear_mac_filters(mc_io, 0, mc_token, 1, 0); in dpaa2_eth_set_rx_mode()
2509 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2518 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2521 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2526 err = dpni_clear_mac_filters(mc_io, 0, mc_token, 1, 1); in dpaa2_eth_set_rx_mode()
2535 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2538 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2545 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2549 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2674 err = dpni_set_max_frame_length(priv->mc_io, 0, priv->mc_token, mfl); in dpaa2_eth_set_rx_mfl()
2708 err = dpni_get_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_rx_buffer_headroom()
2719 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_rx_buffer_headroom()
2993 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()
3505 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
3515 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
3525 err = dpni_get_tx_data_offset(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
3547 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
3612 err = dpni_get_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3621 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3651 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_tx_fqids()
3722 err = dpni_set_qos_table(priv->mc_io, 0, priv->mc_token, &qos_cfg); in dpaa2_eth_set_vlan_qos()
3758 err = dpni_add_qos_entry(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_vlan_qos()
3762 dpni_clear_qos_table(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_set_vlan_qos()
3797 err = dpni_open(priv->mc_io, 0, ls_dev->obj_desc.id, &priv->mc_token); in dpaa2_eth_setup_dpni()
3819 ls_dev->mc_handle = priv->mc_token; in dpaa2_eth_setup_dpni()
3821 err = dpni_reset(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_setup_dpni()
3827 err = dpni_get_attributes(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_dpni()
3862 dpni_close(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_setup_dpni()
3871 err = dpni_reset(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_free_dpni()
3876 dpni_close(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_free_dpni()
3887 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_rx_flow()
3900 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_rx_flow()
3940 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3953 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3967 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3988 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in setup_rx_err_flow()
4001 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in setup_rx_err_flow()
4092 err = dpni_set_rx_tc_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_legacy_hash_key()
4118 err = dpni_set_rx_hash_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_hash_key()
4150 err = dpni_set_rx_fs_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_cls_key()
4370 err = dpni_set_pools(priv->mc_io, 0, priv->mc_token, &pools_params); in dpaa2_eth_bind_dpni()
4394 err = dpni_set_errors_behavior(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_bind_dpni()
4421 err = dpni_get_qdid(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_bind_dpni()
4475 err = dpni_get_port_mac_addr(priv->mc_io, 0, priv->mc_token, mac_addr); in dpaa2_eth_set_mac_addr()
4482 err = dpni_get_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_mac_addr()
4494 priv->mc_token, in dpaa2_eth_set_mac_addr()
4509 err = dpni_set_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_mac_addr()
4551 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, bcast_addr); in dpaa2_eth_netdev_init()
4559 err = dpni_set_max_frame_length(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_netdev_init()