Searched refs:PREV_RX (Results 1 – 4 of 4) sorted by relevance
50 #define PREV_RX(i) (((i) - 1) & (SEEQ_RX_BUFFERS - 1)) macro350 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()
256 #define PREV_RX(num) (((num) - 1) & (RX_RING_SIZE - 1)) macro
296 #define PREV_RX(num) (((num) - 1) & (RX_RING_MAXSIZE - 1)) macro
362 #define PREV_RX(num) (((num) - 1) & (RX_RING_SIZE - 1)) macro