Searched refs:WriteIndex (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()102 WDex = Self->WriteIndex; in FIFO_FreeSpace()167 return (BOOLEAN)(Self->WriteIndex == Self->ReadIndex); in FIFO_IsEmpty()186 return (BOOLEAN)(ModuloIncrement(Self->WriteIndex, Self->NumElements) == (INT32)Self->ReadIndex); in FIFO_IsFull()230 …Windex = Self->WriteIndex; // Index of first writable… in FIFO_Enqueue()246 …Self->WriteIndex = Windex; // Finally, save the new W… in FIFO_Enqueue()393 return Self->WriteIndex; in FIFO_GetWDex()441 Self->WriteIndex = 0; in FIFO_Flush()[all …]
204 UINT32 WriteIndex; ///< Index of where next element will be Written. member