Searched refs:ReadIndex (Results 1 – 2 of 2) sorted by relevance
64 if(Self->ReadIndex <= Self->WriteIndex) { in FIFO_NumInQueue()65 Count = Self->WriteIndex - Self->ReadIndex; in FIFO_NumInQueue()68 Count = Self->NumElements - (Self->ReadIndex - Self->WriteIndex); in FIFO_NumInQueue()101 RDex = Self->ReadIndex; in FIFO_FreeSpace()143 RetVal = (ssize_t)ModuloAdd(Self->ReadIndex, (UINT32)NumElem, Self->NumElements); in FIFO_Reduce()144 Self->ReadIndex = (UINT32)RetVal; in FIFO_Reduce()167 return (BOOLEAN)(Self->WriteIndex == Self->ReadIndex); in FIFO_IsEmpty()186 return (BOOLEAN)(ModuloIncrement(Self->WriteIndex, Self->NumElements) == (INT32)Self->ReadIndex); in FIFO_IsFull()291 RDex = Self->ReadIndex; // Get this FIFO's Read Index in FIFO_Dequeue()308 …Self->ReadIndex = RDex; // Set FIFO's Read Index to new … in FIFO_Dequeue()[all …]
203 UINT32 ReadIndex; ///< Index of next element to Read. member