Lines Matching refs:spi_flash
105 int sst_write_wp(struct spi_flash *flash, u32 offset, size_t len,
107 int sst_write_bp(struct spi_flash *flash, u32 offset, size_t len,
170 int spi_flash_cmd_erase_ops(struct spi_flash *flash, u32 offset, size_t len);
173 int stm_lock(struct spi_flash *flash, u32 ofs, size_t len);
176 int stm_unlock(struct spi_flash *flash, u32 ofs, size_t len);
179 int stm_is_locked(struct spi_flash *flash, u32 ofs, size_t len);
182 static inline int spi_flash_cmd_write_enable(struct spi_flash *flash) in spi_flash_cmd_write_enable()
188 static inline int spi_flash_cmd_write_disable(struct spi_flash *flash) in spi_flash_cmd_write_disable()
201 int spi_flash_write_common(struct spi_flash *flash, const u8 *cmd,
209 int spi_flash_cmd_write_ops(struct spi_flash *flash, u32 offset,
216 int spi_flash_read_common(struct spi_flash *flash, const u8 *cmd,
220 int spi_flash_cmd_read_ops(struct spi_flash *flash, u32 offset,
224 int spi_flash_mtd_register(struct spi_flash *flash);
238 int spi_flash_scan(struct spi_flash *flash);