Lines Matching refs:mc_token
720 if (dpni_set_single_step_cfg(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_enable_tx_tstamp()
1269 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_csum()
1277 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_csum()
1292 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_tx_csum()
1299 err = dpni_set_offload(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_tx_csum()
1631 err = dpni_set_taildrop(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_taildrop()
1658 err = dpni_set_taildrop(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_rx_taildrop()
1677 err = dpni_get_link_state(priv->mc_io, 0, priv->mc_token, &state); in dpaa2_eth_link_state_update()
1749 err = dpni_enable(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_open()
1811 err = dpni_get_statistics(priv->mc_io, 0, priv->mc_token, 6, in dpaa2_eth_wait_for_egress_fq_empty()
1849 dpni_disable(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_stop()
1850 dpni_is_enabled(priv->mc_io, 0, priv->mc_token, &dpni_enabled); in dpaa2_eth_stop()
1886 err = dpni_set_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_addr()
1927 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_add_uc_hw_addr()
1946 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_add_mc_hw_addr()
1962 u16 mc_token = priv->mc_token; in dpaa2_eth_set_rx_mode() local
1997 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2002 err = dpni_clear_mac_filters(mc_io, 0, mc_token, 1, 0); in dpaa2_eth_set_rx_mode()
2008 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2017 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2020 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2025 err = dpni_clear_mac_filters(mc_io, 0, mc_token, 1, 1); in dpaa2_eth_set_rx_mode()
2034 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2037 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 0); in dpaa2_eth_set_rx_mode()
2044 err = dpni_set_unicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2048 err = dpni_set_multicast_promisc(mc_io, 0, mc_token, 1); in dpaa2_eth_set_rx_mode()
2155 err = dpni_set_max_frame_length(priv->mc_io, 0, priv->mc_token, mfl); in dpaa2_eth_set_rx_mfl()
2189 err = dpni_get_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_rx_buffer_headroom()
2200 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_rx_buffer_headroom()
2474 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()
2927 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
2937 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
2947 err = dpni_get_tx_data_offset(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
2969 err = dpni_set_buffer_layout(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_buffer_layout()
3034 err = dpni_get_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3043 err = dpni_set_link_cfg(priv->mc_io, 0, priv->mc_token, &link_cfg); in dpaa2_eth_set_pause()
3073 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_update_tx_fqids()
3144 err = dpni_set_qos_table(priv->mc_io, 0, priv->mc_token, &qos_cfg); in dpaa2_eth_set_vlan_qos()
3180 err = dpni_add_qos_entry(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_vlan_qos()
3184 dpni_clear_qos_table(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_set_vlan_qos()
3219 err = dpni_open(priv->mc_io, 0, ls_dev->obj_desc.id, &priv->mc_token); in dpaa2_eth_setup_dpni()
3241 ls_dev->mc_handle = priv->mc_token; in dpaa2_eth_setup_dpni()
3243 err = dpni_reset(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_setup_dpni()
3249 err = dpni_get_attributes(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_dpni()
3284 dpni_close(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_setup_dpni()
3293 err = dpni_reset(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_free_dpni()
3298 dpni_close(priv->mc_io, 0, priv->mc_token); in dpaa2_eth_free_dpni()
3309 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_rx_flow()
3322 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_rx_flow()
3362 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3375 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3389 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_setup_tx_flow()
3410 err = dpni_get_queue(priv->mc_io, 0, priv->mc_token, in setup_rx_err_flow()
3423 err = dpni_set_queue(priv->mc_io, 0, priv->mc_token, in setup_rx_err_flow()
3514 err = dpni_set_rx_tc_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_legacy_hash_key()
3540 err = dpni_set_rx_hash_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_hash_key()
3572 err = dpni_set_rx_fs_dist(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_config_cls_key()
3791 err = dpni_set_pools(priv->mc_io, 0, priv->mc_token, &pools_params); in dpaa2_eth_bind_dpni()
3815 err = dpni_set_errors_behavior(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_bind_dpni()
3842 err = dpni_get_qdid(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_bind_dpni()
3896 err = dpni_get_port_mac_addr(priv->mc_io, 0, priv->mc_token, mac_addr); in dpaa2_eth_set_mac_addr()
3903 err = dpni_get_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_mac_addr()
3915 priv->mc_token, in dpaa2_eth_set_mac_addr()
3930 err = dpni_set_primary_mac_addr(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_set_mac_addr()
3972 err = dpni_add_mac_addr(priv->mc_io, 0, priv->mc_token, bcast_addr); in dpaa2_eth_netdev_init()
3980 err = dpni_set_max_frame_length(priv->mc_io, 0, priv->mc_token, in dpaa2_eth_netdev_init()