Searched refs:our_mtd (Results 1 – 1 of 1) sorted by relevance
465 static int set_bus_width_page_size(struct mtd_info *our_mtd, in set_bus_width_page_size() argument478 if (our_mtd->writesize == 512) in set_bus_width_page_size()480 else if (our_mtd->writesize == 2048) in set_bus_width_page_size()482 else if (our_mtd->writesize == 4096) in set_bus_width_page_size()486 our_mtd->writesize); in set_bus_width_page_size()924 struct mtd_info *our_mtd; in tegra_probe() local963 our_mtd = nand_to_mtd(nand); in tegra_probe()968 nand->ecc.size = our_mtd->writesize; in tegra_probe()969 nand->ecc.bytes = our_mtd->oobsize; in tegra_probe()971 ret = nand_scan_tail(our_mtd); in tegra_probe()[all …]