Lines Matching defs:onenand_base
31 static int omap2_onenand_set_async_mode(int cs, void __iomem *onenand_base)
49 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1);
51 writew(reg, onenand_base + ONENAND_REG_SYS_CFG1);
89 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1);
91 writew(reg, onenand_base + ONENAND_REG_SYS_CFG1);
96 static void set_onenand_cfg(void __iomem *onenand_base, int latency,
101 reg = readw(onenand_base + ONENAND_REG_SYS_CFG1);
117 writew(reg, onenand_base + ONENAND_REG_SYS_CFG1);
121 void __iomem *onenand_base,
144 return omap2_onenand_set_async_mode(cs, onenand_base);
148 err = omap2_onenand_set_async_mode(cs, onenand_base);
151 reg = readw(onenand_base + ONENAND_REG_VERSION_ID);
219 set_onenand_cfg(onenand_base, latency,
311 set_onenand_cfg(onenand_base, latency, sync_read, sync_write, hf);
316 static int gpmc_onenand_setup(void __iomem *onenand_base, int freq)
321 if (omap2_onenand_set_sync_mode(gpmc_onenand_data, onenand_base,