Searched refs:status_old (Results 1 – 1 of 1) sorted by relevance
904 u8 status_old, status_new; in stm_lock() local909 ret = read_sr(flash, &status_old); in stm_lock()917 status_old)) in stm_lock()940 status_new = (status_old & ~mask) | val; in stm_lock()943 if ((status_new & mask) <= (status_old & mask)) in stm_lock()958 uint8_t status_old, status_new; in stm_unlock() local963 ret = read_sr(flash, &status_old); in stm_unlock()969 status_old)) in stm_unlock()990 status_new = (status_old & ~mask) | val; in stm_unlock()993 if ((status_new & mask) >= (status_old & mask)) in stm_unlock()