Home
last modified time | relevance | path

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

/linux-6.12.1/arch/powerpc/platforms/83xx/
Dsuspend.c105 static struct mpc83xx_pmc __iomem *pmc_regs; variable
123 u32 reg_cfg1 = in_be32(&pmc_regs->config1); in mpc83xx_change_state()
133 out_be32(&pmc_regs->config1, reg_cfg1); in mpc83xx_change_state()
145 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()
186 in_be32(&pmc_regs->config1) | PMCCR1_PME_EN); in mpc83xx_suspend_enter()
194 out_be32(&pmc_regs->config, PMCCR_SLPEN | PMCCR_DLPEN); 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()
[all …]
/linux-6.12.1/arch/powerpc/sysdev/
Dfsl_pmc.c20 struct pmc_regs { struct
30 static struct pmc_regs __iomem *pmc_regs; variable
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()