Home
last modified time | relevance | path

Searched refs:N_TX_RING (Results 1 – 3 of 3) sorted by relevance

/drivers/net/ethernet/apple/
Dmace.c33 #define N_TX_RING 6 macro
56 struct sk_buff *tx_bufs[N_TX_RING];
78 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd))
196 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe()
199 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
423 if (++i >= N_TX_RING) in mace_clean_rings()
477 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open()
541 if (next >= N_TX_RING) in mace_xmit_start()
575 if (++next >= N_TX_RING) in mace_xmit_start()
770 if (++i >= N_TX_RING) in mace_interrupt()
[all …]
Dmacmace.c40 #define N_TX_RING (1 << N_TX_BUFF_ORDER) macro
155 mp->tx_count = N_TX_RING; in mace_txdma_reset()
385 N_TX_RING * MACE_BUFF_SIZE, in mace_open()
415 dma_free_coherent(mp->device, N_TX_RING * MACE_BUFF_SIZE, in mace_open()
620 mp->tx_count = N_TX_RING; in mace_tx_timeout()
750 dma_free_coherent(mp->device, N_TX_RING * MACE_BUFF_SIZE, in mac_mace_device_remove()
Dbmac.c46 #define N_TX_RING 32 macro
73 struct sk_buff *tx_bufs[N_TX_RING];
140 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
492 for (i = 0; i<N_TX_RING; i++) { in bmac_suspend()
588 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
595 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()
649 if (i >= N_TX_RING) in bmac_transmit_packet()
786 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
1314 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; in bmac_probe()
1419 for (i = 0; i<N_TX_RING; i++) { in bmac_close()
[all …]