Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/
DUfsHci.c330 UINTN PrdtNumber; in UfsInitUtpPrdt() local
345PrdtNumber = (UINTN)DivU64x32 ((UINT64)BufferSize + UFS_MAX_DATA_LEN_PER_PRD - 1, UFS_MAX_DATA_L… in UfsInitUtpPrdt()
347 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in UfsInitUtpPrdt()
438 UINTN PrdtNumber; in UfsCreateScsiCommandDesc() local
461PrdtNumber = (UINTN)DivU64x32 ((UINT64)Length + UFS_MAX_DATA_LEN_PER_PRD - 1, UFS_MAX_DATA_LEN_PER… in UfsCreateScsiCommandDesc()
463 … (sizeof (UTP_COMMAND_UPIU)) + ROUNDUP8 (sizeof (UTP_RESPONSE_UPIU)) + PrdtNumber * sizeof (UTP_TR… in UfsCreateScsiCommandDesc()
488 Trd->PrdtL = (UINT16)PrdtNumber; in UfsCreateScsiCommandDesc()
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordSmm/
DOpalAhciMode.c429 UINT64 PrdtNumber; in AhciBuildCommand() local
438 PrdtNumber = DivU64x32 (DataLength + EFI_AHCI_MAX_DATA_PER_PRDT - 1, EFI_AHCI_MAX_DATA_PER_PRDT); in AhciBuildCommand()
445 ASSERT (PrdtNumber <= 1); in AhciBuildCommand()
477 CommandList->AhciCmdPrdtl = (UINT32)PrdtNumber; in AhciBuildCommand()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/
DUfsPassThruHci.c401 UINTN PrdtNumber; in UfsInitUtpPrdt() local
416PrdtNumber = (UINTN)DivU64x32 ((UINT64)BufferSize + UFS_MAX_DATA_LEN_PER_PRD - 1, UFS_MAX_DATA_L… in UfsInitUtpPrdt()
418 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in UfsInitUtpPrdt()
512 UINTN PrdtNumber; in UfsCreateScsiCommandDesc() local
533PrdtNumber = (UINTN)DivU64x32 ((UINT64)DataLen + UFS_MAX_DATA_LEN_PER_PRD - 1, UFS_MAX_DATA_LEN_PE… in UfsCreateScsiCommandDesc()
535 … (sizeof (UTP_COMMAND_UPIU)) + ROUNDUP8 (sizeof (UTP_RESPONSE_UPIU)) + PrdtNumber * sizeof (UTP_TR… in UfsCreateScsiCommandDesc()
559 Trd->PrdtL = (UINT16)PrdtNumber; in UfsCreateScsiCommandDesc()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ata/AtaAtapiPassThru/
DAhciMode.c539 UINT32 PrdtNumber; in AhciBuildCommand() local
549PrdtNumber = (UINT32)DivU64x32 (((UINT64)DataLength + EFI_AHCI_MAX_DATA_PER_PRDT - 1), EFI_AHCI_MA… in AhciBuildCommand()
556 ASSERT (PrdtNumber <= 65535); in AhciBuildCommand()
588 CommandList->AhciCmdPrdtl = PrdtNumber; in AhciBuildCommand()
590 for (PrdtIndex = 0; PrdtIndex < PrdtNumber; PrdtIndex++) { in AhciBuildCommand()
607 if (PrdtNumber > 0) { in AhciBuildCommand()
608 AhciRegisters->AhciCommandTable->PrdtTable[PrdtNumber - 1].AhciPrdtIoc = 1; in AhciBuildCommand()