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

/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6/drivers/net/
H A Dtyphoon.c503 typhoon_num_free(int lastWrite, int lastRead, int ringSize) argument
509 lastRead /= sizeof(struct cmd_desc);
510 return (ringSize + lastRead - lastWrite - 1) % ringSize;
535 return typhoon_num_free(ring->lastWrite, ring->lastRead, TXLO_ENTRIES);
1290 tp->txLoRing.lastRead = 0;
1291 tp->txHiRing.lastRead = 0;
1535 u32 lastRead = txRing->lastRead; local
1541 while(lastRead != le32_to_cpu(*index)) {
1542 tx = (struct tx_desc *) (txRing->ringBase + lastRead);
1571 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
/asuswrt-rt-n18u-9.0.0.4.380.2695/release/src-rt-6.x.4708/linux/linux-2.6.36/drivers/net/
H A Dtyphoon.c503 typhoon_num_free(int lastWrite, int lastRead, int ringSize) argument
509 lastRead /= sizeof(struct cmd_desc);
510 return (ringSize + lastRead - lastWrite - 1) % ringSize;
535 return typhoon_num_free(ring->lastWrite, ring->lastRead, TXLO_ENTRIES);
1290 tp->txLoRing.lastRead = 0;
1291 tp->txHiRing.lastRead = 0;
1535 u32 lastRead = txRing->lastRead; local
1541 while(lastRead != le32_to_cpu(*index)) {
1542 tx = (struct tx_desc *) (txRing->ringBase + lastRead);
1571 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 79 milliseconds