Searched refs:SizeOfElement (Results 1 – 1 of 1) sorted by relevance
218 UINT32 SizeOfElement; in FIFO_Enqueue() local229 …SizeOfElement = Self->ElementSize; // Size of Elements, in by… in FIFO_Enqueue()233 …QPtr = (uintptr_t)Self->Queue + (SizeOfElement * Windex); // Addr. in FIFO to write,… in FIFO_Enqueue()236 …(void)CopyMem((void *)QPtr, (const void *)ElemPtr, SizeOfElement); // Copy an element into th… in FIFO_Enqueue()242 …QPtr += SizeOfElement; // Otherwise, point to next … in FIFO_Enqueue()244 …ElemPtr += SizeOfElement; // And also point to next … in FIFO_Enqueue()281 UINT32 SizeOfElement; in FIFO_Dequeue() local292 …SizeOfElement = Self->ElementSize; // Get size of this FIFO's eleme… in FIFO_Dequeue()295 QPtr = (UINTN)Self->Queue + (RDex * SizeOfElement); // Point to Read location in FIFO in FIFO_Dequeue()297 …(void)CopyMem(pElement, (const void *)QPtr, SizeOfElement); // Copy element from FIFO to caller'… in FIFO_Dequeue()[all …]