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.h159 UINT32 MaxScratchpadBufs; member
DXhciSched.c2773 UINT32 MaxScratchpadBufs; in XhcPeiInitSched() local
2810MaxScratchpadBufs = ((Xhc->HcSParams2.Data.ScratchBufHi) << 5) | (Xhc->HcSParams2.Data.Scratc… in XhcPeiInitSched()
2811 Xhc->MaxScratchpadBufs = MaxScratchpadBufs; in XhcPeiInitSched()
2812 ASSERT (MaxScratchpadBufs <= 1023); in XhcPeiInitSched()
2813 if (MaxScratchpadBufs != 0) { in XhcPeiInitSched()
2817 ScratchEntry = AllocateZeroPool (sizeof (UINT64) * MaxScratchpadBufs); in XhcPeiInitSched()
2823 EFI_SIZE_TO_PAGES (MaxScratchpadBufs * sizeof (UINT64)), in XhcPeiInitSched()
2830 ZeroMem (ScratchBuf, MaxScratchpadBufs * sizeof (UINT64)); in XhcPeiInitSched()
2836 for (Index = 0; Index < MaxScratchpadBufs; Index++) { in XhcPeiInitSched()
2930 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.h232 UINT32 MaxScratchpadBufs; member