Lines Matching defs:indexes
204 struct typhoon_indexes indexes __3xp_aligned;
229 struct typhoon_indexes *indexes;
447 struct typhoon_indexes *indexes = tp->indexes;
454 cleared = le32_to_cpu(indexes->respCleared);
455 ready = le32_to_cpu(indexes->respReady);
497 indexes->respCleared = cpu_to_le32(cleared);
517 int cmdCleared = le32_to_cpu(tp->indexes->cmdCleared);
525 int respReady = le32_to_cpu(tp->indexes->respReady);
526 int respCleared = le32_to_cpu(tp->indexes->respCleared);
542 struct typhoon_indexes *indexes = tp->indexes;
616 if(indexes->respCleared != indexes->respReady)
645 if(indexes->respCleared != indexes->respReady)
1217 shared_dma = tp->shared_dma + shared_offset(indexes);
1252 tp->indexes = &tp->shared->indexes;
1280 memset(tp->indexes, 0, sizeof(struct typhoon_indexes));
1587 struct typhoon_indexes *indexes = tp->indexes;
1593 le32_to_cpu(indexes->rxBuffCleared)) {
1608 indexes->rxBuffReady = cpu_to_le32(ring->lastWrite);
1614 struct typhoon_indexes *indexes = tp->indexes;
1624 le32_to_cpu(indexes->rxBuffCleared))
1648 indexes->rxBuffReady = cpu_to_le32(ring->lastWrite);
1750 struct typhoon_indexes *indexes = tp->indexes;
1754 if(!tp->awaiting_resp && indexes->respReady != indexes->respCleared)
1757 if(le32_to_cpu(indexes->txLoCleared) != tp->txLoRing.lastRead)
1758 typhoon_tx_complete(tp, &tp->txLoRing, &indexes->txLoCleared);
1762 if(indexes->rxHiCleared != indexes->rxHiReady) {
1763 work_done += typhoon_rx(tp, &tp->rxHiRing, &indexes->rxHiReady,
1764 &indexes->rxHiCleared, budget);
1767 if(indexes->rxLoCleared != indexes->rxLoReady) {
1768 work_done += typhoon_rx(tp, &tp->rxLoRing, &indexes->rxLoReady,
1769 &indexes->rxLoCleared, budget - work_done);
1772 if(le32_to_cpu(indexes->rxBuffCleared) == tp->rxBuffRing.lastWrite) {
1982 struct typhoon_indexes *indexes = tp->indexes;
2001 if(indexes->txLoCleared == cpu_to_le32(txLo->lastWrite))
2032 if(indexes->txLoCleared != cpu_to_le32(txLo->lastWrite)) {
2033 indexes->txLoCleared = cpu_to_le32(txLo->lastWrite);
2034 typhoon_clean_tx(tp, &tp->txLoRing, &indexes->txLoCleared);
2051 typhoon_clean_tx(tp, &tp->txLoRing, &tp->indexes->txLoCleared);