Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciPei/
DXhcPeim.h165 UINT32 MaxScratchpadBufs; member
DXhciSched.c2781 UINT32 MaxScratchpadBufs; in XhcPeiInitSched() local
2818MaxScratchpadBufs = ((Xhc->HcSParams2.Data.ScratchBufHi) << 5) | (Xhc->HcSParams2.Data.Scratc… in XhcPeiInitSched()
2819 Xhc->MaxScratchpadBufs = MaxScratchpadBufs; in XhcPeiInitSched()
2820 ASSERT (MaxScratchpadBufs <= 1023); in XhcPeiInitSched()
2821 if (MaxScratchpadBufs != 0) { in XhcPeiInitSched()
2825 ScratchEntry = AllocateZeroPool (sizeof (UINT64) * MaxScratchpadBufs); in XhcPeiInitSched()
2831 EFI_SIZE_TO_PAGES (MaxScratchpadBufs * sizeof (UINT64)), in XhcPeiInitSched()
2838 ZeroMem (ScratchBuf, MaxScratchpadBufs * sizeof (UINT64)); in XhcPeiInitSched()
2844 for (Index = 0; Index < MaxScratchpadBufs; Index++) { in XhcPeiInitSched()
2938 for (Index = 0; Index < Xhc->MaxScratchpadBufs; Index++) { in XhcPeiFreeSched()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciSched.c471 UINT32 MaxScratchpadBufs; in XhcInitSched() local
510MaxScratchpadBufs = ((Xhc->HcSParams2.Data.ScratchBufHi) << 5) | (Xhc->HcSParams2.Data.Scratc… in XhcInitSched()
511 Xhc->MaxScratchpadBufs = MaxScratchpadBufs; in XhcInitSched()
512 ASSERT (MaxScratchpadBufs <= 1023); in XhcInitSched()
513 if (MaxScratchpadBufs != 0) { in XhcInitSched()
517 ScratchEntryMap = AllocateZeroPool (sizeof (UINTN) * MaxScratchpadBufs); in XhcInitSched()
524 ScratchEntry = AllocateZeroPool (sizeof (UINT64) * MaxScratchpadBufs); in XhcInitSched()
531 EFI_SIZE_TO_PAGES (MaxScratchpadBufs * sizeof (UINT64)), in XhcInitSched()
539 ZeroMem (ScratchBuf, MaxScratchpadBufs * sizeof (UINT64)); in XhcInitSched()
545 for (Index = 0; Index < MaxScratchpadBufs; Index++) { in XhcInitSched()
[all …]
DXhci.h237 UINT32 MaxScratchpadBufs; member