Searched refs:tx_cr_shaper (Results 1 – 3 of 3) sorted by relevance
2085 const struct dpni_tx_shaping_cfg *tx_cr_shaper, in dpni_set_tx_shaping() argument2097 cmd_params->tx_cr_max_burst_size = cpu_to_le16(tx_cr_shaper->max_burst_size); in dpni_set_tx_shaping()2099 cmd_params->tx_cr_rate_limit = cpu_to_le32(tx_cr_shaper->rate_limit); in dpni_set_tx_shaping()
1070 const struct dpni_tx_shaping_cfg *tx_cr_shaper,
2968 struct dpni_tx_shaping_cfg tx_cr_shaper = { 0 }; in dpaa2_eth_setup_tbf() local2986 tx_cr_shaper.max_burst_size = cfg->max_size; in dpaa2_eth_setup_tbf()2990 tx_cr_shaper.rate_limit = bps_to_mbits(cfg->rate.rate_bytes_ps); in dpaa2_eth_setup_tbf()2993 err = dpni_set_tx_shaping(priv->mc_io, 0, priv->mc_token, &tx_cr_shaper, in dpaa2_eth_setup_tbf()