Searched refs:N_TX_RING (Results 1 – 3 of 3) sorted by relevance
32 #define N_TX_RING 6 macro55 struct sk_buff *tx_bufs[N_TX_RING];426 if (++i >= N_TX_RING) in mace_clean_rings()480 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open()544 if (next >= N_TX_RING) in mace_xmit_start()578 if (++next >= N_TX_RING) in mace_xmit_start()773 if (++i >= N_TX_RING) in mace_interrupt()787 if (i >= N_TX_RING) in mace_interrupt()788 i -= N_TX_RING; in mace_interrupt()796 if (++i >= N_TX_RING) in mace_interrupt()[all …]
40 #define N_TX_RING (1 << N_TX_BUFF_ORDER) macro155 mp->tx_count = N_TX_RING; in mace_txdma_reset()389 N_TX_RING * MACE_BUFF_SIZE, in mace_open()419 dma_free_coherent(mp->device, N_TX_RING * MACE_BUFF_SIZE, in mace_open()624 mp->tx_count = N_TX_RING; in mace_tx_timeout()754 dma_free_coherent(mp->device, N_TX_RING * MACE_BUFF_SIZE, in mac_mace_device_remove()
45 #define N_TX_RING 32 macro72 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()591 dbdma_setcmd(&bp->tx_cmds[N_TX_RING], in bmac_init_tx_ring()645 if (i >= N_TX_RING) in bmac_transmit_packet()782 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()1417 for (i = 0; i<N_TX_RING; i++) { in bmac_close()1446 if (i >= N_TX_RING) in bmac_start()[all …]