Home
last modified time | relevance | path

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

/openbmc/linux/drivers/power/reset/
H A Dat91-poweroff.c57 void __iomem *mpddrc_base; member
97 : "r" (at91_shdwc.mpddrc_base), in at91_poweroff()
179 at91_shdwc.mpddrc_base = of_iomap(np, 0); in at91_poweroff_probe()
182 if (!at91_shdwc.mpddrc_base) { in at91_poweroff_probe()
187 ddr_type = readl(at91_shdwc.mpddrc_base + AT91_DDRSDRC_MDR) & in at91_poweroff_probe()
191 iounmap(at91_shdwc.mpddrc_base); in at91_poweroff_probe()
192 at91_shdwc.mpddrc_base = NULL; in at91_poweroff_probe()
210 if (at91_shdwc.mpddrc_base) in at91_poweroff_remove()
211 iounmap(at91_shdwc.mpddrc_base); in at91_poweroff_remove()
H A Dat91-sama5d2_shdwc.c96 void __iomem *mpddrc_base; member
163 : "r" (at91_shdwc->mpddrc_base), in at91_poweroff()
394 at91_shdwc->mpddrc_base = of_iomap(np, 0); in at91_shdwc_probe()
397 if (!at91_shdwc->mpddrc_base) { in at91_shdwc_probe()
402 ddr_type = readl(at91_shdwc->mpddrc_base + in at91_shdwc_probe()
407 iounmap(at91_shdwc->mpddrc_base); in at91_shdwc_probe()
408 at91_shdwc->mpddrc_base = NULL; in at91_shdwc_probe()
435 if (shdw->mpddrc_base) in at91_shdwc_remove()
436 iounmap(shdw->mpddrc_base); in at91_shdwc_remove()