Searched refs:shdw (Results 1 – 1 of 1) sorted by relevance
97 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status() local101 reg = readl(shdw->shdwc_base + AT91_SHDW_SR); in at91_wakeup_status()109 if (SHDW_WK_PIN(reg, shdw->cfg)) in at91_wakeup_status()111 else if (SHDW_RTCWK(reg, shdw->cfg)) in at91_wakeup_status()113 else if (SHDW_RTTWK(reg, shdw->cfg)) in at91_wakeup_status()217 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure() local230 mode |= SHDW_RTCWKEN(shdw->cfg); in at91_shdwc_dt_configure()233 mode |= SHDW_RTTWKEN(shdw->cfg); in at91_shdwc_dt_configure()236 writel(mode, shdw->shdwc_base + AT91_SHDW_MR); in at91_shdwc_dt_configure()239 writel(input, shdw->shdwc_base + AT91_SHDW_WUIR); in at91_shdwc_dt_configure()[all …]