Searched refs:tx_cons (Results 1 - 8 of 8) sorted by relevance

/netgear-WNDR4500-V1.0.1.40_1.0.68/src/linux/linux-2.6/drivers/net/
H A Db44.c66 (((BP)->tx_cons <= (BP)->tx_prod) ? \
67 (BP)->tx_cons + (BP)->tx_pending - (BP)->tx_prod : \
68 (BP)->tx_cons - (BP)->tx_prod - TX_RING_GAP(BP))
587 for (cons = bp->tx_cons; cons != cur; cons = NEXT_TX(cons)) {
601 bp->tx_cons = cons;
1263 bp->tx_prod = bp->tx_cons = 0;
H A Db44.h420 u32 tx_prod, tx_cons; member in struct:b44
H A Dsky2.c1241 sky2->tx_prod = sky2->tx_cons = 0;
1328 return sky2->tx_pending - tx_dist(sky2->tx_cons, sky2->tx_prod);
1487 * Free ring elements from starting at tx_cons until "done"
1500 for (idx = sky2->tx_cons; idx != done;
1533 sky2->tx_cons = idx;
1870 dev->name, sky2->tx_cons, sky2->tx_prod,
H A Dsky2.h1874 u16 tx_cons; /* next le to check */ member in struct:sky2_port
H A Dbnx2.c225 diff = bp->tx_prod - bp->tx_cons;
2000 sw_cons = bp->tx_cons;
2059 bp->tx_cons = sw_cons;
2060 /* Need to make the tx_cons update visible to bnx2_start_xmit()
3882 bp->tx_cons = 0;
H A Dtg3.h2161 u32 tx_cons; member in struct:tg3
H A Dtg3.c546 if (sblk->idx[0].tx_consumer != tp->tx_cons ||
3054 ((tp->tx_prod - tp->tx_cons) & (TG3_TX_RING_SIZE - 1)));
3064 u32 sw_idx = tp->tx_cons;
3106 tp->tx_cons = sw_idx;
3108 /* Need to make the tx_cons update visible to tg3_start_xmit()
3445 if (sblk->idx[0].tx_consumer != tp->tx_cons) {
6263 tp->tx_cons = 0;
H A Dbnx2.h6489 u16 tx_cons __attribute__((aligned(L1_CACHE_BYTES))); member in struct:bnx2

Completed in 289 milliseconds