/device/linaro/bootloader/edk2/BaseTools/Source/C/Common/ |
D | OsPath.c | 136 UINTN Remaining; 144 Remaining = Length - Offset; 150 (Remaining >= 2) && 154 memmove (&Path[Offset], &Path[Offset + 1], Remaining); 162 if ((Remaining >= 3) && IsDirSep (Path[Offset]) && 165 memmove (&Path[Offset], &Path[Offset + 1], Remaining);
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdBlockIoPei/ |
D | SdBlockIoPei.c | 239 UINTN Remaining; in SdBlockIoPeimReadBlocks() local 274 Remaining = NumberOfBlocks; in SdBlockIoPeimReadBlocks() 277 while (Remaining > 0) { in SdBlockIoPeimReadBlocks() 278 if (Remaining <= MaxBlock) { in SdBlockIoPeimReadBlocks() 279 NumberOfBlocks = Remaining; in SdBlockIoPeimReadBlocks() 296 Remaining -= NumberOfBlocks; in SdBlockIoPeimReadBlocks()
|
D | SdHci.c | 929 UINT64 Remaining; in BuildAdmaDescTable() local 956 Remaining = DataLen; in BuildAdmaDescTable() 959 if (Remaining <= ADMA_MAX_DATA_PER_LINE) { in BuildAdmaDescTable() 962 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 972 Remaining -= ADMA_MAX_DATA_PER_LINE; in BuildAdmaDescTable()
|
/device/linaro/bootloader/edk2/ArmPkg/Filesystem/SemihostFs/Arm/ |
D | SemihostFs.c | 322 UINTN Remaining; in TruncateFile() local 346 Remaining = Size; in TruncateFile() 347 while (Remaining > 0) { in TruncateFile() 348 ToRead = Remaining; in TruncateFile() 353 Remaining -= ToRead; in TruncateFile() 562 UINTN Remaining; in ExtendFile() local 572 Remaining = Size; in ExtendFile() 574 while (Remaining > 0) { in ExtendFile() 575 WriteNb = MIN (Remaining, sizeof(WriteBuffer)); in ExtendFile() 581 Remaining -= WriteNb; in ExtendFile()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/ |
D | EmmcBlockIoPei.c | 335 UINTN Remaining; in EmmcBlockIoPeimReadBlocks() local 406 Remaining = NumberOfBlocks; in EmmcBlockIoPeimReadBlocks() 409 while (Remaining > 0) { in EmmcBlockIoPeimReadBlocks() 410 if (Remaining <= MaxBlock) { in EmmcBlockIoPeimReadBlocks() 411 NumberOfBlocks = Remaining; in EmmcBlockIoPeimReadBlocks() 429 Remaining -= NumberOfBlocks; in EmmcBlockIoPeimReadBlocks()
|
D | EmmcHci.c | 929 UINT64 Remaining; in BuildAdmaDescTable() local 956 Remaining = DataLen; in BuildAdmaDescTable() 959 if (Remaining <= ADMA_MAX_DATA_PER_LINE) { in BuildAdmaDescTable() 962 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 972 Remaining -= ADMA_MAX_DATA_PER_LINE; in BuildAdmaDescTable()
|
/device/linaro/bootloader/edk2/ArmPkg/Library/BdsLib/ |
D | BdsFilePath.c | 351 EFI_DEVICE_PATH* Remaining; in BdsConnectAndUpdateDevicePath() local 362 Remaining = *DevicePath; in BdsConnectAndUpdateDevicePath() 367 Status = gBS->LocateDevicePath (&gEfiDevicePathProtocolGuid, &Remaining, Handle); in BdsConnectAndUpdateDevicePath() 385 Status = gBS->ConnectController (*Handle, NULL, Remaining, FALSE); in BdsConnectAndUpdateDevicePath() 388 } while (!EFI_ERROR (Status) && !IsDevicePathEnd (Remaining)); in BdsConnectAndUpdateDevicePath() 393 Remaining = *DevicePath; in BdsConnectAndUpdateDevicePath() 394 Status = gBS->LocateDevicePath (&gEfiDevicePathProtocolGuid, &Remaining, Handle); in BdsConnectAndUpdateDevicePath() 396 Status = gBS->ConnectController (*Handle, NULL, Remaining, FALSE); in BdsConnectAndUpdateDevicePath() 399 if ((Remaining->Type == HARDWARE_DEVICE_PATH) && (Remaining->SubType == HW_MEMMAP_DP)) { in BdsConnectAndUpdateDevicePath() 404 } else if (!IsDevicePathEnd (Remaining) && !IsRemovableDevice (Remaining)) { in BdsConnectAndUpdateDevicePath() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcDxe/ |
D | EmmcBlockIo.c | 818 UINTN Remaining; in EmmcReadWrite() local 884 Remaining = BlockNum; in EmmcReadWrite() 887 while (Remaining > 0) { in EmmcReadWrite() 888 if (Remaining <= MaxBlock) { in EmmcReadWrite() 889 BlockNum = Remaining; in EmmcReadWrite() 908 Remaining -= BlockNum; in EmmcReadWrite() 1306 UINTN Remaining; in EmmcSecurityProtocolInOut() local 1365 Remaining = BlockNum; in EmmcSecurityProtocolInOut() 1368 while (Remaining > 0) { in EmmcSecurityProtocolInOut() 1369 if (Remaining <= MaxBlock) { in EmmcSecurityProtocolInOut() [all …]
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/SdDxe/ |
D | SdBlockIo.c | 635 UINTN Remaining; in SdReadWrite() local 688 Remaining = BlockNum; in SdReadWrite() 691 while (Remaining > 0) { in SdReadWrite() 692 if (Remaining <= MaxBlock) { in SdReadWrite() 693 BlockNum = Remaining; in SdReadWrite() 712 Remaining -= BlockNum; in SdReadWrite()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsBlockIoPei/ |
D | UfsHci.c | 329 UINT8 *Remaining; in UfsInitUtpPrdt() local 344 Remaining = Buffer; 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() 357 Remaining += UFS_MAX_DATA_LEN_PER_PRD; in UfsInitUtpPrdt()
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/SdMmcPciHcDxe/ |
D | SdMmcPciHci.c | 1107 UINT64 Remaining; in BuildAdmaDescTable() local 1184 Remaining = DataLen; in BuildAdmaDescTable() 1187 if (Remaining <= ADMA_MAX_DATA_PER_LINE) { in BuildAdmaDescTable() 1190 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 1200 Remaining -= ADMA_MAX_DATA_PER_LINE; in BuildAdmaDescTable()
|
/device/linaro/bootloader/edk2/IntelFspPkg/Tools/ |
D | GenCfgOpt.py | 587 Remaining = Match.group(2) 589 Match = re.match("(?:^|.+\s+)PAGES:{(.+?)}", Remaining) 598 … Match = re.match("(?:^|.+\s+)BLOCK:{NAME:\"(.+)\"\s*,\s*VER:\"(.+)\"\s*}", Remaining) 604 Match = re.match("(?:^|.+\s+)%s:{(.+?)}" % Key, Remaining) 612 Match = re.match("(?:^|.+\s+)%s:{(.+?)}" % Key, Remaining)
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/XenonDxe/ |
D | SdMmcPciHci.c | 1107 UINT64 Remaining; in BuildAdmaDescTable() local 1184 Remaining = DataLen; in BuildAdmaDescTable() 1187 if (Remaining <= ADMA_MAX_DATA_PER_LINE) { in BuildAdmaDescTable() 1190 Trb->AdmaDesc[Index].Length = (UINT16)Remaining; in BuildAdmaDescTable() 1200 Remaining -= ADMA_MAX_DATA_PER_LINE; in BuildAdmaDescTable()
|
/device/linaro/bootloader/OpenPlatformPkg/Drivers/SdMmc/DwMmcHcDxe/ |
D | DwMmcHci.c | 1069 UINT64 Remaining; in BuildDmaDescTable() local 1158 Remaining = DataLen; in BuildDmaDescTable() 1162 Remaining = DW_MMC_BLOCK_SIZE * Blocks; in BuildDmaDescTable() 1182 Remaining = Remaining - DWMMC_DMA_BUF_SIZE; in BuildDmaDescTable() 1189 Trb->DmaDesc[Entries - 1].Des1 = DW_MMC_IDMAC_DES1_BS1 (Remaining + DWMMC_DMA_BUF_SIZE); in BuildDmaDescTable()
|
/device/linaro/bootloader/edk2/IntelFsp2Pkg/Tools/ |
D | GenCfgOpt.py | 569 Remaining = Match.group(2) 571 Match = re.match("(?:^|.+\s+)PAGES:{(.+?)}", Remaining) 580 … Match = re.match("(?:^|.+\s+)BLOCK:{NAME:\"(.+)\"\s*,\s*VER:\"(.+)\"\s*}", Remaining) 586 Match = re.match("(?:^|.+\s+)%s:{(.+?)}" % Key, Remaining) 594 Match = re.match("(?:^|.+\s+)%s:{(.+?)}" % Key, Remaining)
|
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Ufs/UfsPassThruDxe/ |
D | UfsPassThruHci.c | 400 UINT8 *Remaining; in UfsInitUtpPrdt() local 415 Remaining = Buffer; 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() 428 Remaining += UFS_MAX_DATA_LEN_PER_PRD; in UfsInitUtpPrdt()
|