Home
last modified time | relevance | path

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

/linux/drivers/net/ethernet/netronome/nfp/
A Dnfp_net_debugfs.c78 int d_rd_p, d_wr_p, txd_cnt; in nfp_tx_q_show() local
94 txd_cnt = tx_ring->cnt; in nfp_tx_q_show()
105 for (i = 0; i < txd_cnt; i++) { in nfp_tx_q_show()
126 if (i == tx_ring->rd_p % txd_cnt) in nfp_tx_q_show()
128 if (i == tx_ring->wr_p % txd_cnt) in nfp_tx_q_show()
130 if (i == d_rd_p % txd_cnt) in nfp_tx_q_show()
132 if (i == d_wr_p % txd_cnt) in nfp_tx_q_show()
A Dnfp_net_ethtool.c391 ring->tx_pending = nn->dp.txd_cnt; in nfp_net_get_ringparam()
394 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() argument
403 dp->txd_cnt = txd_cnt; in nfp_net_set_ring_size()
412 u32 rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local
420 txd_cnt = roundup_pow_of_two(ring->tx_pending); in nfp_net_set_ringparam()
423 txd_cnt < NFP_NET_MIN_TX_DESCS || txd_cnt > NFP_NET_MAX_TX_DESCS) in nfp_net_set_ringparam()
426 if (nn->dp.rxd_cnt == rxd_cnt && nn->dp.txd_cnt == txd_cnt) in nfp_net_set_ringparam()
430 nn->dp.rxd_cnt, rxd_cnt, nn->dp.txd_cnt, txd_cnt); in nfp_net_set_ringparam()
432 return nfp_net_set_ring_size(nn, rxd_cnt, txd_cnt); in nfp_net_set_ringparam()
A Dnfp_net.h530 unsigned int txd_cnt; member
A Dnfp_net_common.c2416 tx_ring->cnt = dp->txd_cnt; in nfp_net_tx_ring_alloc()
3897 nn->dp.txd_cnt = NFP_NET_TX_DESCS_DEFAULT; in nfp_net_alloc()
/linux/drivers/net/wireless/mediatek/mt76/mt7921/
A Dmac.h309 u8 txd_cnt; member
/linux/drivers/net/wireless/mediatek/mt76/mt7915/
A Dmac.h301 u8 txd_cnt; member
/linux/drivers/net/wireless/mediatek/mt76/mt7615/
A Dmac.h296 u8 txd_cnt; member

Completed in 30 milliseconds