Lines Matching full:shdwc
40 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
139 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws()
148 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
150 /* SHDWC.MR */ in at91_pm_config_ws()
151 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws()
162 /* Check if enabled on SHDWC. */ in at91_pm_config_ws()
185 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument
190 /* SHDWC.WUIR */ in at91_sama5d2_config_shdwc_ws()
191 val = readl(shdwc + 0x0c); in at91_sama5d2_config_shdwc_ws()
711 { .compatible = "atmel,sama5d2-shdwc" },
712 { .compatible = "microchip,sam9x60-shdwc" },
727 pr_warn("%s: failed to find shdwc!\n", __func__); in at91_pm_modes_init()
731 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init()
745 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init()
746 soc_pm.data.shdwc = NULL; in at91_pm_modes_init()