Searched refs:status_new (Results 1 – 1 of 1) sorted by relevance
904 u8 status_old, status_new; in stm_lock() local940 status_new = (status_old & ~mask) | val; in stm_lock()943 if ((status_new & mask) <= (status_old & mask)) in stm_lock()946 write_sr(flash, status_new); in stm_lock()958 uint8_t status_old, status_new; in stm_unlock() local990 status_new = (status_old & ~mask) | val; in stm_unlock()993 if ((status_new & mask) >= (status_old & mask)) in stm_unlock()996 write_sr(flash, status_new); in stm_unlock()