Home
last modified time | relevance | path

Searched refs:PrdtIndex (Results 1 – 3 of 3) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHci.c327 UINT32 PrdtIndex; in UfsInitUtpPrdt() local
347 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in UfsInitUtpPrdt()
349 Prdt[PrdtIndex].DbCount = (UINT32)RemainingLen - 1; in UfsInitUtpPrdt()
351 Prdt[PrdtIndex].DbCount = UFS_MAX_DATA_LEN_PER_PRD - 1; in UfsInitUtpPrdt()
354 Prdt[PrdtIndex].DbAddr = (UINT32)RShiftU64 ((UINT64)(UINTN)Remaining, 2); in UfsInitUtpPrdt()
355 Prdt[PrdtIndex].DbAddrU = (UINT32)RShiftU64 ((UINT64)(UINTN)Remaining, 32); in UfsInitUtpPrdt()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/
DUfsPassThruHci.c398 UINT32 PrdtIndex; in UfsInitUtpPrdt() local
418 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in UfsInitUtpPrdt()
420 Prdt[PrdtIndex].DbCount = (UINT32)RemainingLen - 1; in UfsInitUtpPrdt()
422 Prdt[PrdtIndex].DbCount = UFS_MAX_DATA_LEN_PER_PRD - 1; in UfsInitUtpPrdt()
425 Prdt[PrdtIndex].DbAddr = (UINT32)RShiftU64 ((UINT64)(UINTN)Remaining, 2); in UfsInitUtpPrdt()
426 Prdt[PrdtIndex].DbAddrU = (UINT32)RShiftU64 ((UINT64)(UINTN)Remaining, 32); in UfsInitUtpPrdt()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DAhciMode.c540 UINT32 PrdtIndex; in AhciBuildCommand() local
590 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in AhciBuildCommand()
592 AhciRegisters->AhciCommandTable->PrdtTable[PrdtIndex].AhciPrdtDbc = (UINT32)RemainedData - 1; in AhciBuildCommand()
594 …AhciRegisters->AhciCommandTable->PrdtTable[PrdtIndex].AhciPrdtDbc = EFI_AHCI_MAX_DATA_PER_PRDT - 1; in AhciBuildCommand()
598 AhciRegisters->AhciCommandTable->PrdtTable[PrdtIndex].AhciPrdtDba = Data64.Uint32.Lower32; in AhciBuildCommand()
599 AhciRegisters->AhciCommandTable->PrdtTable[PrdtIndex].AhciPrdtDbau = Data64.Uint32.Upper32; in AhciBuildCommand()