Searched refs:MaxScratchpadBufs (Results 1 – 4 of 4) sorted by relevance
165 UINT32 MaxScratchpadBufs; member
2781 UINT32 MaxScratchpadBufs; in XhcPeiInitSched() local2818 …MaxScratchpadBufs = ((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 …]
471 UINT32 MaxScratchpadBufs; in XhcInitSched() local510 …MaxScratchpadBufs = ((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 …]
237 UINT32 MaxScratchpadBufs; member