• Home
  • Raw
  • Download

Lines Matching defs:nor

89 static int read_sr(struct spi_nor *nor)  in read_sr()
108 static int read_fsr(struct spi_nor *nor) in read_fsr()
127 static int read_cr(struct spi_nor *nor) in read_cr()
146 static inline int spi_nor_read_dummy_cycles(struct spi_nor *nor) in spi_nor_read_dummy_cycles()
163 static inline int write_sr(struct spi_nor *nor, u8 val) in write_sr()
173 static inline int write_enable(struct spi_nor *nor) in write_enable()
181 static inline int write_disable(struct spi_nor *nor) in write_disable()
192 static inline int set_4byte(struct spi_nor *nor, const struct flash_info *info, in set_4byte()
220 static inline int spi_nor_sr_ready(struct spi_nor *nor) in spi_nor_sr_ready()
229 static inline int spi_nor_fsr_ready(struct spi_nor *nor) in spi_nor_fsr_ready()
238 static int spi_nor_ready(struct spi_nor *nor) in spi_nor_ready()
254 static int spi_nor_wait_till_ready_with_timeout(struct spi_nor *nor, in spi_nor_wait_till_ready_with_timeout()
280 static int spi_nor_wait_till_ready(struct spi_nor *nor) in spi_nor_wait_till_ready()
291 static int erase_chip(struct spi_nor *nor) in erase_chip()
298 static int spi_nor_lock_and_prep(struct spi_nor *nor, enum spi_nor_ops ops) in spi_nor_lock_and_prep()
315 static void spi_nor_unlock_and_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in spi_nor_unlock_and_unprep()
325 static int spi_nor_erase_sector(struct spi_nor *nor, u32 addr) in spi_nor_erase_sector()
351 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_erase() local
428 static void stm_get_locked_range(struct spi_nor *nor, u8 sr, loff_t *ofs, in stm_get_locked_range()
454 static int stm_check_lock_status_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_check_lock_status_sr()
473 static int stm_is_locked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_locked_sr()
479 static int stm_is_unlocked_sr(struct spi_nor *nor, loff_t ofs, uint64_t len, in stm_is_unlocked_sr()
517 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock()
602 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_unlock()
692 static int stm_is_locked(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_is_locked()
705 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_lock() local
720 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_unlock() local
735 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_is_locked() local
1015 static const struct flash_info *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id()
1042 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_read() local
1077 struct spi_nor *nor = mtd_to_spi_nor(mtd); in sst_write() local
1161 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_write() local
1207 static int macronix_quad_enable(struct spi_nor *nor) in macronix_quad_enable()
1236 static int write_sr_cr(struct spi_nor *nor, u16 val) in write_sr_cr()
1244 static int spansion_quad_enable(struct spi_nor *nor) in spansion_quad_enable()
1275 static int set_quad_mode(struct spi_nor *nor, const struct flash_info *info) in set_quad_mode()
1299 static int spi_nor_check(struct spi_nor *nor) in spi_nor_check()
1310 int spi_nor_scan(struct spi_nor *nor, const char *name, enum read_mode mode) in spi_nor_scan()