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()26 BUG_ON(!iim_base); in mx25_read_cpu_rev()27 rev = readl(iim_base + MXC_IIMSREV); in mx25_read_cpu_rev()28 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()24 BUG_ON(!iim_base); in mx35_read_cpu_rev()26 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()31 WARN_ON(!iim_base); in imx5_read_srev_reg()33 srev = readl(iim_base + IIM_SREV) & 0xff; in imx5_read_srev_reg()35 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()42 BUG_ON(!iim_base); in mx31_read_cpu_rev()45 srev = imx_readl(iim_base + MXC_IIMSREV); in mx31_read_cpu_rev()