Home
last modified time | relevance | path

Searched refs:BLOCK_SIZE (Results 1 – 25 of 36) sorted by relevance

12

/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxSpiFvDxe/
DStyxSpiFvDxe.c29 #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/
DOvmfPkg.fdf.inc24 DEFINE BLOCK_SIZE = 0x1000
56 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFirmwareBlockSize = $(BLOCK_SIZE)
62 SET gUefiOvmfPkgTokenSpaceGuid.PcdOvmfFlashNvStorageEventLogSize = $(BLOCK_SIZE)
65 SET gEfiMdeModulePkgTokenSpaceGuid.PcdFlashNvStorageFtwWorkingSize = $(BLOCK_SIZE)
DOvmfPkgIa32.fdf30 BlockSize = $(BLOCK_SIZE)
49 BlockSize = $(BLOCK_SIZE)
58 BlockSize = $(BLOCK_SIZE)
DOvmfPkgIa32X64.fdf30 BlockSize = $(BLOCK_SIZE)
49 BlockSize = $(BLOCK_SIZE)
58 BlockSize = $(BLOCK_SIZE)
DOvmfPkgX64.fdf30 BlockSize = $(BLOCK_SIZE)
49 BlockSize = $(BLOCK_SIZE)
58 BlockSize = $(BLOCK_SIZE)
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/Application/FirmwareUpdate/
DFirmwareUpdate.c375 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 …]
DFirmwareUpdate.h144 #define BLOCK_SIZE SIZE_4KB
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
DFileIo.c56 #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/
DGpt.S24 .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
DGpt.asm24 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
Dbs16.S25 .equ BLOCK_SIZE, 0x0200 define
249 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
DMbr.S20 .equ BLOCK_SIZE, 0x0200 define
Dbs32.S25 .equ BLOCK_SIZE, 0x0200 define
270 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dbs16.asm25 BLOCK_SIZE EQU 0200h define
246 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
DMbr.asm24 BLOCK_SIZE EQU 0200h define
Dbs32.asm25 BLOCK_SIZE EQU 0200h define
268 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart16.S25 .equ BLOCK_SIZE, 0x0200 define
274 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart.S24 .equ BLOCK_SIZE, 0x0200 define
280 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart16.asm25 BLOCK_SIZE EQU 0200h define
270 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart32.S25 .equ BLOCK_SIZE, 0x0200 define
289 movw %ax, %es # es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart.asm25 BLOCK_SIZE EQU 0200h define
277 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
Dstart32.asm25 BLOCK_SIZE EQU 0200h define
285 mov es,ax ; es:di = es:di + NumberOfBlocks*BLOCK_SIZE
/device/linaro/bootloader/edk2/Omap35xxPkg/Flash/
DFlash.h39 #define BLOCK_SIZE(x) (((x) >> 4) & 0x01) macro
/device/linaro/bootloader/edk2/DuetPkg/FSVariable/
DFileStorage.c91 #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/
DSDController.h48 #define BLOCK_SIZE 0x200 macro

12