Lines Matching full:shdwc
2 * Atmel SAMA5D2-Compatible Shutdown Controller (SHDWC) driver.
87 struct shdwc_reg_config shdwc; member
92 struct shdwc { struct
104 static struct shdwc *at91_shdwc; argument
112 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status()
125 if (SHDW_WK_PIN(reg, &rcfg->shdwc)) in at91_wakeup_status()
127 else if (SHDW_RTCWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
129 else if (SHDW_RTTWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
234 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure()
248 mode |= SHDW_RTCWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
251 mode |= SHDW_RTTWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
261 .shdwc = {
278 .shdwc = {
295 .shdwc = {
309 .compatible = "atmel,sama5d2-shdwc",
313 .compatible = "microchip,sam9x60-shdwc",
317 .compatible = "microchip,sama7g5-shdwc",
426 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_remove()
447 .name = "at91-shdwc",