Searched refs:status_new (Results 1 – 1 of 1) sorted by relevance
158 int ret, status_old, status_new; in spi_nor_sr_lock() local215 status_new = (status_old & ~mask & ~tb_mask) | val; in spi_nor_sr_lock()218 status_new |= SR_SRWD; in spi_nor_sr_lock()221 status_new |= tb_mask; in spi_nor_sr_lock()224 if (status_new == status_old) in spi_nor_sr_lock()228 if ((status_new & mask) < (status_old & mask)) in spi_nor_sr_lock()243 int ret, status_old, status_new; in spi_nor_sr_unlock() local301 status_new &= ~SR_SRWD; in spi_nor_sr_unlock()304 status_new |= tb_mask; in spi_nor_sr_unlock()307 if (status_new == status_old) in spi_nor_sr_unlock()[all …]
Completed in 4 milliseconds