Lines Matching defs:spi_nor
154 struct spi_nor { struct
170 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument
171 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument
172 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument
173 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument
175 int (*read)(struct spi_nor *nor, loff_t from, argument
177 void (*write)(struct spi_nor *nor, loff_t to, argument
179 int (*erase)(struct spi_nor *nor, loff_t offs); argument
181 int (*flash_lock)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument
182 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument
183 int (*flash_is_locked)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument
190 * @nor: the spi_nor structure argument