Searched refs:autcpu12_mtd (Results 1 – 1 of 1) sorted by relevance
42 static struct mtd_info *autcpu12_mtd = NULL; variable137 autcpu12_mtd = kmalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), in autcpu12_init()139 if (!autcpu12_mtd) { in autcpu12_init()154 this = (struct nand_chip *)(&autcpu12_mtd[1]); in autcpu12_init()157 memset(autcpu12_mtd, 0, sizeof(struct mtd_info)); in autcpu12_init()161 autcpu12_mtd->priv = this; in autcpu12_init()162 autcpu12_mtd->owner = THIS_MODULE; in autcpu12_init()180 if (nand_scan(autcpu12_mtd, 1)) { in autcpu12_init()186 switch (autcpu12_mtd->size) { in autcpu12_init()188 add_mtd_partitions(autcpu12_mtd, partition_info16k, in autcpu12_init()[all …]