Searched refs:txv (Results 1 – 1 of 1) sorted by relevance
446 struct cpsw_vector txv[CPSW_MAX_QUEUES]; member854 struct cpsw_vector *txv = cpsw->txv; in cpsw_split_res() local861 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 …]