Home
last modified time | relevance | path

Searched refs:iim_base (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/arch/arm/mach-imx/
H A Dcpu-imx25.c21 void __iomem *iim_base; in mx25_read_cpu_rev() local
25 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()
H A Dcpu-imx35.c18 void __iomem *iim_base; in mx35_read_cpu_rev() local
23 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()
H A Dcpu-imx5.c25 void __iomem *iim_base; in imx5_read_srev_reg() local
30 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()
H A Dcpu-imx31.c36 void __iomem *iim_base; in mx31_read_cpu_rev() local
41 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()