Lines Matching refs:nor
170 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops);
171 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops);
172 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len);
173 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len);
175 int (*read)(struct spi_nor *nor, loff_t from,
177 void (*write)(struct spi_nor *nor, loff_t to,
179 int (*erase)(struct spi_nor *nor, loff_t offs);
181 int (*flash_lock)(struct spi_nor *nor, loff_t ofs, uint64_t len);
182 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len);
183 int (*flash_is_locked)(struct spi_nor *nor, loff_t ofs, uint64_t len);
202 int spi_nor_scan(struct spi_nor *nor, const char *name, enum read_mode mode);