Searched refs:LockStatus (Results 1 – 1 of 1) sorted by relevance
192 UINT32 LockStatus; in NorFlashBlockIsLocked() local198 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() local234 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 …]