Lines Matching refs:LockStatus
38 UINT32 LockStatus; in NorFlashBlockIsLocked() local
44 LockStatus = MmioRead32 (CREATE_NOR_ADDRESS(BlockAddress, 2)); in NorFlashBlockIsLocked()
47 LockStatus = FOLD_32BIT_INTO_16BIT(LockStatus); in NorFlashBlockIsLocked()
49 if ((LockStatus & 0x2) != 0) { in NorFlashBlockIsLocked()
53 return ((LockStatus & 0x1) != 0); in NorFlashBlockIsLocked()
63 UINT32 LockStatus; in NorFlashUnlockSingleBlock() local
80 LockStatus = MmioRead32 (CREATE_NOR_ADDRESS(BlockAddress, 2)); in NorFlashUnlockSingleBlock()
83 LockStatus = FOLD_32BIT_INTO_16BIT(LockStatus); in NorFlashUnlockSingleBlock()
84 } while ((LockStatus & 0x1) == 1); in NorFlashUnlockSingleBlock()
94 LockStatus = NorFlashReadStatusRegister (Instance, BlockAddress); in NorFlashUnlockSingleBlock()
95 } while ((LockStatus & P30_SR_BIT_WRITE) != P30_SR_BIT_WRITE); in NorFlashUnlockSingleBlock()