D | spi-nor.h | 283 struct spi_nor { struct 301 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 302 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 303 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument 304 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument 306 ssize_t (*read)(struct spi_nor *nor, loff_t from, argument 308 ssize_t (*write)(struct spi_nor *nor, loff_t to, argument 310 int (*erase)(struct spi_nor *nor, loff_t offs); argument 312 int (*flash_lock)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument 313 int (*flash_unlock)(struct spi_nor *nor, loff_t ofs, uint64_t len); argument [all …]
|