Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/platforms/83xx/
H A Dsuspend.c106 static struct mpc83xx_clock __iomem *clock_regs; variable
163 out_be32(&clock_regs->sccr, saved_regs.sccr); in mpc83xx_suspend_restore_regs()
170 saved_regs.sccr = in_be32(&clock_regs->sccr); in mpc83xx_suspend_save_regs()
389 clock_regs = ioremap(res.start, sizeof(*clock_regs)); in pmc_probe()
391 if (!clock_regs) { in pmc_probe()
412 iounmap(clock_regs); in pmc_probe()
/openbmc/linux/arch/sparc/kernel/
H A Dcentral.c21 void __iomem *clock_regs; member
39 u8 reg = upa_readb(p->clock_regs + CLOCK_STAT1) & 0xc0; in clock_board_calc_nslots()
82 p->clock_regs = of_ioremap(&op->resource[1], 0, in clock_board_probe()
85 if (!p->clock_regs) { in clock_board_probe()
103 (p->clock_regs + CLOCK_CTRL); in clock_board_probe()
133 of_iounmap(&op->resource[1], p->clock_regs, in clock_board_probe()