Home
last modified time | relevance | path

Searched refs:Tail (Results 1 – 23 of 23) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminalConIn.c94 TerminalDevice->RawFiFo->Head = TerminalDevice->RawFiFo->Tail; in TerminalConInReset()
95 TerminalDevice->UnicodeFiFo->Head = TerminalDevice->UnicodeFiFo->Tail; in TerminalConInReset()
96 TerminalDevice->EfiKeyFiFo->Head = TerminalDevice->EfiKeyFiFo->Tail; in TerminalConInReset()
97 TerminalDevice->EfiKeyFiFoForNotify->Head = TerminalDevice->EfiKeyFiFoForNotify->Tail; in TerminalConInReset()
718 UINT8 Tail; in RawFiFoInsertOneKey() local
720 Tail = TerminalDevice->RawFiFo->Tail; in RawFiFoInsertOneKey()
729 TerminalDevice->RawFiFo->Data[Tail] = Input; in RawFiFoInsertOneKey()
731 TerminalDevice->RawFiFo->Tail = (UINT8) ((Tail + 1) % (RAW_FIFO_MAX_NUMBER + 1)); in RawFiFoInsertOneKey()
785 if (TerminalDevice->RawFiFo->Head == TerminalDevice->RawFiFo->Tail) { in IsRawFiFoEmpty()
806 UINT8 Tail; in IsRawFiFoFull() local
[all …]
DTerminal.h51 UINT8 Tail; member
57 UINT8 Tail; member
63 UINT8 Tail; member
/device/linaro/bootloader/edk2/StdLib/LibC/Uefi/Devices/Utility/
DPath.c416 wchar_t *Tail; in GetFileNameFromPath() local
422 Tail = wcsrchr(Path, L'\\'); in GetFileNameFromPath()
423 if(Tail == NULL) { in GetFileNameFromPath()
424 Tail = (wchar_t *) Path; in GetFileNameFromPath()
427 Tail++; in GetFileNameFromPath()
430 return Tail; in GetFileNameFromPath()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Mem/
DPool.c311 POOL_TAIL *Tail; in CoreAllocatePoolI() local
438 Tail = HEAD_TO_TAIL (Head); in CoreAllocatePoolI()
439 Tail->Signature = POOL_TAIL_SIGNATURE; in CoreAllocatePoolI()
440 Tail->Size = Size; in CoreAllocatePoolI()
547 POOL_TAIL *Tail; in CoreFreePoolI() local
568 Tail = HEAD_TO_TAIL (Head); in CoreFreePoolI()
569 ASSERT(Tail != NULL); in CoreFreePoolI()
574 ASSERT (Tail->Signature == POOL_TAIL_SIGNATURE); in CoreFreePoolI()
575 ASSERT (Head->Size == Tail->Size); in CoreFreePoolI()
578 if (Tail->Signature != POOL_TAIL_SIGNATURE) { in CoreFreePoolI()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c32 return (BOOLEAN) (Queue->Head == Queue->Tail); in IsEfikeyBufEmpty()
75 if ((Queue->Tail + 1) % KEYBOARD_EFI_KEY_MAX_COUNT == Queue->Head) { in PushEfikeyBufTail()
81 CopyMem (&Queue->Buffer[Queue->Tail], KeyData, sizeof (EFI_KEY_DATA)); in PushEfikeyBufTail()
82 Queue->Tail = (Queue->Tail + 1) % KEYBOARD_EFI_KEY_MAX_COUNT; in PushEfikeyBufTail()
DPs2KbdCtrller.c582 if (Queue->Head <= Queue->Tail) { in GetScancodeBufCount()
583 return Queue->Tail - Queue->Head; in GetScancodeBufCount()
585 return Queue->Tail + KEYBOARD_SCAN_CODE_MAX_COUNT - Queue->Head; in GetScancodeBufCount()
682 Queue->Buffer[Queue->Tail] = Scancode; in PushScancodeBufTail()
683 Queue->Tail = (Queue->Tail + 1) % KEYBOARD_SCAN_CODE_MAX_COUNT; in PushScancodeBufTail()
1635 ConsoleIn->ScancodeQueue.Tail = 0; in InitKeyboard()
1637 ConsoleIn->EfiKeyQueue.Tail = 0; in InitKeyboard()
1639 ConsoleIn->EfiKeyQueueForNotify.Tail = 0; in InitKeyboard()
DPs2Keyboard.h64 UINTN Tail; member
71 UINTN Tail; member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/Ps2KeyboardDxe/
DPs2KbdTextIn.c32 return (BOOLEAN) (Queue->Head == Queue->Tail); in IsEfikeyBufEmpty()
75 if ((Queue->Tail + 1) % KEYBOARD_EFI_KEY_MAX_COUNT == Queue->Head) { in PushEfikeyBufTail()
81 CopyMem (&Queue->Buffer[Queue->Tail], KeyData, sizeof (EFI_KEY_DATA)); in PushEfikeyBufTail()
82 Queue->Tail = (Queue->Tail + 1) % KEYBOARD_EFI_KEY_MAX_COUNT; in PushEfikeyBufTail()
DPs2KbdCtrller.c582 if (Queue->Head <= Queue->Tail) { in GetScancodeBufCount()
583 return Queue->Tail - Queue->Head; in GetScancodeBufCount()
585 return Queue->Tail + KEYBOARD_SCAN_CODE_MAX_COUNT - Queue->Head; in GetScancodeBufCount()
682 Queue->Buffer[Queue->Tail] = Scancode; in PushScancodeBufTail()
683 Queue->Tail = (Queue->Tail + 1) % KEYBOARD_SCAN_CODE_MAX_COUNT; in PushScancodeBufTail()
1671 ConsoleIn->ScancodeQueue.Tail = 0; in InitKeyboard()
1673 ConsoleIn->EfiKeyQueue.Tail = 0; in InitKeyboard()
1675 ConsoleIn->EfiKeyQueueForNotify.Tail = 0; in InitKeyboard()
DPs2Keyboard.h62 UINTN Tail; member
69 UINTN Tail; member
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c210 return (BOOLEAN) (((Fifo->Tail + 1) % SERIAL_MAX_FIFO_SIZE) == Fifo->Head); in SerialFifoFull()
226 return (BOOLEAN) (Fifo->Head == Fifo->Tail); in SerialFifoEmpty()
253 Fifo->Data[Fifo->Tail] = Data; in SerialFifoAdd()
254 Fifo->Tail = (Fifo->Tail + 1) % SERIAL_MAX_FIFO_SIZE; in SerialFifoAdd()
574 SerialDevice->Receive.Head = SerialDevice->Receive.Tail = 0; in SerialReset()
575 SerialDevice->Transmit.Head = SerialDevice->Transmit.Tail = 0; in SerialReset()
DSerial.h85 …UINT16 Tail; ///< Tail pointer of the FIFO. Full when ((Tail + 1) % SERIAL_… member
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DNetBuffer.c129 Nbuf->BlockOp[0].Tail = Bulk; in NetbufAlloc()
448 BlockOp->Tail = Bulk + Len; in NetbufSetBlock()
485 BlockOp->Tail = Bulk + Len; in NetbufSetBlockOp()
1024 Nbuf->BlockOp[0].Tail += Len; in NetbufReserve()
1026 ASSERT (Nbuf->BlockOp[0].Tail <= Nbuf->BlockOp[0].BlockTail); in NetbufReserve()
1113 SavedTail = BlockOp->Tail; in NetbufAllocSpace()
1115 BlockOp->Tail += Len; in NetbufAllocSpace()
1147 BlockOp->Tail -= Len; in NetblockTrim()
DDxeNetLib.c3379 CHAR8 *Tail; in NetLibCreateDnsQName() local
3386 Tail = NULL; in NetLibCreateDnsQName()
3403 Tail = Header + 1; in NetLibCreateDnsQName()
3406 *Tail = (CHAR8) DomainName[Index]; in NetLibCreateDnsQName()
3407 if (*Tail == '.') { in NetLibCreateDnsQName()
3409 Header = Tail; in NetLibCreateDnsQName()
3410 Tail ++; in NetLibCreateDnsQName()
3413 Tail++; in NetLibCreateDnsQName()
3418 *Tail = 0; in NetLibCreateDnsQName()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/Common/
DFvLib.c642 EFI_FFS_FILE_TAIL *Tail; in VerifyFfsFile() local
739Tail = (EFI_FFS_FILE_TAIL *) ((UINTN) FfsHeader + GetLength (FfsHeader->Size) - sizeof (EFI_FFS_FI… in VerifyFfsFile()
740 if (FfsHeader->IntegrityCheck.TailReference != (EFI_FFS_FILE_TAIL)~(*Tail)) { in VerifyFfsFile()
/device/linaro/bootloader/edk2/SecurityPkg/Library/AuthVariableLib/
DAuthService.c1402 UINT8 *Tail; in FilterSignatureList() local
1420 Tail = TempData; in FilterSignatureList()
1465 … CopyMem (Tail, NewCertList, sizeof (EFI_SIGNATURE_LIST) + NewCertList->SignatureHeaderSize); in FilterSignatureList()
1466 Tail = Tail + sizeof (EFI_SIGNATURE_LIST) + NewCertList->SignatureHeaderSize; in FilterSignatureList()
1469 CopyMem (Tail, NewCert, NewCertList->SignatureSize); in FilterSignatureList()
1470 Tail += NewCertList->SignatureSize; in FilterSignatureList()
1482 CertList = (EFI_SIGNATURE_LIST *) (Tail - SignatureListSize); in FilterSignatureList()
1490 TempDataSize = (Tail - (UINT8 *) TempData); in FilterSignatureList()
/device/linaro/bootloader/edk2/BaseTools/Source/Python/Eot/
DReport.py381 Tail = """</table>
384 self.WriteLn(Tail)
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Usb/UsbKbDxe/
DKeyBoard.c1705 Queue->Tail = 0; in InitQueue()
1750 return (BOOLEAN) (Queue->Head == Queue->Tail); in IsQueueEmpty()
1768 return (BOOLEAN) (((Queue->Tail + 1) % (MAX_KEY_ALLOWED + 1)) == Queue->Head); in IsQueueFull()
1795 CopyMem (Queue->Buffer[Queue->Tail], Item, ItemSize); in Enqueue()
1800 Queue->Tail = (Queue->Tail + 1) % (MAX_KEY_ALLOWED + 1); in Enqueue()
DEfiKey.h66 UINTN Tail; member
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/EbcDxe/EbcDebugger/
DEdbDisasmSupport.c22 CHAR16 Tail; member
82 for (Char = (CHAR16 *)&mInstructionString; Char < &mInstructionString.Tail; Char++) { in EdbPostInstructionString()
87 mInstructionString.Tail = 0; in EdbPostInstructionString()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Keyboard/VirtualKeyboardDxe/
DVirtualKeyboard.h82 UINTN Tail; member
/device/linaro/bootloader/edk2/BaseTools/Source/C/VolInfo/
DVolInfo.c1124 UINT16 *Tail; in PrintFileInfo() local
1233Tail = (UINT16 *) ((UINTN) FileHeader + GetLength (FileHeader->Size) - sizeof (EFI_FFS_INTEGRITY_C… in PrintFileInfo()
1234 if (FileHeader->IntegrityCheck.TailReference != (UINT16)~(*Tail)) { in PrintFileInfo()
/device/linaro/bootloader/edk2/MdeModulePkg/Include/Library/
DNetLib.h1518 UINT8 *Tail; // Tail of the data in the block, Tail-Head=Size member
1616 (UINTN)((BlockOp)->BlockTail - (BlockOp)->Tail)