Lines Matching defs:status_old
158 int ret, status_old, status_new;
170 status_old = nor->bouncebuf[0];
173 if (spi_nor_is_locked_sr(nor, ofs, len, status_old))
177 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old))
182 status_old))
215 status_new = (status_old & ~mask & ~tb_mask) | val;
229 if (status_new == status_old)
233 if ((status_new & mask) < (status_old & mask))
248 int ret, status_old, status_new;
260 status_old = nor->bouncebuf[0];
263 if (spi_nor_is_unlocked_sr(nor, ofs, len, status_old))
267 if (!spi_nor_is_unlocked_sr(nor, 0, ofs, status_old))
272 status_old))
302 status_new = (status_old & ~mask & ~tb_mask) | val;
312 if (status_new == status_old)
316 if ((status_new & mask) > (status_old & mask))