Lines Matching refs:read_reg
59 static inline unsigned short read_reg(struct omap2_onenand *c, int reg) in read_reg() function
170 intr = read_reg(c, ONENAND_REG_INTERRUPT); in omap2_onenand_wait()
174 ctrl = read_reg(c, ONENAND_REG_CTRL_STATUS); in omap2_onenand_wait()
188 syscfg = read_reg(c, ONENAND_REG_SYS_CFG1); in omap2_onenand_wait()
193 syscfg = read_reg(c, ONENAND_REG_SYS_CFG1); in omap2_onenand_wait()
199 ctrl = read_reg(c, ONENAND_REG_CTRL_STATUS); in omap2_onenand_wait()
200 intr = read_reg(c, ONENAND_REG_INTERRUPT); in omap2_onenand_wait()
209 ctrl = read_reg(c, ONENAND_REG_CTRL_STATUS); in omap2_onenand_wait()
219 intr = read_reg(c, in omap2_onenand_wait()
224 intr = read_reg(c, ONENAND_REG_INTERRUPT); in omap2_onenand_wait()
233 syscfg = read_reg(c, ONENAND_REG_SYS_CFG1); in omap2_onenand_wait()
240 intr = read_reg(c, ONENAND_REG_INTERRUPT); in omap2_onenand_wait()
245 ctrl = read_reg(c, ONENAND_REG_CTRL_STATUS); in omap2_onenand_wait()
263 intr = read_reg(c, ONENAND_REG_INTERRUPT); in omap2_onenand_wait()
264 ctrl = read_reg(c, ONENAND_REG_CTRL_STATUS); in omap2_onenand_wait()
267 int ecc = read_reg(c, ONENAND_REG_ECC_STATUS); in omap2_onenand_wait()
272 addr1 = read_reg(c, ONENAND_REG_START_ADDRESS1); in omap2_onenand_wait()
273 addr8 = read_reg(c, ONENAND_REG_START_ADDRESS8); in omap2_onenand_wait()