Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/aeroflex/
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()
439 greth->tx_next = NEXT_TX(greth->tx_next); in greth_start_xmit()
514 curr_tx = NEXT_TX(greth->tx_next); in greth_start_xmit_gbit()
547 curr_tx = NEXT_TX(curr_tx); in greth_start_xmit_gbit()
647 greth->tx_last = NEXT_TX(greth->tx_last); in greth_clean_tx()
706 tx_last = NEXT_TX(tx_last); in greth_clean_tx_gbit()
722 tx_last = NEXT_TX(tx_last); in greth_clean_tx_gbit()
/Linux-v5.4/drivers/net/ethernet/seeq/
Dsgiseeq.c49 #define NEXT_TX(i) (((i) + 1) & (SEEQ_TX_BUFFERS - 1)) macro
441 i = NEXT_TX(i); in kick_tx()
472 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) { in sgiseeq_tx()
486 sp->tx_old = NEXT_TX(sp->tx_old); in sgiseeq_tx()
635 sp->tx_new = NEXT_TX(sp->tx_new); /* Advance. */ in sgiseeq_start_xmit()
/Linux-v5.4/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_xdp.c42 prod = NEXT_TX(prod); in bnxt_xmit_bd()
98 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp()
Dbnxt.c448 prod = NEXT_TX(prod); in bnxt_start_xmit()
451 prod = NEXT_TX(prod); in bnxt_start_xmit()
497 prod = NEXT_TX(prod); in bnxt_start_xmit()
541 prod = NEXT_TX(prod); in bnxt_start_xmit()
570 prod = NEXT_TX(prod); in bnxt_start_xmit()
604 prod = NEXT_TX(prod); in bnxt_start_xmit()
608 prod = NEXT_TX(prod); in bnxt_start_xmit()
634 cons = NEXT_TX(cons); in bnxt_tx_int()
648 cons = NEXT_TX(cons); in bnxt_tx_int()
658 cons = NEXT_TX(cons); in bnxt_tx_int()
Dbnxt.h638 #define NEXT_TX(idx) (((idx) + 1) & bp->tx_ring_mask) macro
/Linux-v5.4/drivers/net/ethernet/sun/
Dsunbmac.h255 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
Dsunqe.h295 #define NEXT_TX(num) (((num) + 1) & (TX_RING_MAXSIZE - 1)) macro
Dsunhme.h361 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
Dsungem.h930 #define NEXT_TX(N) (((N) + 1) & (TX_RING_SIZE - 1)) macro
Dsunqe.c542 elem = NEXT_TX(elem); in qe_tx_reclaim()
600 qep->tx_new = NEXT_TX(entry); in qe_start_xmit()
Dsungem.c667 walk = NEXT_TX(walk); in gem_tx()
686 entry = NEXT_TX(entry); in gem_tx()
1045 entry = NEXT_TX(entry); in gem_start_xmit()
1064 entry = NEXT_TX(entry); in gem_start_xmit()
1087 entry = NEXT_TX(entry); in gem_start_xmit()
Dsunbmac.c786 elem = NEXT_TX(elem); in bigmac_tx()
973 bp->tx_new = NEXT_TX(entry); in bigmac_start_xmit()
Dsunhme.c1961 elem = NEXT_TX(elem); in happy_meal_tx()
2274 first_entry = NEXT_TX(first_entry); in unmap_partial_tx_skb()
2328 entry = NEXT_TX(entry); in happy_meal_start_xmit()
2341 entry = NEXT_TX(entry); in happy_meal_start_xmit()
2361 entry = NEXT_TX(entry); in happy_meal_start_xmit()
Dniu.h2879 #define NEXT_TX(tp, index) \ macro
Dniu.c3564 idx = NEXT_TX(rp, idx); in release_tx_packet()
3574 idx = NEXT_TX(rp, idx); in release_tx_packet()
6688 prod = NEXT_TX(rp, prod); in niu_start_xmit()
6706 prod = NEXT_TX(rp, prod); in niu_start_xmit()
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Dde2104x.c99 #define NEXT_TX(N) (((N) + 1) & (DE_TX_RING_SIZE - 1)) macro
594 tx_tail = NEXT_TX(tx_tail); in de_tx()
642 de->tx_head = NEXT_TX(entry); in de_start_xmit()
764 entry = NEXT_TX(entry); in __de_set_rx_mode()
789 de->tx_head = NEXT_TX(entry); in __de_set_rx_mode()
/Linux-v5.4/drivers/net/ethernet/realtek/
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-v5.4/drivers/net/ethernet/broadcom/
Db44.c80 #define NEXT_TX(N) (((N) + 1) & (B44_TX_RING_SIZE - 1)) macro
626 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) { in b44_tx()
1036 entry = NEXT_TX(entry); in b44_start_xmit()
Dtg3.c165 #define NEXT_TX(N) (((N) + 1) & (TG3_TX_RING_SIZE - 1)) macro
6588 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6592 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6606 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
6610 sw_idx = NEXT_TX(sw_idx); in tg3_tx()
7743 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7753 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7762 *entry = NEXT_TX(*entry); in tg3_tx_frag_set()
7784 entry = NEXT_TX(entry); in tg3_tx_skb_unmap()
7791 entry = NEXT_TX(entry); in tg3_tx_skb_unmap()
[all …]