Home
last modified time | relevance | path

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

/OK3568_Linux_fs/u-boot/drivers/mtd/spi/
H A Dspi_flash.c585 static int sst26_lock_ctl(struct spi_flash *flash, u32 ofs, size_t len, enum lock_ctl ctl) in sst26_lock_ctl() function
685 return sst26_lock_ctl(flash, ofs, len, SST26_CTL_UNLOCK); in sst26_unlock()
690 return sst26_lock_ctl(flash, ofs, len, SST26_CTL_LOCK); in sst26_lock()
708 return sst26_lock_ctl(flash, ofs, len, SST26_CTL_CHECK); in sst26_is_locked()
H A Dspi-nor-core.c1005 static int sst26_lock_ctl(struct spi_nor *nor, loff_t ofs, uint64_t len, enum lock_ctl ctl) in sst26_lock_ctl() function
1109 return sst26_lock_ctl(nor, ofs, len, SST26_CTL_UNLOCK); in sst26_unlock()
1114 return sst26_lock_ctl(nor, ofs, len, SST26_CTL_LOCK); in sst26_lock()
1132 return sst26_lock_ctl(nor, ofs, len, SST26_CTL_CHECK); in sst26_is_locked()