Lines Matching refs:N_TX_RING
49 #define N_TX_RING 32 macro
76 struct sk_buff *tx_bufs[N_TX_RING];
143 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
495 for (i = 0; i<N_TX_RING; i++) { in bmac_suspend()
593 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
600 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()
654 if (i >= N_TX_RING) in bmac_transmit_packet()
791 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
1321 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; in bmac_probe()
1426 for (i = 0; i<N_TX_RING; i++) { in bmac_close()
1455 if (i >= N_TX_RING) in bmac_start()
1523 if (++i >= N_TX_RING) i = 0; in bmac_tx_timeout()