Lines Matching full:onenand
7 * This is a device driver for the OneNAND flash for generic boards.
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; member
49 info->onenand.base = ioremap(res->start, size); in generic_onenand_probe()
50 if (!info->onenand.base) { in generic_onenand_probe()
55 info->onenand.mmcontrol = pdata ? pdata->mmcontrol : NULL; in generic_onenand_probe()
61 info->onenand.irq = err; in generic_onenand_probe()
64 info->mtd.priv = &info->onenand; in generic_onenand_probe()
79 iounmap(info->onenand.base); in generic_onenand_probe()
97 iounmap(info->onenand.base); in generic_onenand_remove()
114 MODULE_DESCRIPTION("Glue layer for OneNAND flash on generic boards");