/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/ |
D | StyxSpiFvDxe.c | 29 #define BLOCK_SIZE (FixedPcdGet32 (PcdFlashNvStorageBlockSize)) macro 194 *BlockSize = BLOCK_SIZE; in StyxSpiFvDxeGetBlockSize() 195 *NumberOfBlocks = mNvStorageSize / BLOCK_SIZE - (UINTN)Lba; in StyxSpiFvDxeGetBlockSize() 259 if (Offset + *NumBytes > BLOCK_SIZE) { in StyxSpiFvDxeRead() 263 Base = (VOID *)mNvStorageBase + Lba * BLOCK_SIZE + Offset; in StyxSpiFvDxeRead() 276 Lba * BLOCK_SIZE + Offset, Buffer, *NumBytes); in StyxSpiFvDxeRead() 358 if (Offset + *NumBytes > BLOCK_SIZE) { in StyxSpiFvDxeWrite() 362 Base = (VOID *)mNvStorageBase + Lba * BLOCK_SIZE + Offset; in StyxSpiFvDxeWrite() 366 Lba * BLOCK_SIZE + Offset, Buffer, *NumBytes); in StyxSpiFvDxeWrite() 445 (Start + mNvStorageLbaOffset) * BLOCK_SIZE, in StyxSpiFvDxeErase() [all …]
|
/device/linaro/bootloader/edk2/OvmfPkg/ |
D | OvmfPkg.fdf.inc | 24 DEFINE BLOCK_SIZE = 0x1000 56 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize = $(BLOCK_SIZE) 62 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize = $(BLOCK_SIZE) 65 SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = $(BLOCK_SIZE)
|
D | OvmfPkgIa32.fdf | 30 BlockSize = $(BLOCK_SIZE) 49 BlockSize = $(BLOCK_SIZE) 58 BlockSize = $(BLOCK_SIZE)
|
D | OvmfPkgIa32X64.fdf | 30 BlockSize = $(BLOCK_SIZE) 49 BlockSize = $(BLOCK_SIZE) 58 BlockSize = $(BLOCK_SIZE)
|
D | OvmfPkgX64.fdf | 30 BlockSize = $(BLOCK_SIZE) 49 BlockSize = $(BLOCK_SIZE) 58 BlockSize = $(BLOCK_SIZE)
|
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/ |
D | FirmwareUpdate.c | 375 CountOfBlocks = (UINTN) (BufferSize / BLOCK_SIZE); 418 (BufferSize > BLOCK_SIZE ? BLOCK_SIZE : BufferSize) 430 Address += BLOCK_SIZE; 431 Buffer += BLOCK_SIZE; 432 if (BufferSize > BLOCK_SIZE) { 433 BufferSize -= BLOCK_SIZE; 518 NumBytes = BLOCK_SIZE; 536 BlockSize = BLOCK_SIZE; 556 NumBytes = BLOCK_SIZE; 567 CompareResult = CompareMem (CompareBuffer, Buffer, BLOCK_SIZE); [all …]
|
D | FirmwareUpdate.h | 144 #define BLOCK_SIZE SIZE_4KB
|
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/ |
D | FileIo.c | 56 #define BLOCK_SIZE 0x200 in CheckStore() macro 61 UINT8 BootSector[BLOCK_SIZE]; in CheckStore() 88 BLOCK_SIZE, in CheckStore()
|
/device/linaro/bootloader/edk2/DuetPkg/BootSector/ |
D | Gpt.S | 24 .equ BLOCK_SIZE, 0x0200 define 128 …CK_SHIFT, %eax # EAX = (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE 130 … # = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE 136 … # (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE) 148 … # EDX = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE
|
D | Gpt.asm | 24 BLOCK_SIZE EQU 0200h define 126 … BLOCK_SHIFT ; EAX = (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE 128 … ; = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE 134 … ; (SizeOfPartitionEntry * GptPartitionIndicator) / BLOCK_SIZE) 146 … ; EDX = (SizeOfPartitionEntry * GptPartitionIndicator) % BLOCK_SIZE
|
D | bs16.S | 25 .equ BLOCK_SIZE, 0x0200 define 249 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | Mbr.S | 20 .equ BLOCK_SIZE, 0x0200 define
|
D | bs32.S | 25 .equ BLOCK_SIZE, 0x0200 define 270 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | bs16.asm | 25 BLOCK_SIZE EQU 0200h define 246 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | Mbr.asm | 24 BLOCK_SIZE EQU 0200h define
|
D | bs32.asm | 25 BLOCK_SIZE EQU 0200h define 268 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start16.S | 25 .equ BLOCK_SIZE, 0x0200 define 274 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start.S | 24 .equ BLOCK_SIZE, 0x0200 define 280 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start16.asm | 25 BLOCK_SIZE EQU 0200h define 270 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start32.S | 25 .equ BLOCK_SIZE, 0x0200 define 289 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start.asm | 25 BLOCK_SIZE EQU 0200h define 277 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
D | start32.asm | 25 BLOCK_SIZE EQU 0200h define 285 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
|
/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/ |
D | Flash.h | 39 #define BLOCK_SIZE(x) (((x) >> 4) & 0x01) macro
|
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/ |
D | FileStorage.c | 91 #define BLOCK_SIZE 0x200 in CheckStore() macro 96 UINT8 BootSector[BLOCK_SIZE]; in CheckStore() 123 BLOCK_SIZE, in CheckStore()
|
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/ |
D | SDController.h | 48 #define BLOCK_SIZE 0x200 macro
|