Home
last modified time | relevance | path

Searched refs:NEXT_TX (Results 1 – 19 of 19) sorted by relevance

/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_xdp.c65 prod = NEXT_TX(prod); in bnxt_xmit_bd()
89 prod = NEXT_TX(prod); in bnxt_xmit_bd()
155 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp()
163 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp()
H A Dbnxt.c586 prod = NEXT_TX(prod); in bnxt_start_xmit()
590 prod = NEXT_TX(prod); in bnxt_start_xmit()
633 prod = NEXT_TX(prod); in bnxt_start_xmit()
684 prod = NEXT_TX(prod); in bnxt_start_xmit()
712 prod = NEXT_TX(prod); in bnxt_start_xmit()
746 prod = NEXT_TX(prod); in bnxt_start_xmit()
750 prod = NEXT_TX(prod); in bnxt_start_xmit()
806 cons = NEXT_TX(cons); in __bnxt_tx_int()
822 cons = NEXT_TX(cons); in __bnxt_tx_int()
839 cons = NEXT_TX(cons); in __bnxt_tx_int()
H A Dbnxt.h854 #define NEXT_TX(idx) ((idx) + 1) macro
/linux/drivers/net/ethernet/aeroflex/
H A Dgreth.c86 #define NEXT_TX(N) (((N) + 1) & GRETH_TXBD_NUM_MASK) macro
190 greth->tx_last = NEXT_TX(greth->tx_last); in greth_clean_rings()
206 greth->tx_last = NEXT_TX(greth->tx_last); in greth_clean_rings()
440 greth->tx_next = NEXT_TX(greth->tx_next); in greth_start_xmit()
515 curr_tx = NEXT_TX(greth->tx_next); in greth_start_xmit_gbit()
548 curr_tx = NEXT_TX(curr_tx); in greth_start_xmit_gbit()
649 greth->tx_last = NEXT_TX(greth->tx_last); in greth_clean_tx()
708 tx_last = NEXT_TX(tx_last); in greth_clean_tx_gbit()
724 tx_last = NEXT_TX(tx_last); in greth_clean_tx_gbit()
/linux/drivers/net/ethernet/seeq/
H A Dsgiseeq.c49 #define NEXT_TX(i) (((i) + 1) & (SEEQ_TX_BUFFERS - 1)) macro
447 i = NEXT_TX(i); in kick_tx()
479 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { in sgiseeq_tx()
494 sp->tx_old = NEXT_TX(sp->tx_old); in sgiseeq_tx()
643 sp->tx_new = NEXT_TX(sp->tx_new); /* Advance. */ in sgiseeq_start_xmit()
/linux/drivers/net/ethernet/sun/
H A Dsunbmac.h255 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsunqe.h295 #define NEXT_TX(num) (((num) + 1) & (TX_RING_MAXSIZE - 1)) macro
H A Dsunhme.h361 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsungem.h930 #define NEXT_TX(N) (((N) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsunqe.c542 elem = NEXT_TX(elem); in qe_tx_reclaim()
600 qep->tx_new = NEXT_TX(entry); in qe_start_xmit()
H A Dsungem.c655 walk = NEXT_TX(walk); in gem_tx()
675 entry = NEXT_TX(entry); in gem_tx()
1024 entry = NEXT_TX(entry); in gem_start_xmit()
1044 entry = NEXT_TX(entry); in gem_start_xmit()
1067 entry = NEXT_TX(entry); in gem_start_xmit()
H A Dsunhme.c1737 elem = NEXT_TX(elem); in happy_meal_tx()
1959 first_entry = NEXT_TX(first_entry); in unmap_partial_tx_skb()
2012 entry = NEXT_TX(entry); in happy_meal_start_xmit()
2025 entry = NEXT_TX(entry); in happy_meal_start_xmit()
2045 entry = NEXT_TX(entry); in happy_meal_start_xmit()
H A Dsunbmac.c786 elem = NEXT_TX(elem); in bigmac_tx()
973 bp->tx_new = NEXT_TX(entry); in bigmac_start_xmit()
H A Dniu.h2879 #define NEXT_TX(tp, index) \ macro
H A Dniu.c3583 idx = NEXT_TX(rp, idx); in release_tx_packet()
3593 idx = NEXT_TX(rp, idx); in release_tx_packet()
6704 prod = NEXT_TX(rp, prod); in niu_start_xmit()
6722 prod = NEXT_TX(rp, prod); in niu_start_xmit()
/linux/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c93 #define NEXT_TX(N) (((N) + 1) & (DE_TX_RING_SIZE - 1)) macro
595 tx_tail = NEXT_TX(tx_tail); in de_tx()
644 de->tx_head = NEXT_TX(entry); in de_start_xmit()
766 entry = NEXT_TX(entry); in __de_set_rx_mode()
791 de->tx_head = NEXT_TX(entry); in __de_set_rx_mode()
/linux/drivers/net/ethernet/realtek/
H A D8139cp.c113 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1)) macro
699 tx_tail = NEXT_TX(tx_tail); in cp_tx()
824 entry = NEXT_TX(entry); in cp_start_xmit()
867 cp->tx_head = NEXT_TX(entry); in cp_start_xmit()
/linux/drivers/net/ethernet/broadcom/
H A Db44.c79 #define NEXT_TX(N) (((N) + 1) & (B44_TX_RING_SIZE - 1)) macro
600 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()
1010 entry = NEXT_TX(entry); in b44_start_xmit()
H A Dtg3.c164 #define NEXT_TX(N) (((N) + 1) & (TG3_TX_RING_SIZE - 1)) macro
6600 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6604 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6618 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6622 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
7761 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7771 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7780 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7800 entry = NEXT_TX(entry); in tg3_tx_skb_unmap()
7807 entry = NEXT_TX(entry); in tg3_tx_skb_unmap()
[all …]