Lines Matching refs:nor
178 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops);
179 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops);
180 int (*read_xfer)(struct spi_nor *nor, struct spi_nor_xfer_cfg *cfg,
182 int (*write_xfer)(struct spi_nor *nor, struct spi_nor_xfer_cfg *cfg,
184 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len);
185 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len,
188 int (*read)(struct spi_nor *nor, loff_t from,
190 void (*write)(struct spi_nor *nor, loff_t to,
192 int (*erase)(struct spi_nor *nor, loff_t offs);
194 int (*flash_lock)(struct spi_nor *nor, loff_t ofs, uint64_t len);
195 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len);
214 int spi_nor_scan(struct spi_nor *nor, const char *name, enum read_mode mode);