Lines Matching defs:nor
13 static u8 spi_nor_get_sr_bp_mask(struct spi_nor *nor) in spi_nor_get_sr_bp_mask()
26 static u8 spi_nor_get_sr_tb_mask(struct spi_nor *nor) in spi_nor_get_sr_tb_mask()
34 static u64 spi_nor_get_min_prot_length_sr(struct spi_nor *nor) in spi_nor_get_min_prot_length_sr()
50 static void spi_nor_get_locked_range_sr(struct spi_nor *nor, u8 sr, loff_t *ofs, in spi_nor_get_locked_range_sr()
87 static bool spi_nor_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_check_lock_status_sr()
109 static bool spi_nor_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in spi_nor_is_locked_sr()
115 static bool spi_nor_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, in spi_nor_is_unlocked_sr()
154 static int spi_nor_sr_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_lock()
239 static int spi_nor_sr_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_unlock()
324 static int spi_nor_sr_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in spi_nor_sr_is_locked()
341 void spi_nor_init_default_locking_ops(struct spi_nor *nor) in spi_nor_init_default_locking_ops()
348 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_lock() local
363 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_unlock() local
378 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_is_locked() local
403 void spi_nor_try_unlock_all(struct spi_nor *nor) in spi_nor_try_unlock_all()
417 void spi_nor_set_mtd_locking_ops(struct spi_nor *nor) in spi_nor_set_mtd_locking_ops()