Searched refs:status_old (Results 1 – 1 of 1) sorted by relevance
693 int status_old, status_new; in stm_lock() local700 status_old = read_sr(nor); in stm_lock()701 if (status_old < 0) in stm_lock()702 return status_old; in stm_lock()705 if (stm_is_locked_sr(nor, ofs, len, status_old)) in stm_lock()709 if (!stm_is_locked_sr(nor, 0, ofs, status_old)) in stm_lock()714 status_old)) in stm_lock()746 status_new = (status_old & ~mask & ~SR_TB) | val; in stm_lock()755 if (status_new == status_old) in stm_lock()759 if ((status_new & mask) < (status_old & mask)) in stm_lock()[all …]