Searched refs:PrdtIndex (Results 1 – 3 of 3) sorted by relevance
327 UINT32 PrdtIndex; in UfsInitUtpPrdt() local347 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()
398 UINT32 PrdtIndex; in UfsInitUtpPrdt() local418 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()
540 UINT32 PrdtIndex; in AhciBuildCommand() local590 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()