Searched refs:stm_is_locked_sr (Results 1 – 1 of 1) sorted by relevance
/external/u-boot/drivers/mtd/spi/ |
D | spi_flash.c | 849 static int stm_is_locked_sr(struct spi_flash *flash, loff_t ofs, u64 len, in stm_is_locked_sr() function 876 return stm_is_locked_sr(flash, ofs, len, sr); in stm_is_locked() 916 if (!stm_is_locked_sr(flash, ofs + len, flash->size - ofs - len, in stm_lock() 968 if (stm_is_locked_sr(flash, ofs - flash->erase_size, flash->erase_size, in stm_unlock()
|