Searched refs:stm_is_unlocked_sr (Results 1 – 1 of 1) sorted by relevance
| /Linux-v5.4/drivers/mtd/spi-nor/ |
| D | spi-nor.c | 1395 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr() function 1528 if (stm_is_unlocked_sr(nor, ofs, len, status_old)) in stm_unlock() 1532 if (!stm_is_unlocked_sr(nor, 0, ofs, status_old)) in stm_unlock() 1536 if (!stm_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in stm_unlock()
|