Searched defs:nor (Results 1 - 3 of 3) sorted by relevance

/linux-4.1.27/drivers/mtd/devices/
H A Dm25p80.c38 static int m25p80_read_reg(struct spi_nor *nor, u8 code, u8 *val, int len) m25p80_read_reg() argument
51 static void m25p_addr2cmd(struct spi_nor *nor, unsigned int addr, u8 *cmd) m25p_addr2cmd() argument
60 static int m25p_cmdsz(struct spi_nor *nor) m25p_cmdsz() argument
65 static int m25p80_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len, m25p80_write_reg() argument
78 static void m25p80_write(struct spi_nor *nor, loff_t to, size_t len, m25p80_write() argument
108 static inline unsigned int m25p80_rx_nbits(struct spi_nor *nor) m25p80_rx_nbits() argument
124 static int m25p80_read(struct spi_nor *nor, loff_t from, size_t len, m25p80_read() argument
157 static int m25p80_erase(struct spi_nor *nor, loff_t offset) m25p80_erase() argument
183 struct spi_nor *nor; m25p_probe() local
/linux-4.1.27/drivers/mtd/spi-nor/
H A Dspi-nor.c69 static int read_sr(struct spi_nor *nor) read_sr() argument
88 static int read_fsr(struct spi_nor *nor) read_fsr() argument
107 static int read_cr(struct spi_nor *nor) read_cr() argument
126 static inline int spi_nor_read_dummy_cycles(struct spi_nor *nor) spi_nor_read_dummy_cycles() argument
143 static inline int write_sr(struct spi_nor *nor, u8 val) write_sr() argument
153 static inline int write_enable(struct spi_nor *nor) write_enable() argument
161 static inline int write_disable(struct spi_nor *nor) write_disable() argument
172 static inline int set_4byte(struct spi_nor *nor, struct flash_info *info, set_4byte() argument
200 static inline int spi_nor_sr_ready(struct spi_nor *nor) spi_nor_sr_ready() argument
209 static inline int spi_nor_fsr_ready(struct spi_nor *nor) spi_nor_fsr_ready() argument
218 static int spi_nor_ready(struct spi_nor *nor) spi_nor_ready() argument
234 static int spi_nor_wait_till_ready(struct spi_nor *nor) spi_nor_wait_till_ready() argument
264 static int erase_chip(struct spi_nor *nor) erase_chip() argument
271 static int spi_nor_lock_and_prep(struct spi_nor *nor, enum spi_nor_ops ops) spi_nor_lock_and_prep() argument
288 static void spi_nor_unlock_and_unprep(struct spi_nor *nor, enum spi_nor_ops ops) spi_nor_unlock_and_unprep() argument
301 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_erase() local
372 static int stm_lock(struct spi_nor *nor, loff_t ofs, uint64_t len) stm_lock() argument
406 static int stm_unlock(struct spi_nor *nor, loff_t ofs, uint64_t len) stm_unlock() argument
442 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_lock() local
457 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_unlock() local
693 static const struct spi_device_id *spi_nor_read_id(struct spi_nor *nor) spi_nor_read_id() argument
720 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_read() local
738 struct spi_nor *nor = mtd_to_spi_nor(mtd); sst_write() local
809 struct spi_nor *nor = mtd_to_spi_nor(mtd); spi_nor_write() local
853 static int macronix_quad_enable(struct spi_nor *nor) macronix_quad_enable() argument
881 static int write_sr_cr(struct spi_nor *nor, u16 val) write_sr_cr() argument
889 static int spansion_quad_enable(struct spi_nor *nor) spansion_quad_enable() argument
913 static int micron_quad_enable(struct spi_nor *nor) micron_quad_enable() argument
952 static int set_quad_mode(struct spi_nor *nor, struct flash_info *info) set_quad_mode() argument
981 static int spi_nor_check(struct spi_nor *nor) spi_nor_check() argument
992 int spi_nor_scan(struct spi_nor *nor, const char *name, enum read_mode mode) spi_nor_scan() argument
H A Dfsl-quadspi.c223 struct spi_nor nor[FSL_QSPI_MAX_CHIP]; member in struct:fsl_qspi
528 static int fsl_qspi_nor_write(struct fsl_qspi *q, struct spi_nor *nor, fsl_qspi_nor_write() argument
672 static void fsl_qspi_set_base_addr(struct fsl_qspi *q, struct spi_nor *nor) fsl_qspi_set_base_addr() argument
677 static int fsl_qspi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) fsl_qspi_read_reg() argument
690 static int fsl_qspi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len, fsl_qspi_write_reg() argument
715 static void fsl_qspi_write(struct spi_nor *nor, loff_t to, fsl_qspi_write() argument
727 static int fsl_qspi_read(struct spi_nor *nor, loff_t from, fsl_qspi_read() argument
743 static int fsl_qspi_erase(struct spi_nor *nor, loff_t offs) fsl_qspi_erase() argument
759 static int fsl_qspi_prep(struct spi_nor *nor, enum spi_nor_ops ops) fsl_qspi_prep() argument
778 static void fsl_qspi_unprep(struct spi_nor *nor, enum spi_nor_ops ops) fsl_qspi_unprep() argument
793 struct spi_nor *nor; fsl_qspi_probe() local

Completed in 169 milliseconds