Home
last modified time | relevance | path

Searched refs:stm_is_unlocked_sr (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mtd/spi-nor/
Dspi-nor.c652 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr() function
785 if (stm_is_unlocked_sr(nor, ofs, len, status_old)) in stm_unlock()
789 if (!stm_is_unlocked_sr(nor, 0, ofs, status_old)) in stm_unlock()
793 if (!stm_is_unlocked_sr(nor, ofs + len, mtd->size - (ofs + len), in stm_unlock()