Lines Matching defs:onenand
14 #include <linux/mtd/onenand.h>
29 #define DRIVER_NAME "omap2-onenand"
39 struct onenand_chip onenand;
61 return readw(c->onenand.base + reg);
67 writew(value, c->onenand.base + reg);
456 memset((__force void *)c->onenand.base, 0, ONENAND_BUFRAM_SIZE);
491 c->onenand.base = devm_ioremap_resource(dev, res);
492 if (IS_ERR(c->onenand.base))
493 return PTR_ERR(c->onenand.base);
504 IRQF_TRIGGER_RISING, "onenand", c);
508 c->onenand.wait = omap2_onenand_wait;
516 c->onenand.read_bufferram = omap2_onenand_read_bufferram;
517 c->onenand.write_bufferram = omap2_onenand_write_bufferram;
521 c->mtd.priv = &c->onenand;
526 c->gpmc_cs, c->phys_base, c->onenand.base,
533 freq = omap2_onenand_get_freq(c->onenand.version_id);
597 { .compatible = "ti,omap2-onenand", },