Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/apple/
Dmace.c32 #define N_TX_RING 6 macro
55 struct sk_buff *tx_bufs[N_TX_RING];
77 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd))
197 mp->rx_cmds = mp->tx_cmds + NCMDS_TX * N_TX_RING + 1; in mace_probe()
200 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
428 if (++i >= N_TX_RING) in mace_clean_rings()
482 cp = mp->tx_cmds + NCMDS_TX * N_TX_RING; in mace_open()
546 if (next >= N_TX_RING) in mace_xmit_start()
580 if (++next >= N_TX_RING) in mace_xmit_start()
775 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()
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()
Dbmac.c45 #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()
584 memset((char *)bp->tx_cmds, 0, (N_TX_RING+1) * sizeof(struct dbdma_cmd)); in bmac_init_tx_ring()
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()
1418 for (i = 0; i<N_TX_RING; i++) { in bmac_close()
[all …]