Lines Matching refs:onenand
14 #include <linux/mtd/onenand.h>
21 * This version of the driver is named "onenand-flash" and takes struct
23 * with the name "onenand" used to take struct flash_platform_data.
25 #define DRIVER_NAME "onenand-flash"
29 struct onenand_chip onenand;
49 info->onenand.base = ioremap(res->start, size);
50 if (!info->onenand.base) {
55 info->onenand.mmcontrol = pdata ? pdata->mmcontrol : NULL;
61 info->onenand.irq = err;
64 info->mtd.priv = &info->onenand;
79 iounmap(info->onenand.base);
97 iounmap(info->onenand.base);