Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/power/reset/
Dat91-sama5d2_shdwc.c89 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status() local
93 reg = readl(shdw->at91_shdwc_base + AT91_SHDW_SR); in at91_wakeup_status()
101 if (SHDW_WK_PIN(reg, shdw->cfg)) in at91_wakeup_status()
103 else if (SHDW_RTCWK(reg, shdw->cfg)) in at91_wakeup_status()
200 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure() local
213 mode |= SHDW_RTCWKEN(shdw->cfg); in at91_shdwc_dt_configure()
216 writel(mode, shdw->at91_shdwc_base + AT91_SHDW_MR); in at91_shdwc_dt_configure()
219 writel(input, shdw->at91_shdwc_base + AT91_SHDW_WUIR); in at91_shdwc_dt_configure()
303 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_remove() local
310 writel(0, shdw->at91_shdwc_base + AT91_SHDW_MR); in at91_shdwc_remove()
[all …]