Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/apple/
Dmace.c32 #define N_RX_RING 8 macro
53 struct sk_buff *rx_bufs[N_RX_RING];
78 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd))
199 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
415 for (i = 0; i < N_RX_RING; ++i) { in mace_clean_rings()
444 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); in mace_open()
446 for (i = 0; i < N_RX_RING - 1; ++i) { in mace_open()
893 if (next >= N_RX_RING) in mace_rxdma_intr()
942 if (++i >= N_RX_RING) in mace_rxdma_intr()
950 if (next >= N_RX_RING) in mace_rxdma_intr()
Dmacmace.c42 #define N_RX_RING (1 << N_RX_BUFF_ORDER) macro
107 psc_write_long(PSC_ENETRD_LEN + set, N_RX_RING); in mace_load_rxdma_base()
391 N_RX_RING * MACE_BUFF_SIZE, in mace_open()
697 head = N_RX_RING - left; in mace_dma_intr()
748 dma_free_coherent(mp->device, N_RX_RING * MACE_BUFF_SIZE, in mac_mace_device_remove()
Dbmac.c45 #define N_RX_RING 64 macro
70 struct sk_buff *rx_bufs[N_RX_RING];
140 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
486 for (i=0; i<N_RX_RING; i++) { in bmac_suspend()
614 (N_RX_RING + 1) * sizeof(struct dbdma_cmd)); in bmac_init_rx_ring()
615 for (i = 0; i < N_RX_RING; i++) { in bmac_init_rx_ring()
628 dbdma_setcmd(&bp->rx_cmds[N_RX_RING], in bmac_init_rx_ring()
729 if (++i >= N_RX_RING) i = 0; in bmac_rxdma_intr()
1316 bp->queue = (struct sk_buff_head *)(bp->rx_cmds + N_RX_RING + 1); in bmac_probe()
1412 for (i=0; i<N_RX_RING; i++) { in bmac_close()