Searched refs:spi_nor_is_unlocked_sr (Results 1 – 1 of 1) sorted by relevance
/kernel/linux/linux-5.10/drivers/mtd/spi-nor/ |
D | core.c | 1651 static int spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_unlocked_sr() function 1794 if (spi_nor_is_unlocked_sr(nor, ofs, len, status_old)) in spi_nor_sr_unlock() 1798 if (!spi_nor_is_unlocked_sr(nor, 0, ofs, status_old)) in spi_nor_sr_unlock() 1802 if (!spi_nor_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in spi_nor_sr_unlock()
|