Home
last modified time | relevance | path

Searched refs:rx_new (Results 1 – 16 of 16) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/amd/
Da2065.c111 int rx_new, tx_new; member
157 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
255 if (i == lp->rx_new) in lance_rx()
266 for (rd = &ib->brx_ring[lp->rx_new]; in lance_rx()
268 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx()
297 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
304 (unsigned char *)&ib->rx_buf[lp->rx_new][0], in lance_rx()
315 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
D7990.c147 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
285 if (i == lp->rx_new) in lance_rx()
298 for (rd = &ib->brx_ring[lp->rx_new]; /* For each Rx ring we own... */ in lance_rx()
300 rd = &ib->brx_ring[lp->rx_new]) { in lance_rx()
329 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
336 (unsigned char *)&(ib->rx_buf[lp->rx_new][0]), in lance_rx()
347 lp->rx_new = (lp->rx_new + 1) & lp->rx_ring_mod_mask; in lance_rx()
Dsunlance.c244 int rx_new, tx_new; member
326 lp->rx_new = lp->tx_new = 0; in lance_init_ring_dvma()
382 lp->rx_new = lp->tx_new = 0; in lance_init_ring_pio()
509 int len, entry = lp->rx_new; in lance_rx_dvma()
537 lp->rx_new = RX_NEXT(entry); in lance_rx_dvma()
559 lp->rx_new = entry; in lance_rx_dvma()
681 entry = lp->rx_new; in lance_rx_pio()
707 lp->rx_new = RX_NEXT(entry); in lance_rx_pio()
727 lp->rx_new = entry; in lance_rx_pio()
Ddeclance.c258 int rx_new, tx_new; member
459 lp->rx_new = lp->tx_new = 0; in lance_init_ring()
571 if (i == lp->rx_new) in lance_rx()
584 for (rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type); in lance_rx()
586 rd = lib_ptr(ib, brx_ring[lp->rx_new], lp->type)) { in lance_rx()
587 entry = lp->rx_new; in lance_rx()
617 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
638 lp->rx_new = (entry + 1) & RX_RING_MOD_MASK; in lance_rx()
D7990.h107 int rx_new, tx_new; member
/linux-6.6.21/drivers/net/ethernet/seeq/
Dsgiseeq.c103 unsigned int rx_new, tx_new; member
189 sp->rx_new = sp->tx_new = 0; in seeq_init_ring()
280 gpriv->rx_new, gpriv->rx_old, gpriv->tx_new, gpriv->tx_old); in sgiseeq_dump_rings()
336 hregs->rx_ndptr = VIRT_TO_DMA(sp, sp->rx_desc + sp->rx_new); in rx_maybe_restart()
350 unsigned int orig_end = PREV_RX(sp->rx_new); in sgiseeq_rx()
353 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx()
405 sp->rx_new = NEXT_RX(sp->rx_new); in sgiseeq_rx()
407 rd = &sp->rx_desc[sp->rx_new]; in sgiseeq_rx()
415 dma_sync_desc_cpu(dev, &sp->rx_desc[PREV_RX(sp->rx_new)]); in sgiseeq_rx()
416 sp->rx_desc[PREV_RX(sp->rx_new)].rdma.cntinfo |= HPCDMA_EOR; in sgiseeq_rx()
[all …]
/linux-6.6.21/drivers/net/ethernet/sun/
Dsunbmac.h302 int rx_new, tx_new, rx_old, tx_old; member
Dsunqe.h340 int rx_new, rx_old; /* RX ring extents */ member
Dsunqe.c131 qep->rx_new = qep->rx_old = qep->tx_new = qep->tx_old = 0; in qe_init_rings()
419 int elem = qep->rx_new; in qe_rx()
459 qep->rx_new = elem; in qe_rx()
Dsunhme.h420 int rx_new, tx_new, rx_old, tx_old; member
Dsunbmac.c221 bp->rx_new = bp->rx_old = bp->tx_new = bp->tx_old = 0; in bigmac_init_rings()
803 int elem = bp->rx_new, drops = 0; in bigmac_rx()
883 bp->rx_new = elem; in bigmac_rx()
Dsungem.c428 gp->rx_new = gp->rx_old = 0; in gem_rxmac_reset()
706 cluster_start = curr = (gp->rx_new & ~(4 - 1)); in gem_post_rxds()
754 gp->dev->name, readl(gp->regs + RXDMA_DONE), gp->rx_new); in gem_rx()
756 entry = gp->rx_new; in gem_rx()
866 gp->rx_new = entry; in gem_rx()
1623 gp->rx_new = gp->rx_old = gp->tx_new = gp->tx_old = 0; in gem_init_rings()
Dsungem.h978 int rx_new, rx_old; member
Dcassini.c1403 memset(cp->rx_new, 0, sizeof(*cp->rx_new)*N_RX_COMP_RINGS); in cas_clean_rxcs()
2246 readl(cp->regs + REG_RX_COMP_HEAD), cp->rx_new[ring]); in cas_rx_ringN()
2248 entry = cp->rx_new[ring]; in cas_rx_ringN()
2344 cp->rx_new[ring] = entry; in cas_rx_ringN()
2360 entry = cp->rx_new[ring]; in cas_post_rxcs_ringN()
Dsunhme.c1215 hp->rx_new = hp->rx_old = hp->tx_new = hp->tx_old = 0; in happy_meal_init_rings()
1764 int elem = hp->rx_new, drops = 0; in happy_meal_rx()
1858 hp->rx_new = elem; in happy_meal_rx()
Dcassini.h2749 int rx_cur[N_RX_COMP_RINGS], rx_new[N_RX_COMP_RINGS]; member