Home
last modified time | relevance | path

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

/linux/drivers/power/reset/
A Dat91-poweroff.c56 void __iomem *shdwc_base; member
63 u32 reg = readl(at91_shdwc.shdwc_base + AT91_SHDW_SR); in at91_wakeup_status()
99 "r" (at91_shdwc.shdwc_base), in at91_poweroff()
149 writel(wakeup_mode | mode, at91_shdwc.shdwc_base + AT91_SHDW_MR); in at91_poweroff_dt_set_wakeup_mode()
160 at91_shdwc.shdwc_base = devm_ioremap_resource(&pdev->dev, res); in at91_poweroff_probe()
161 if (IS_ERR(at91_shdwc.shdwc_base)) in at91_poweroff_probe()
162 return PTR_ERR(at91_shdwc.shdwc_base); in at91_poweroff_probe()
A Dat91-sama5d2_shdwc.c95 void __iomem *shdwc_base; member
117 reg = readl(shdw->shdwc_base + AT91_SHDW_SR); in at91_wakeup_status()
165 "r" (at91_shdwc->shdwc_base), in at91_poweroff()
254 writel(mode, shdw->shdwc_base + AT91_SHDW_MR); in at91_shdwc_dt_configure()
257 writel(input, shdw->shdwc_base + AT91_SHDW_WUIR); in at91_shdwc_dt_configure()
353 at91_shdwc->shdwc_base = devm_ioremap_resource(&pdev->dev, res); in at91_shdwc_probe()
354 if (IS_ERR(at91_shdwc->shdwc_base)) in at91_shdwc_probe()
355 return PTR_ERR(at91_shdwc->shdwc_base); in at91_shdwc_probe()
434 writel(0, shdw->shdwc_base + AT91_SHDW_MR); in at91_shdwc_remove()
435 writel(0, shdw->shdwc_base + AT91_SHDW_WUIR); in at91_shdwc_remove()

Completed in 4 milliseconds