Searched refs:stm_is_locked_sr (Results 1 – 1 of 1) sorted by relevance
/drivers/mtd/spi-nor/ |
D | spi-nor.c | 425 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr() function 471 if (!stm_is_locked_sr(nor, ofs + len, mtd->size - ofs - len, in stm_lock() 519 if (stm_is_locked_sr(nor, ofs - mtd->erasesize, mtd->erasesize, in stm_unlock() 567 return stm_is_locked_sr(nor, ofs, len, status); in stm_is_locked()
|