Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/ti/
Dcpsw.c446 struct cpsw_vector txv[CPSW_MAX_QUEUES]; member
854 struct cpsw_vector *txv = cpsw->txv; in cpsw_split_res() local
861 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
897 ch_rate = cpdma_chan_get_rate(txv[i].ch); in cpsw_split_res()
899 txv[i].budget = (ch_rate * CPSW_POLL_WEIGHT) / max_rate; in cpsw_split_res()
900 if (!txv[i].budget) in cpsw_split_res()
901 txv[i].budget++; in cpsw_split_res()
910 cpdma_chan_set_weight(cpsw->txv[i].ch, ch_weight); in cpsw_split_res()
912 txv[i].budget = ch_budget; in cpsw_split_res()
915 cpdma_chan_set_weight(cpsw->txv[i].ch, 0); in cpsw_split_res()
[all …]