Home
last modified time | relevance | path

Searched refs:NEXT_RX (Results 1 – 15 of 15) sorted by relevance

/openbmc/linux/drivers/net/ethernet/sun/
H A Dsunbmac.h254 #define NEXT_RX(num) (((num) + 1) & (RX_RING_SIZE - 1)) macro
H A Dsunqe.h294 #define NEXT_RX(num) (((num) + 1) & (RX_RING_MAXSIZE - 1)) macro
H A Dsunhme.h360 #define NEXT_RX(num) (((num) + 1) & (RX_RING_SIZE - 1)) macro
H A Dsungem.h931 #define NEXT_RX(N) (((N) + 1) & (RX_RING_SIZE - 1)) macro
H A Dsungem.c711 curr = NEXT_RX(curr); in gem_post_rxds()
718 cluster_start = NEXT_RX(cluster_start); in gem_post_rxds()
861 entry = NEXT_RX(entry); in gem_rx()
H A Dsunqe.c456 elem = NEXT_RX(elem); in qe_rx()
H A Dsunbmac.c880 elem = NEXT_RX(elem); in bigmac_rx()
H A Dsunhme.c1855 elem = NEXT_RX(elem); in happy_meal_rx()
/openbmc/linux/drivers/net/ethernet/seeq/
H A Dsgiseeq.c48 #define NEXT_RX(i) (((i) + 1) & (SEEQ_RX_BUFFERS - 1)) macro
405 sp->rx_new = NEXT_RX(sp->rx_new); in sgiseeq_rx()
/openbmc/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c88 #define NEXT_RX(N) (((N) + 1) & GRETH_RXBD_NUM_MASK) macro
831 greth->rx_cur = NEXT_RX(greth->rx_cur); in greth_rx()
964 greth->rx_cur = NEXT_RX(greth->rx_cur); in greth_rx_gbit()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c292 NEXT_RX(rxr->rx_prod), &xdp); in bnxt_rx_xdp()
H A Dbnxt.h694 #define NEXT_RX(idx) (((idx) + 1) & bp->rx_ring_mask) macro
H A Dbnxt.c1365 rxr->rx_prod = NEXT_RX(prod); in bnxt_tpa_start()
1366 cons = NEXT_RX(cons); in bnxt_tpa_start()
1367 rxr->rx_next_cons = NEXT_RX(cons); in bnxt_tpa_start()
1371 rxr->rx_prod = NEXT_RX(rxr->rx_prod); in bnxt_tpa_start()
2036 rxr->rx_prod = NEXT_RX(prod); in bnxt_rx_pkt()
2037 rxr->rx_next_cons = NEXT_RX(cons); in bnxt_rx_pkt()
3641 prod = NEXT_RX(prod); in bnxt_alloc_one_rx_ring()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139cp.c114 #define NEXT_RX(N) (((N) + 1) & (CP_RX_RING_SIZE - 1)) macro
549 rx_tail = NEXT_RX(rx_tail); in cp_rx_poll()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c94 #define NEXT_RX(N) (((N) + 1) & (DE_RX_RING_SIZE - 1)) macro
485 rx_tail = NEXT_RX(rx_tail); in de_rx()