Home
last modified time | relevance | path

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

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashDxe.c192 UINT32 LockStatus; in NorFlashBlockIsLocked() local
198 LockStatus = MmioRead32 (CREATE_NOR_ADDRESS(BlockAddress, 2)); in NorFlashBlockIsLocked()
201 LockStatus = FOLD_32BIT_INTO_16BIT(LockStatus); in NorFlashBlockIsLocked()
203 if ((LockStatus & 0x2) != 0) { in NorFlashBlockIsLocked()
207 return ((LockStatus & 0x1) != 0); in NorFlashBlockIsLocked()
217 UINT32 LockStatus; in NorFlashUnlockSingleBlock() local
234 LockStatus = MmioRead32 (CREATE_NOR_ADDRESS(BlockAddress, 2)); in NorFlashUnlockSingleBlock()
237 LockStatus = FOLD_32BIT_INTO_16BIT(LockStatus); in NorFlashUnlockSingleBlock()
238 } while ((LockStatus & 0x1) == 1); in NorFlashUnlockSingleBlock()
248 LockStatus = NorFlashReadStatusRegister (Instance, BlockAddress); in NorFlashUnlockSingleBlock()
[all …]