Lines Matching refs:mtd_info
58 static void altera_qspi_get_locked_range(struct mtd_info *mtd, loff_t *ofs,
63 struct mtd_info *mtd = info->mtd; in flash_print_info()
85 struct mtd_info *mtd = info->mtd; in flash_erase()
105 struct mtd_info *mtd = info->mtd; in write_buff()
133 static int altera_qspi_erase(struct mtd_info *mtd, struct erase_info *instr) in altera_qspi_erase()
194 static int altera_qspi_read(struct mtd_info *mtd, loff_t from, size_t len, in altera_qspi_read()
206 static int altera_qspi_write(struct mtd_info *mtd, loff_t to, size_t len, in altera_qspi_write()
228 static void altera_qspi_sync(struct mtd_info *mtd) in altera_qspi_sync()
232 static void altera_qspi_get_locked_range(struct mtd_info *mtd, loff_t *ofs, in altera_qspi_get_locked_range()
255 static int altera_qspi_lock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in altera_qspi_lock()
289 static int altera_qspi_unlock(struct mtd_info *mtd, loff_t ofs, uint64_t len) in altera_qspi_unlock()
308 struct mtd_info *mtd; in altera_qspi_probe()