Home
last modified time | relevance | path

Searched refs:pmc_regs (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/arch/powerpc/platforms/83xx/
H A Dsuspend.c145 u32 event = in_be32(&pmc_regs->event); in pmc_irq_handler()
152 out_be32(&pmc_regs->event, event); in pmc_irq_handler()
185 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
204 out_be32(&pmc_regs->mask, PMCER_ALL); in mpc83xx_suspend_enter()
206 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
213 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
228 out_be32(&pmc_regs->config1, in mpc83xx_suspend_enter()
292 out_be32(&pmc_regs->mask, PMCER_PMCI); in mpc83xx_set_agent()
376 pmc_regs = ioremap(res.start, sizeof(*pmc_regs)); in pmc_probe()
378 if (!pmc_regs) { in pmc_probe()
[all …]
/openbmc/linux/arch/powerpc/sysdev/
H A Dfsl_pmc.c20 struct pmc_regs { struct
30 static struct pmc_regs __iomem *pmc_regs; argument
36 setbits32(&pmc_regs->pmcsr, PMCSR_SLP); in pmc_suspend_enter()
40 ret = spin_event_timeout((in_be32(&pmc_regs->pmcsr) & PMCSR_SLP) == 0, in pmc_suspend_enter()
61 pmc_regs = of_iomap(ofdev->dev.of_node, 0); in pmc_probe()
62 if (!pmc_regs) in pmc_probe()