Home
last modified time | relevance | path

Searched refs:PREV_RX (Results 1 – 4 of 4) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/seeq/
Dsgiseeq.c50 #define PREV_RX(i) (((i) - 1) & (SEEQ_RX_BUFFERS - 1)) macro
350 unsigned int orig_end = PREV_RX(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()
417 dma_sync_desc_dev(dev, &sp->rx_desc[PREV_RX(sp->rx_new)]); in sgiseeq_rx()
/linux-5.19.10/drivers/net/ethernet/sun/
Dsunbmac.h256 #define PREV_RX(num) (((num) - 1) & (RX_RING_SIZE - 1)) macro
Dsunqe.h296 #define PREV_RX(num) (((num) - 1) & (RX_RING_MAXSIZE - 1)) macro
Dsunhme.h362 #define PREV_RX(num) (((num) - 1) & (RX_RING_SIZE - 1)) macro