Home
last modified time | relevance | path

Searched refs:iQIndex (Results 1 – 3 of 3) sorted by relevance

/linux-3.4.99/drivers/staging/bcm/
DQos.c397 INT iQIndex; in flush_all_queues() local
404 for(iQIndex=LowPriority; iQIndex<HiPriority; iQIndex++) in flush_all_queues()
408 spin_lock_bh(&Adapter->PackInfo[iQIndex].SFQueueLock); in flush_all_queues()
409 while(Adapter->PackInfo[iQIndex].FirstTxQueue) in flush_all_queues()
411 PacketToDrop = Adapter->PackInfo[iQIndex].FirstTxQueue; in flush_all_queues()
420 DEQUEUEPACKET(Adapter->PackInfo[iQIndex].FirstTxQueue, in flush_all_queues()
421 Adapter->PackInfo[iQIndex].LastTxQueue); in flush_all_queues()
427 Adapter->PackInfo[iQIndex].uiCurrentBytesOnHost -= uiTotalPacketLength; in flush_all_queues()
428 Adapter->PackInfo[iQIndex].uiCurrentPacketsOnHost--; in flush_all_queues()
431 Adapter->PackInfo[iQIndex].uiDroppedCountBytes += uiTotalPacketLength; in flush_all_queues()
[all …]
DMisc.c1609 void flush_queue(PMINI_ADAPTER Adapter, UINT iQIndex) in flush_queue() argument
1613 spin_lock_bh(&Adapter->PackInfo[iQIndex].SFQueueLock); in flush_queue()
1615 while (Adapter->PackInfo[iQIndex].FirstTxQueue && atomic_read(&Adapter->TotalPacketCount)) { in flush_queue()
1616 PacketToDrop = Adapter->PackInfo[iQIndex].FirstTxQueue; in flush_queue()
1619 DEQUEUEPACKET(Adapter->PackInfo[iQIndex].FirstTxQueue, Adapter->PackInfo[iQIndex].LastTxQueue); in flush_queue()
1620 Adapter->PackInfo[iQIndex].uiCurrentPacketsOnHost--; in flush_queue()
1621 Adapter->PackInfo[iQIndex].uiCurrentBytesOnHost -= PacketToDrop->len; in flush_queue()
1624 Adapter->PackInfo[iQIndex].uiDroppedCountBytes += PacketToDrop->len; in flush_queue()
1625 Adapter->PackInfo[iQIndex].uiDroppedCountPackets++; in flush_queue()
1630 spin_unlock_bh(&Adapter->PackInfo[iQIndex].SFQueueLock); in flush_queue()
DPrototypes.h117 void flush_queue(PMINI_ADAPTER Adapter, UINT iQIndex);