Searched refs:RDex (Results 1 – 1 of 1) sorted by relevance
98 UINT32 RDex; in FIFO_FreeSpace() local101 RDex = Self->ReadIndex; in FIFO_FreeSpace()104 if(RDex <= WDex) { in FIFO_FreeSpace()105 Count = (Self->NumElements - (WDex - RDex)) - 1; in FIFO_FreeSpace()108 Count = (RDex - WDex)-1; in FIFO_FreeSpace()280 UINT32 RDex; in FIFO_Dequeue() local291 RDex = Self->ReadIndex; // Get this FIFO's Read Index in FIFO_Dequeue()295 QPtr = (UINTN)Self->Queue + (RDex * SizeOfElement); // Point to Read location in FIFO in FIFO_Dequeue()298 RDex = (UINT32)ModuloIncrement(RDex, Self->NumElements); // Increment Read Index in FIFO_Dequeue()299 if(RDex == 0) { // If the index wrapped in FIFO_Dequeue()[all …]