Searched refs:status_old (Results 1 – 1 of 1) sorted by relevance
1436 int status_old, status_new; in stm_lock() local1443 status_old = read_sr(nor); in stm_lock()1444 if (status_old < 0) in stm_lock()1445 return status_old; in stm_lock()1448 if (stm_is_locked_sr(nor, ofs, len, status_old)) in stm_lock()1452 if (!stm_is_locked_sr(nor, 0, ofs, status_old)) in stm_lock()1457 status_old)) in stm_lock()1489 status_new = (status_old & ~mask & ~SR_TB) | val; in stm_lock()1498 if (status_new == status_old) in stm_lock()1502 if ((status_new & mask) < (status_old & mask)) in stm_lock()[all …]