Lines Matching refs:spi_nor
263 struct spi_nor nor[FSL_QSPI_MAX_CHIP];
578 static int fsl_qspi_nor_write(struct fsl_qspi *q, struct spi_nor *nor, in fsl_qspi_nor_write()
783 static void fsl_qspi_set_base_addr(struct fsl_qspi *q, struct spi_nor *nor) in fsl_qspi_set_base_addr()
788 static int fsl_qspi_read_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in fsl_qspi_read_reg()
801 static int fsl_qspi_write_reg(struct spi_nor *nor, u8 opcode, u8 *buf, int len) in fsl_qspi_write_reg()
825 static void fsl_qspi_write(struct spi_nor *nor, loff_t to, in fsl_qspi_write()
837 static int fsl_qspi_read(struct spi_nor *nor, loff_t from, in fsl_qspi_read()
884 static int fsl_qspi_erase(struct spi_nor *nor, loff_t offs) in fsl_qspi_erase()
900 static int fsl_qspi_prep(struct spi_nor *nor, enum spi_nor_ops ops) in fsl_qspi_prep()
919 static void fsl_qspi_unprep(struct spi_nor *nor, enum spi_nor_ops ops) in fsl_qspi_unprep()
934 struct spi_nor *nor; in fsl_qspi_probe()