Lines Matching defs:nor
69 static int read_sr(struct spi_nor *nor) in read_sr()
88 static int read_fsr(struct spi_nor *nor) in read_fsr()
107 static int read_cr(struct spi_nor *nor) in read_cr()
126 static inline int spi_nor_read_dummy_cycles(struct spi_nor *nor) in spi_nor_read_dummy_cycles()
143 static inline int write_sr(struct spi_nor *nor, u8 val) in write_sr()
153 static inline int write_enable(struct spi_nor *nor) in write_enable()
161 static inline int write_disable(struct spi_nor *nor) in write_disable()
172 static inline int set_4byte(struct spi_nor *nor, struct flash_info *info, in set_4byte()
200 static inline int spi_nor_sr_ready(struct spi_nor *nor) in spi_nor_sr_ready()
209 static inline int spi_nor_fsr_ready(struct spi_nor *nor) in spi_nor_fsr_ready()
218 static int spi_nor_ready(struct spi_nor *nor) in spi_nor_ready()
234 static int spi_nor_wait_till_ready(struct spi_nor *nor) in spi_nor_wait_till_ready()
264 static int erase_chip(struct spi_nor *nor) in erase_chip()
271 static int spi_nor_lock_and_prep(struct spi_nor *nor, enum spi_nor_ops ops) in spi_nor_lock_and_prep()
288 static void spi_nor_unlock_and_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in spi_nor_unlock_and_unprep()
301 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_erase() local
372 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_lock()
406 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) in stm_unlock()
442 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_lock() local
457 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_unlock() local
693 static const struct spi_device_id *spi_nor_read_id(struct spi_nor *nor) in spi_nor_read_id()
720 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_read() local
738 struct spi_nor *nor = mtd_to_spi_nor(mtd); in sst_write() local
809 struct spi_nor *nor = mtd_to_spi_nor(mtd); in spi_nor_write() local
853 static int macronix_quad_enable(struct spi_nor *nor) in macronix_quad_enable()
881 static int write_sr_cr(struct spi_nor *nor, u16 val) in write_sr_cr()
889 static int spansion_quad_enable(struct spi_nor *nor) in spansion_quad_enable()
913 static int micron_quad_enable(struct spi_nor *nor) in micron_quad_enable()
952 static int set_quad_mode(struct spi_nor *nor, struct flash_info *info) in set_quad_mode()
981 static int spi_nor_check(struct spi_nor *nor) in spi_nor_check()
992 int spi_nor_scan(struct spi_nor *nor, const char *name, enum read_mode mode) in spi_nor_scan()