Lines Matching refs:onenand
39 struct onenand_chip onenand; member
61 return readw(c->onenand.base + reg); in read_reg()
67 writew(value, c->onenand.base + reg); in write_reg()
456 memset((__force void *)c->onenand.base, 0, ONENAND_BUFRAM_SIZE); in omap2_onenand_shutdown()
484 c->onenand.base = devm_platform_get_and_ioremap_resource(pdev, 0, &res); in omap2_onenand_probe()
485 if (IS_ERR(c->onenand.base)) in omap2_onenand_probe()
486 return PTR_ERR(c->onenand.base); in omap2_onenand_probe()
502 c->onenand.wait = omap2_onenand_wait; in omap2_onenand_probe()
510 c->onenand.read_bufferram = omap2_onenand_read_bufferram; in omap2_onenand_probe()
511 c->onenand.write_bufferram = omap2_onenand_write_bufferram; in omap2_onenand_probe()
515 c->mtd.priv = &c->onenand; in omap2_onenand_probe()
520 c->gpmc_cs, c->phys_base, c->onenand.base, in omap2_onenand_probe()
527 freq = omap2_onenand_get_freq(c->onenand.version_id); in omap2_onenand_probe()