Searched refs:iim_base (Results 1 – 4 of 4) sorted by relevance
21 void __iomem *iim_base; in mx25_read_cpu_rev() local25 iim_base = of_iomap(np, 0); in mx25_read_cpu_rev()27 BUG_ON(!iim_base); in mx25_read_cpu_rev()28 rev = readl(iim_base + MXC_IIMSREV); in mx25_read_cpu_rev()29 iounmap(iim_base); in mx25_read_cpu_rev()
18 void __iomem *iim_base; in mx35_read_cpu_rev() local23 iim_base = of_iomap(np, 0); in mx35_read_cpu_rev()25 BUG_ON(!iim_base); in mx35_read_cpu_rev()27 rev = imx_readl(iim_base + MXC_IIMSREV); in mx35_read_cpu_rev()
25 void __iomem *iim_base; in imx5_read_srev_reg() local30 iim_base = of_iomap(np, 0); in imx5_read_srev_reg()32 WARN_ON(!iim_base); in imx5_read_srev_reg()34 srev = readl(iim_base + IIM_SREV) & 0xff; in imx5_read_srev_reg()36 iounmap(iim_base); in imx5_read_srev_reg()
36 void __iomem *iim_base; in mx31_read_cpu_rev() local41 iim_base = of_iomap(np, 0); in mx31_read_cpu_rev()43 BUG_ON(!iim_base); in mx31_read_cpu_rev()46 srev = imx_readl(iim_base + MXC_IIMSREV); in mx31_read_cpu_rev()