Home
last modified time | relevance | path

Searched refs:ScratchEntry (Results 1 – 4 of 4) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhcPeim.h167 UINT64 *ScratchEntry; member
DXhciSched.c2784 UINT64 *ScratchEntry; in XhcPeiInitSched() local
2825 ScratchEntry = AllocateZeroPool (sizeof (UINT64) * MaxScratchpadBufs); in XhcPeiInitSched()
2826 ASSERT (ScratchEntry != NULL); in XhcPeiInitSched()
2827 Xhc->ScratchEntry = ScratchEntry; in XhcPeiInitSched()
2849 (VOID **) &ScratchEntry[Index], in XhcPeiInitSched()
2853 ZeroMem ((VOID *) (UINTN) ScratchEntry[Index], Xhc->PageSize); in XhcPeiInitSched()
2934 UINT64 *ScratchEntry; in XhcPeiFreeSched() local
2937 ScratchEntry = Xhc->ScratchEntry; in XhcPeiFreeSched()
2942 … UsbHcFreeAlignedPages ((VOID*) (UINTN) ScratchEntry[Index], EFI_SIZE_TO_PAGES (Xhc->PageSize)); in XhcPeiFreeSched()
2948 FreePool (Xhc->ScratchEntry); in XhcPeiFreeSched()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c474 UINT64 *ScratchEntry; in XhcInitSched() local
524 ScratchEntry = AllocateZeroPool (sizeof (UINT64) * MaxScratchpadBufs); in XhcInitSched()
525 ASSERT (ScratchEntry != NULL); in XhcInitSched()
526 Xhc->ScratchEntry = ScratchEntry; in XhcInitSched()
551 (VOID **) &ScratchEntry[Index], in XhcInitSched()
556 ZeroMem ((VOID *)(UINTN)ScratchEntry[Index], Xhc->PageSize); in XhcInitSched()
940 UINT64 *ScratchEntry; in XhcFreeSched() local
943 ScratchEntry = Xhc->ScratchEntry; in XhcFreeSched()
948 …UsbHcFreeAlignedPages (Xhc->PciIo, (VOID*)(UINTN)ScratchEntry[Index], EFI_SIZE_TO_PAGES (Xhc->Page… in XhcFreeSched()
955 FreePool (Xhc->ScratchEntry); in XhcFreeSched()
DXhci.h238 UINT64 *ScratchEntry; member