Lines Matching defs:spi_nor
571 struct spi_nor { struct
585 enum spi_nor_protocol read_proto; argument
586 enum spi_nor_protocol write_proto; argument
587 enum spi_nor_protocol reg_proto; argument
591 int (*prepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument
592 void (*unprepare)(struct spi_nor *nor, enum spi_nor_ops ops); argument
593 int (*read_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument
594 int (*write_reg)(struct spi_nor *nor, u8 opcode, u8 *buf, int len); argument
596 ssize_t (*read)(struct spi_nor *nor, loff_t from, argument
598 ssize_t (*write)(struct spi_nor *nor, loff_t to, argument
600 int (*erase)(struct spi_nor *nor, loff_t offs); argument
602 int (*clear_sr_bp)(struct spi_nor *nor); argument
603 struct spi_nor_flash_parameter params; argument
609 spi_nor_region_is_last(const struct spi_nor_erase_region *region) in spi_nor_region_is_last() argument