Searched refs:onenand_mtd (Results 1 – 6 of 6) sorted by relevance
21 struct mtd_info onenand_mtd; variable28 memset(&onenand_mtd, 0, sizeof(struct mtd_info)); in onenand_init()31 onenand_mtd.priv = &onenand_chip; in onenand_init()35 err = onenand_board_init(&onenand_mtd); in onenand_init()40 if (!err && !(onenand_scan(&onenand_mtd, 1))) { in onenand_init()51 onenand_mtd.name = dev_name; in onenand_init()52 add_mtd_device(&onenand_mtd); in onenand_init()
30 struct mtd_info *mtd = &onenand_mtd; in env_onenand_load()69 struct mtd_info *mtd = &onenand_mtd; in env_onenand_save()88 instr.len <<= onenand_mtd.eraseregions[0].numblocks == 1 ? in env_onenand_save()
25 extern struct mtd_info onenand_mtd;
181 *size = onenand_mtd.size; in mtd_device_validate()298 mtd = &onenand_mtd; in get_part_sector_size_onenand()
371 mtd = &onenand_mtd; in do_onenand_bad()573 mtd = &onenand_mtd; in do_onenand()
302 if (onenand_read(&onenand_mtd, onenand_cache_off, retlen, in read_onenand_cached()