D | spi-nor.h | 162 struct spi_nor { struct 178 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 179 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument 180 int (*read_xfer)(struct spi_nor *nor, struct spi_nor_xfer_cfg *cfg, argument 182 int (*write_xfer)(struct spi_nor *nor, struct spi_nor_xfer_cfg *cfg, argument 184 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument 185 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len, argument 188 int (*read)(struct spi_nor *nor, loff_t from, argument 190 void (*write)(struct spi_nor *nor, loff_t to, argument 192 int (*erase)(struct spi_nor *nor, loff_t offs); argument [all …]
|