Searched refs:lastRead (Results 1 - 2 of 2) sorted by relevance

/linux-master/drivers/net/ethernet/3com/
H A Dtyphoon.c534 typhoon_num_free(int lastWrite, int lastRead, int ringSize) argument
540 lastRead /= sizeof(struct cmd_desc);
541 return (ringSize + lastRead - lastWrite - 1) % ringSize;
566 return typhoon_num_free(ring->lastWrite, ring->lastRead, TXLO_ENTRIES);
1261 tp->txLoRing.lastRead = 0;
1262 tp->txHiRing.lastRead = 0;
1505 u32 lastRead = txRing->lastRead; local
1511 while (lastRead != le32_to_cpu(*index)) {
1512 tx = (struct tx_desc *) (txRing->ringBase + lastRead);
1541 u32 lastRead; local
[all...]
H A Dtyphoon.h37 * lastRead: where we're at in regard to cleaning up the ring
43 u32 lastRead; member in struct:transmit_ring

Completed in 155 milliseconds