Home
last modified time | relevance | path

Searched refs:BlockLength (Results 1 – 18 of 18) sorted by relevance

/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/
DSDController.c543 if (BufferSize <= SDHostData->BlockLength) { in SendCommand()
546 Data |= (SDHostData->BlockLength | 0x7000); in SendCommand()
558 if (BufferSize <= SDHostData->BlockLength) { in SendCommand()
561 Data = BufferSize / SDHostData->BlockLength; in SendCommand()
630 if (BufferSize <= SDHostData->BlockLength) { in SendCommand()
1277 IN UINT32 BlockLength in SetBlockLength() argument
1284 DEBUG ((EFI_D_INFO, "Block length on the host controller: %d \r\n", BlockLength)); in SetBlockLength()
1285 SDHostData->BlockLength = BlockLength; in SetBlockLength()
1670 SDHostData->BlockLength = 512 << ((Data >> 16) & 0x03); in SDControllerStart()
1671 DEBUG ((EFI_D_INFO, "SdHostDriverBindingStart: BlockLength 0x%x \r\n", SDHostData->BlockLength)); in SDControllerStart()
DSDController.h71 UINT32 BlockLength; member
298 IN UINT32 BlockLength
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbService.c205 UINT32 BlockLength = 0; in FvbGetLbaAddress()
228 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
231 if ( NumBlocks == 0 || BlockLength == 0) { in FvbGetLbaAddress()
241 Offset = Offset + (UINTN)MultU64x32((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
247 *LbaLength = BlockLength; in FvbGetLbaAddress()
257 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
DFwBlockService.c270 UINT32 BlockLength; in FvbGetLbaAddress() local
293 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
295 if (NumBlocks == 0 || BlockLength == 0) { in FvbGetLbaAddress()
305 Offset = Offset + (UINTN) MultU64x32 ((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
311 *LbaLength = BlockLength; in FvbGetLbaAddress()
322 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/
DFWBlockService.c295 UINT32 BlockLength; in FvbGetLbaAddress() local
318 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
320 if (NumBlocks == 0 || BlockLength == 0) { in FvbGetLbaAddress()
330 Offset = Offset + (UINTN) MultU64x32 ((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
336 *LbaLength = BlockLength; in FvbGetLbaAddress()
347 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/
DFWBlockService.c336 UINT32 BlockLength; in FvbGetLbaAddress() local
359 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
361 if (NumBlocks == 0 || BlockLength == 0) { in FvbGetLbaAddress()
371 Offset = Offset + (UINTN) MultU64x32 ((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
377 *LbaLength = BlockLength; in FvbGetLbaAddress()
388 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Framework/Include/
DEfiFirmwareVolumeHeader.h189 UINT32 BlockLength; member
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
DFWBlockService.c378 UINT32 BlockLength; in FvbGetLbaAddress() local
401 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
403 if (NumBlocks == 0 || BlockLength == 0) { in FvbGetLbaAddress()
413 Offset = Offset + (UINTN) MultU64x32 ((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
420 *LbaLength = BlockLength; in FvbGetLbaAddress()
431 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Include/
DSDHostIo.h275 IN UINT32 BlockLength
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
DFwBlockService.c365 UINT32 BlockLength; in FvbGetLbaAddress() local
390 BlockLength = BlockMap->Length; in FvbGetLbaAddress()
392 if ((NumBlocks == 0) || (BlockLength == 0)) { in FvbGetLbaAddress()
402 Offset = Offset + (UINTN) MultU64x32 ((Lba - StartLba), BlockLength); in FvbGetLbaAddress()
412 *LbaLength = BlockLength; in FvbGetLbaAddress()
423 Offset = Offset + NumBlocks * BlockLength; in FvbGetLbaAddress()
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Ppi/
DSdhc.h320 IN UINT32 BlockLength
/device/linaro/bootloader/edk2/Vlv2DeviceRefCodePkg/ValleyView2Soc/SouthCluster/Include/Protocol/
DSdHostIo.h383 IN UINT32 BlockLength
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Sample/Tools/Source/GenFvImage/
DGenFvImageLib.c1016 FvInfo->FvBlocks[Index].BlockLength = (UINT32) Value64; in ParseFvInf()
1090 FvInfo->Size += FvInfo->FvBlocks[Index].NumBlocks * FvInfo->FvBlocks[Index].BlockLength; in ParseFvInf()
1882 IncreaseSize = FvInfo->FvBlocks[0].BlockLength; in ReallocateFvImage()
1883 assert (OldSize == FvInfo->FvBlocks[0].NumBlocks * FvInfo->FvBlocks[0].BlockLength); in ReallocateFvImage()
2971 *FvImageSize = FvInfo.FvBlocks[0].BlockLength; in GenerateFvImage()
3030 FvHeader->FvBlockMap[Index].BlockLength = FvInfo.FvBlocks[Index].BlockLength; in GenerateFvImage()
3036 FvHeader->FvBlockMap[Index].BlockLength = 0; in GenerateFvImage()
3103 *FvImageSize = FvInfo.FvBlocks[0].NumBlocks * FvInfo.FvBlocks[0].BlockLength; in GenerateFvImage()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Binary/AmdModulePkg/Common/
DIscp.h112 UINT8 BlockLength; ///< Block Length of the entire message member
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/FirmwareVolume/FwVolDxe/
DFwVolWrite.c616 Count += LbaEntry->BlockLength; in CalculateRemainingLength()
630 *LOffset = (UINTN) (LbaEntry->BlockLength - (Count - Offset)); in CalculateRemainingLength()
635 Count += LbaEntry->BlockLength; in CalculateRemainingLength()
DFwVolDriver.h61 UINTN BlockLength; member
DFwVol.c413 LbaEntry->BlockLength = BlockMap->Length; in FvCheck()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Library/PlatformBdsLib/
DBdsPlatform.c2165 UINT32 BlockLength; in BdsLockFv() local
2173 BlockLength = BlockMap->Length; in BdsLockFv()
2176 BaseAddress += BlockLength; in BdsLockFv()