Searched refs:txd_cnt (Results 1 – 7 of 7) sorted by relevance
/drivers/net/ethernet/netronome/nfp/ |
D | nfp_net_debugfs.c | 78 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()
|
D | nfp_net_ethtool.c | 390 ring->tx_pending = nn->dp.txd_cnt; in nfp_net_get_ringparam() 393 static int nfp_net_set_ring_size(struct nfp_net *nn, u32 rxd_cnt, u32 txd_cnt) in nfp_net_set_ring_size() argument 402 dp->txd_cnt = txd_cnt; in nfp_net_set_ring_size() 411 u32 rxd_cnt, txd_cnt; in nfp_net_set_ringparam() local 419 txd_cnt = roundup_pow_of_two(ring->tx_pending); in nfp_net_set_ringparam() 422 txd_cnt < NFP_NET_MIN_TX_DESCS || txd_cnt > NFP_NET_MAX_TX_DESCS) in nfp_net_set_ringparam() 425 if (nn->dp.rxd_cnt == rxd_cnt && nn->dp.txd_cnt == txd_cnt) in nfp_net_set_ringparam() 429 nn->dp.rxd_cnt, rxd_cnt, nn->dp.txd_cnt, txd_cnt); in nfp_net_set_ringparam() 431 return nfp_net_set_ring_size(nn, rxd_cnt, txd_cnt); in nfp_net_set_ringparam()
|
D | nfp_net.h | 530 unsigned int txd_cnt; member
|
D | nfp_net_common.c | 2416 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()
|
/drivers/net/wireless/mediatek/mt76/mt7921/ |
D | mac.h | 305 u8 txd_cnt; member
|
/drivers/net/wireless/mediatek/mt76/mt7615/ |
D | mac.h | 296 u8 txd_cnt; member
|
/drivers/net/wireless/mediatek/mt76/mt7915/ |
D | mac.h | 293 u8 txd_cnt; member
|