Searched refs:psc_base (Results 1 - 2 of 2) sorted by relevance

/linux-4.1.27/arch/arm/mach-davinci/
H A Dpsc.c33 void __iomem *psc_base; davinci_psc_is_clk_active() local
43 psc_base = ioremap(soc_info->psc_bases[ctlr], SZ_4K); davinci_psc_is_clk_active()
44 mdstat = __raw_readl(psc_base + MDSTAT + 4 * id); davinci_psc_is_clk_active()
45 iounmap(psc_base); davinci_psc_is_clk_active()
55 void __iomem *psc_base; davinci_psc_reset() local
64 psc_base = ioremap(soc_info->psc_bases[ctlr], SZ_4K); davinci_psc_reset()
66 mdctl = readl(psc_base + MDCTL + 4 * id); davinci_psc_reset()
71 writel(mdctl, psc_base + MDCTL + 4 * id); davinci_psc_reset()
73 iounmap(psc_base); davinci_psc_reset()
81 void __iomem *psc_base; davinci_psc_config() local
91 psc_base = ioremap(soc_info->psc_bases[ctlr], SZ_4K); davinci_psc_config()
100 mdctl = __raw_readl(psc_base + MDCTL + 4 * id); davinci_psc_config()
105 __raw_writel(mdctl, psc_base + MDCTL + 4 * id); davinci_psc_config()
107 pdstat = __raw_readl(psc_base + PDSTAT + 4 * domain); davinci_psc_config()
109 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); davinci_psc_config()
111 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); davinci_psc_config()
114 __raw_writel(ptcmd, psc_base + PTCMD); davinci_psc_config()
117 epcpr = __raw_readl(psc_base + EPCPR); davinci_psc_config()
120 pdctl = __raw_readl(psc_base + PDCTL + 4 * domain); davinci_psc_config()
122 __raw_writel(pdctl, psc_base + PDCTL + 4 * domain); davinci_psc_config()
125 __raw_writel(ptcmd, psc_base + PTCMD); davinci_psc_config()
129 ptstat = __raw_readl(psc_base + PTSTAT); davinci_psc_config()
133 mdstat = __raw_readl(psc_base + MDSTAT + 4 * id); davinci_psc_config()
136 iounmap(psc_base); davinci_psc_config()
/linux-4.1.27/drivers/i2c/busses/
H A Di2c-au1550.c48 void __iomem *psc_base; member in struct:i2c_au1550_data
56 __raw_writel(v, a->psc_base + r); WR()
62 return __raw_readl(a->psc_base + r); RD()
337 priv->psc_base = ioremap(r->start, resource_size(r)); i2c_au1550_probe()
338 if (!priv->psc_base) { i2c_au1550_probe()
360 iounmap(priv->psc_base); i2c_au1550_probe()
376 iounmap(priv->psc_base); i2c_au1550_remove()

Completed in 121 milliseconds