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);
484 c->onenand.base = devm_platform_get_and_ioremap_resource(pdev, 0, &res);
485 if (IS_ERR(c->onenand.base))
486 return PTR_ERR(c->onenand.base);
498 IRQF_TRIGGER_RISING, "onenand", c);
502 c->onenand.wait = omap2_onenand_wait;
510 c->onenand.read_bufferram = omap2_onenand_read_bufferram;
511 c->onenand.write_bufferram = omap2_onenand_write_bufferram;
515 c->mtd.priv = &c->onenand;
520 c->gpmc_cs, c->phys_base, c->onenand.base,
527 freq = omap2_onenand_get_freq(c->onenand.version_id);
589 { .compatible = "ti,omap2-onenand", },