Searched refs:spi_nor_is_locked_sr (Results 1 – 1 of 1) sorted by relevance
/linux/drivers/mtd/spi-nor/ |
H A D | swp.c | 114 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, u64 len, u8 sr) in spi_nor_is_locked_sr() function 177 if (spi_nor_is_locked_sr(nor, ofs, len, status_old)) in spi_nor_sr_lock() 181 if (!spi_nor_is_locked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_lock() 185 if (!spi_nor_is_locked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_lock() 341 return spi_nor_is_locked_sr(nor, ofs, len, nor->bouncebuf[0]); in spi_nor_sr_is_locked()
|