Searched refs:NEXT_TX (Results 1 - 17 of 17) sorted by relevance

/drivers/net/ethernet/aeroflex/
H A Dgreth.c90 #define NEXT_TX(N) (((N) + 1) & GRETH_TXBD_NUM_MASK) macro
188 greth->tx_last = NEXT_TX(greth->tx_last);
204 greth->tx_last = NEXT_TX(greth->tx_last);
437 greth->tx_next = NEXT_TX(greth->tx_next);
509 curr_tx = NEXT_TX(greth->tx_next);
542 curr_tx = NEXT_TX(curr_tx);
645 greth->tx_last = NEXT_TX(greth->tx_last);
703 greth->tx_last = NEXT_TX(greth->tx_last);
719 greth->tx_last = NEXT_TX(greth->tx_last);
/drivers/net/ethernet/seeq/
H A Dsgiseeq.c49 #define NEXT_TX(i) (((i) + 1) & (SEEQ_TX_BUFFERS - 1)) macro
443 i = NEXT_TX(i);
474 for (j = sp->tx_old; j != sp->tx_new; j = NEXT_TX(j)) {
488 sp->tx_old = NEXT_TX(sp->tx_old);
636 sp->tx_new = NEXT_TX(sp->tx_new); /* Advance. */
/drivers/net/ethernet/sun/
H A Dsunbmac.h254 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsunqe.h294 #define NEXT_TX(num) (((num) + 1) & (TX_RING_MAXSIZE - 1)) macro
H A Dsunhme.h360 #define NEXT_TX(num) (((num) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsunqe.c543 elem = NEXT_TX(elem);
601 qep->tx_new = NEXT_TX(entry);
H A Dsungem.c669 walk = NEXT_TX(walk);
688 entry = NEXT_TX(entry);
1045 entry = NEXT_TX(entry);
1064 entry = NEXT_TX(entry);
1087 entry = NEXT_TX(entry);
H A Dsungem.h929 #define NEXT_TX(N) (((N) + 1) & (TX_RING_SIZE - 1)) macro
H A Dsunbmac.c789 elem = NEXT_TX(elem);
976 bp->tx_new = NEXT_TX(entry);
H A Dsunhme.c1956 elem = NEXT_TX(elem);
2293 entry = NEXT_TX(entry);
2304 entry = NEXT_TX(entry);
2319 entry = NEXT_TX(entry);
H A Dniu.c3578 idx = NEXT_TX(rp, idx);
3588 idx = NEXT_TX(rp, idx);
6713 prod = NEXT_TX(rp, prod);
6731 prod = NEXT_TX(rp, prod);
H A Dniu.h2878 #define NEXT_TX(tp, index) \ macro
/drivers/net/ethernet/cadence/
H A Dmacb.c49 #define NEXT_TX(n) (((n) + 1) & (TX_RING_SIZE - 1)) macro
328 for (tail = bp->tx_tail; tail != head; tail = NEXT_TX(tail)) {
358 for (tail = bp->tx_tail; tail != head; tail = NEXT_TX(tail)) {
669 entry = NEXT_TX(entry);
/drivers/net/ethernet/dec/tulip/
H A Dde2104x.c99 #define NEXT_TX(N) (((N) + 1) & (DE_TX_RING_SIZE - 1)) macro
596 tx_tail = NEXT_TX(tx_tail);
644 de->tx_head = NEXT_TX(entry);
769 entry = NEXT_TX(entry);
794 de->tx_head = NEXT_TX(entry);
/drivers/net/ethernet/realtek/
H A D8139cp.c113 #define NEXT_TX(N) (((N) + 1) & (CP_TX_RING_SIZE - 1)) macro
692 tx_tail = NEXT_TX(tx_tail);
762 entry = NEXT_TX(entry);
778 entry = NEXT_TX(entry);
818 entry = NEXT_TX(entry);
/drivers/net/ethernet/broadcom/
H A Db44.c78 #define NEXT_TX(N) (((N) + 1) & (B44_TX_RING_SIZE - 1)) macro
600 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) {
1006 entry = NEXT_TX(entry);
H A Dtg3.c156 #define NEXT_TX(N) (((N) + 1) & (TG3_TX_RING_SIZE - 1)) macro
5568 sw_idx = NEXT_TX(sw_idx);
5572 sw_idx = NEXT_TX(sw_idx);
5586 sw_idx = NEXT_TX(sw_idx);
5590 sw_idx = NEXT_TX(sw_idx);
6659 *entry = NEXT_TX(*entry);
6669 *entry = NEXT_TX(*entry);
6678 *entry = NEXT_TX(*entry);
6700 entry = NEXT_TX(entry);
6707 entry = NEXT_TX(entr
[all...]

Completed in 878 milliseconds