Searched defs:spi_nor_controller_ops (Results 1 – 1 of 1) sorted by relevance
/linux-5.19.10/include/linux/mtd/ |
D | spi-nor.h | 306 struct spi_nor_controller_ops { struct 307 int (*prepare)(struct spi_nor *nor); 308 void (*unprepare)(struct spi_nor *nor); 309 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, size_t len); 310 int (*write_reg)(struct spi_nor *nor, u8 opcode, const u8 *buf, 313 ssize_t (*read)(struct spi_nor *nor, loff_t from, size_t len, u8 *buf); 314 ssize_t (*write)(struct spi_nor *nor, loff_t to, size_t len, 316 int (*erase)(struct spi_nor *nor, loff_t offs);
|