txv 462 drivers/net/ethernet/ti/cpsw.c txch = cpsw->txv[0].ch; txv 791 drivers/net/ethernet/ti/cpsw.c struct cpsw_vector *txv = cpsw->txv; txv 798 drivers/net/ethernet/ti/cpsw.c ch_rate = cpdma_chan_get_rate(txv[i].ch); txv 834 drivers/net/ethernet/ti/cpsw.c ch_rate = cpdma_chan_get_rate(txv[i].ch); txv 836 drivers/net/ethernet/ti/cpsw.c txv[i].budget = (ch_rate * CPSW_POLL_WEIGHT) / max_rate; txv 837 drivers/net/ethernet/ti/cpsw.c if (!txv[i].budget) txv 838 drivers/net/ethernet/ti/cpsw.c txv[i].budget++; txv 847 drivers/net/ethernet/ti/cpsw.c cpdma_chan_set_weight(cpsw->txv[i].ch, ch_weight); txv 849 drivers/net/ethernet/ti/cpsw.c txv[i].budget = ch_budget; txv 852 drivers/net/ethernet/ti/cpsw.c cpdma_chan_set_weight(cpsw->txv[i].ch, 0); txv 855 drivers/net/ethernet/ti/cpsw.c budget -= txv[i].budget; txv 859 drivers/net/ethernet/ti/cpsw.c txv[bigest_rate_ch].budget += budget; txv 910 drivers/net/ethernet/ti/cpsw.c struct cpsw_vector *txv; txv 918 drivers/net/ethernet/ti/cpsw.c txv = &cpsw->txv[ch]; txv 919 drivers/net/ethernet/ti/cpsw.c if (unlikely(txv->budget > budget - num_tx)) txv 922 drivers/net/ethernet/ti/cpsw.c cur_budget = txv->budget; txv 924 drivers/net/ethernet/ti/cpsw.c num_tx += cpdma_chan_process(txv->ch, cur_budget); txv 942 drivers/net/ethernet/ti/cpsw.c num_tx = cpdma_chan_process(cpsw->txv[0].ch, budget); txv 1145 drivers/net/ethernet/ti/cpsw.c ch_rate = cpdma_chan_get_rate(cpsw->txv[i].ch); txv 1819 drivers/net/ethernet/ti/cpsw.c txch = cpsw->txv[q_idx].ch; txv 2048 drivers/net/ethernet/ti/cpsw.c cpdma_chan_stop(cpsw->txv[ch].ch); txv 2049 drivers/net/ethernet/ti/cpsw.c cpdma_chan_start(cpsw->txv[ch].ch); txv 2250 drivers/net/ethernet/ti/cpsw.c ret = cpdma_chan_set_rate(cpsw->txv[queue].ch, ch_rate); txv 2859 drivers/net/ethernet/ti/cpsw.c cpsw->txv[0].ch = cpdma_chan_create(cpsw->dma, ch, cpsw_tx_handler, 0); txv 2860 drivers/net/ethernet/ti/cpsw.c if (IS_ERR(cpsw->txv[0].ch)) { txv 2862 drivers/net/ethernet/ti/cpsw.c ret = PTR_ERR(cpsw->txv[0].ch); txv 294 drivers/net/ethernet/ti/cpsw_ethtool.c cpdma_chan_get_stats(cpsw->txv[ch].ch, &ch_stats); txv 546 drivers/net/ethernet/ti/cpsw_ethtool.c vec = cpsw->txv; txv 339 drivers/net/ethernet/ti/cpsw_priv.h struct cpsw_vector txv[CPSW_MAX_QUEUES];