Searched refs:stm_is_unlocked_sr (Results 1 – 1 of 1) sorted by relevance
/openbmc/u-boot/drivers/mtd/spi/ |
H A D | spi-nor-core.c | 932 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr() function 1065 if (stm_is_unlocked_sr(nor, ofs, len, status_old)) in stm_unlock() 1069 if (!stm_is_unlocked_sr(nor, 0, ofs, status_old)) in stm_unlock() 1073 if (!stm_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in stm_unlock()
|