HomeSort by relevance Sort by last modified time
    Searched refs:EMMC_PEIM_MEM_UNIT (Results 1 - 2 of 2) sorted by null

  /device/linaro/bootloader/edk2/MdeModulePkg/Bus/Sd/EmmcBlockIoPei/
EmmcHcMem.h 41 #define EMMC_PEIM_MEM_UNIT 128
43 #define EMMC_PEIM_MEM_UNIT_MASK (EMMC_PEIM_MEM_UNIT - 1)
EmmcHcMem.c 47 // each bit in the bit array represents EMMC_PEIM_MEM_UNIT
50 ASSERT (EMMC_PEIM_MEM_UNIT * 8 <= EFI_PAGE_SIZE);
54 Block->BitsLen = Block->BufLen / (EMMC_PEIM_MEM_UNIT * 8);
168 return Block->Buf + (StartByte * 8 + StartBit) * EMMC_PEIM_MEM_UNIT;
345 Mem = EmmcPeimAllocMemFromBlock (Block, AllocSize / EMMC_PEIM_MEM_UNIT);
378 Mem = EmmcPeimAllocMemFromBlock (NewBlock, AllocSize / EMMC_PEIM_MEM_UNIT);
423 Byte = ((ToFree - Block->Buf) / EMMC_PEIM_MEM_UNIT) / 8;
424 Bit = ((ToFree - Block->Buf) / EMMC_PEIM_MEM_UNIT) % 8;
429 for (Count = 0; Count < (AllocSize / EMMC_PEIM_MEM_UNIT); Count++) {

Completed in 2932 milliseconds