Home
last modified time | relevance | path

Searched refs:num_tx_ring (Results 1 – 2 of 2) sorted by relevance

/drivers/net/ethernet/renesas/
Dsh_eth.c1109 for (i = 0; i < mdp->num_tx_ring; i++) { in sh_eth_ring_free()
1127 int tx_ringsize = sizeof(*txdesc) * mdp->num_tx_ring; in sh_eth_ring_format()
1169 for (i = 0; i < mdp->num_tx_ring; i++) { in sh_eth_ring_format()
1210 mdp->tx_skbuff = kmalloc_array(mdp->num_tx_ring, in sh_eth_ring_init()
1229 tx_ringsize = sizeof(struct sh_eth_txdesc) * mdp->num_tx_ring; in sh_eth_ring_init()
1263 ringsize = sizeof(struct sh_eth_txdesc) * mdp->num_tx_ring; in sh_eth_free_dma_buffer()
1368 entry = mdp->dirty_tx % mdp->num_tx_ring; in sh_eth_txfree()
1381 if (entry >= mdp->num_tx_ring - 1) in sh_eth_txfree()
1895 ring->tx_pending = mdp->num_tx_ring; in sh_eth_get_ringparam()
1929 mdp->num_tx_ring = ring->tx_pending; in sh_eth_set_ringparam()
[all …]
Dsh_eth.h490 u32 num_tx_ring; member