Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/mtd/spi-nor/
Dspi-nor.c646 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr() function
705 if (stm_is_locked_sr(nor, ofs, len, status_old)) in stm_lock()
709 if (!stm_is_locked_sr(nor, 0, ofs, status_old)) in stm_lock()
713 if (!stm_is_locked_sr(nor, ofs + len, mtd->size - (ofs + len), in stm_lock()
863 return stm_is_locked_sr(nor, ofs, len, status); in stm_is_locked()