Home
last modified time | relevance | path

Searched refs:txv (Results 1 – 3 of 3) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/ti/
Dcpsw.c462 txch = cpsw->txv[0].ch; in cpsw_xdp_tx_frame()
791 struct cpsw_vector *txv = cpsw->txv; in cpsw_split_res() local
798 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
834 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
836 txv[i].budget = (ch_rate * CPSW_POLL_WEIGHT) / max_rate; in cpsw_split_res()
837 if (!txv[i].budget) in cpsw_split_res()
838 txv[i].budget++; in cpsw_split_res()
847 cpdma_chan_set_weight(cpsw->txv[i].ch, ch_weight); in cpsw_split_res()
849 txv[i].budget = ch_budget; in cpsw_split_res()
852 cpdma_chan_set_weight(cpsw->txv[i].ch, 0); in cpsw_split_res()
[all …]
Dcpsw_ethtool.c294 cpdma_chan_get_stats(cpsw->txv[ch].ch, &ch_stats); in cpsw_get_ethtool_stats()
546 vec = cpsw->txv; in cpsw_update_channels_res()
Dcpsw_priv.h339 struct cpsw_vector txv[CPSW_MAX_QUEUES]; member