/Linux-v5.4/drivers/net/ethernet/aeroflex/ |
D | greth.c | 86 #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/ |
D | sgiseeq.c | 49 #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/ |
D | bnxt_xdp.c | 42 prod = NEXT_TX(prod); in bnxt_xmit_bd() 98 tx_cons = NEXT_TX(tx_cons); in bnxt_tx_int_xdp()
|
D | bnxt.c | 448 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()
|
D | bnxt.h | 638 #define NEXT_TX(idx) (((idx) + 1) & bp->tx_ring_mask) macro
|
/Linux-v5.4/drivers/net/ethernet/sun/ |
D | sunbmac.h | 255 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
|
D | sunqe.h | 295 #define NEXT_TX(num) (((num) + 1) & (TX_RING_MAXSIZE - 1)) macro
|
D | sunhme.h | 361 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
|
D | sungem.h | 930 #define NEXT_TX(N) (((N) + 1) & (TX_RING_SIZE - 1)) macro
|
D | sunqe.c | 542 elem = NEXT_TX(elem); in qe_tx_reclaim() 600 qep->tx_new = NEXT_TX(entry); in qe_start_xmit()
|
D | sungem.c | 667 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()
|
D | sunbmac.c | 786 elem = NEXT_TX(elem); in bigmac_tx() 973 bp->tx_new = NEXT_TX(entry); in bigmac_start_xmit()
|
D | sunhme.c | 1961 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()
|
D | niu.h | 2879 #define NEXT_TX(tp, index) \ macro
|
D | niu.c | 3564 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/ |
D | de2104x.c | 99 #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/ |
D | 8139cp.c | 113 #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/ |
D | b44.c | 80 #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()
|
D | tg3.c | 165 #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 …]
|