Home
last modified time | relevance | path

Searched refs:spi_nor_is_locked_sr (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/mtd/spi-nor/
H A Dswp.c109 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_locked_sr() function
173 if (spi_nor_is_locked_sr(nor, ofs, len, status_old)) in spi_nor_sr_lock()
177 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock()
181 if (!spi_nor_is_locked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_lock()
337 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()