Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/ti/
Dcpsw_priv.c134 struct cpsw_vector *txv; in cpsw_tx_mq_poll() local
142 txv = &cpsw->txv[ch]; in cpsw_tx_mq_poll()
143 if (unlikely(txv->budget > budget - num_tx)) in cpsw_tx_mq_poll()
146 cur_budget = txv->budget; in cpsw_tx_mq_poll()
148 num_tx += cpdma_chan_process(txv->ch, cur_budget); in cpsw_tx_mq_poll()
166 num_tx = cpdma_chan_process(cpsw->txv[0].ch, budget); in cpsw_tx_poll()
299 cpdma_chan_stop(cpsw->txv[ch].ch); in cpsw_ndo_tx_timeout()
300 cpdma_chan_start(cpsw->txv[ch].ch); in cpsw_ndo_tx_timeout()
332 ch_rate = cpdma_chan_get_rate(cpsw->txv[i].ch); in cpsw_need_resplit()
349 struct cpsw_vector *txv = cpsw->txv; in cpsw_split_res() local
[all …]
Dcpsw_ethtool.c294 cpdma_chan_get_stats(cpsw->txv[ch].ch, &ch_stats); in cpsw_get_ethtool_stats()
547 vec = cpsw->txv; in cpsw_update_channels_res()
Dcpsw.c932 txch = cpsw->txv[q_idx].ch; in cpsw_ndo_start_xmit()
1619 cpsw->txv[0].ch = cpdma_chan_create(cpsw->dma, ch, cpsw_tx_handler, 0); in cpsw_probe()
1620 if (IS_ERR(cpsw->txv[0].ch)) { in cpsw_probe()
1622 ret = PTR_ERR(cpsw->txv[0].ch); in cpsw_probe()
Dcpsw_new.c945 txch = cpsw->txv[q_idx].ch; in cpsw_ndo_start_xmit()
1965 cpsw->txv[0].ch = cpdma_chan_create(cpsw->dma, ch, cpsw_tx_handler, 0); in cpsw_probe()
1966 if (IS_ERR(cpsw->txv[0].ch)) { in cpsw_probe()
1968 ret = PTR_ERR(cpsw->txv[0].ch); in cpsw_probe()
Dcpsw_priv.h345 struct cpsw_vector txv[CPSW_MAX_QUEUES]; member