Lines Matching refs:N_TX_RING
45 #define N_TX_RING 32 macro
72 struct sk_buff *tx_bufs[N_TX_RING];
139 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
491 for (i = 0; i<N_TX_RING; i++) { in bmac_suspend()
587 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
594 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()
648 if (i >= N_TX_RING) in bmac_transmit_packet()
785 if (++bp->tx_empty >= N_TX_RING) in bmac_txdma_intr()
1313 bp->rx_cmds = bp->tx_cmds + N_TX_RING + 1; in bmac_probe()
1418 for (i = 0; i<N_TX_RING; i++) { in bmac_close()
1447 if (i >= N_TX_RING) in bmac_start()
1515 if (++i >= N_TX_RING) i = 0; in bmac_tx_timeout()