Lines Matching refs:au1550_mtd
27 static struct mtd_info *au1550_mtd = NULL;
452 au1550_mtd = kzalloc(sizeof(struct mtd_info) + sizeof(struct nand_chip), GFP_KERNEL);
453 if (!au1550_mtd) {
459 this = (struct nand_chip *)(&au1550_mtd[1]);
462 au1550_mtd->priv = this;
463 au1550_mtd->owner = THIS_MODULE;
536 kfree(au1550_mtd);
575 if (nand_scan(au1550_mtd, 1)) {
581 add_mtd_partitions(au1550_mtd, partition_info, ARRAY_SIZE(partition_info));
589 kfree(au1550_mtd);
601 nand_release(au1550_mtd);
604 kfree(au1550_mtd);