Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/net/ethernet/apple/
Dmace.c31 #define N_RX_RING 8 macro
52 struct sk_buff *rx_bufs[N_RX_RING];
77 + (N_RX_RING + NCMDS_TX * N_TX_RING + 3) * sizeof(struct dbdma_cmd))
200 (NCMDS_TX*N_TX_RING + N_RX_RING + 2) * sizeof(struct dbdma_cmd)); in mace_probe()
420 for (i = 0; i < N_RX_RING; ++i) { in mace_clean_rings()
449 memset((char *)mp->rx_cmds, 0, N_RX_RING * sizeof(struct dbdma_cmd)); in mace_open()
451 for (i = 0; i < N_RX_RING - 1; ++i) { in mace_open()
898 if (next >= N_RX_RING) in mace_rxdma_intr()
947 if (++i >= N_RX_RING) in mace_rxdma_intr()
955 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()
395 N_RX_RING * MACE_BUFF_SIZE, in mace_open()
701 head = N_RX_RING - left; in mace_dma_intr()
752 dma_free_coherent(mp->device, N_RX_RING * MACE_BUFF_SIZE, in mac_mace_device_remove()
Dbmac.c44 #define N_RX_RING 64 macro
69 struct sk_buff *rx_bufs[N_RX_RING];
139 + (N_RX_RING + N_TX_RING + 4) * sizeof(struct dbdma_cmd) \
485 for (i=0; i<N_RX_RING; i++) { in bmac_suspend()
610 (N_RX_RING + 1) * sizeof(struct dbdma_cmd)); in bmac_init_rx_ring()
611 for (i = 0; i < N_RX_RING; i++) { in bmac_init_rx_ring()
624 dbdma_setcmd(&bp->rx_cmds[N_RX_RING], in bmac_init_rx_ring()
725 if (++i >= N_RX_RING) i = 0; in bmac_rxdma_intr()
1315 bp->queue = (struct sk_buff_head *)(bp->rx_cmds + N_RX_RING + 1); in bmac_probe()
1411 for (i=0; i<N_RX_RING; i++) { in bmac_close()