Lines Matching defs:ofs
629 static void stm_get_locked_range(struct spi_nor *nor, u8 sr, loff_t *ofs, in stm_get_locked_range()
655 static int stm_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, u64 len, in stm_check_lock_status_sr()
674 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr()
680 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr()
718 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock()
798 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_unlock()
883 static int stm_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_is_locked()
1018 static int sst26_lock_ctl(struct spi_nor *nor, loff_t ofs, uint64_t len, enum lock_ctl ctl) in sst26_lock_ctl()
1120 static int sst26_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26_unlock()
1125 static int sst26_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26_lock()
1134 static int sst26_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in sst26_is_locked()