Lines Matching refs:status_old
162 int ret, status_old, status_new;
174 status_old = nor->bouncebuf[0];
177 if (spi_nor_is_locked_sr(nor, ofs, len, status_old))
181 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old))
186 status_old))
219 status_new = (status_old & ~mask & ~tb_mask) | val;
233 if (status_new == status_old)
237 if ((status_new & mask) < (status_old & mask))
252 int ret, status_old, status_new;
264 status_old = nor->bouncebuf[0];
267 if (spi_nor_is_unlocked_sr(nor, ofs, len, status_old))
271 if (!spi_nor_is_unlocked_sr(nor, 0, ofs, status_old))
276 status_old))
306 status_new = (status_old & ~mask & ~tb_mask) | val;
316 if (status_new == status_old)
320 if ((status_new & mask) > (status_old & mask))