/linux/drivers/power/reset/ |
H A D | at91-sama5d2_shdwc.c | 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() [all …]
|
H A D | at91-poweroff.c | 54 static struct shdwc { struct
|
/linux/arch/arm/mach-at91/ |
H A D | pm.c | 126 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity); 254 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws() 263 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws() 266 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws() 300 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument 306 val = readl(shdwc + 0x0c); in at91_sama5d2_config_shdwc_ws() 1249 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init() 1302 if (soc_pm.data.shdwc && in at91_pm_modes_init() 1305 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init() 1306 soc_pm.data.shdwc = NULL; in at91_pm_modes_init()
|
H A D | pm.h | 36 void __iomem *shdwc; member
|
H A D | pm_data-offsets.c | 15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
|
H A D | pm_suspend.S | 1014 ldr r0, .shdwc 1076 str tmp1, .shdwc 1123 .shdwc: label
|
/linux/arch/arm/boot/dts/microchip/ |
H A D | usb_a9260.dts | 25 shdwc: poweroff@fffffd10 { label
|
H A D | at91sam9260ek.dts | 115 shdwc: poweroff@fffffd10 { label
|
H A D | at91-qil_a9260.dts | 111 shdwc: poweroff@fffffd10 { label
|
H A D | at91sam9g20ek_common.dtsi | 129 shdwc: poweroff@fffffd10 { label
|
H A D | at91sam9260.dtsi | 133 shdwc: poweroff@fffffd10 { label 134 compatible = "atmel,at91sam9260-shdwc";
|
H A D | at91-sama7g54_curiosity.dts | 467 &shdwc {
|
H A D | sama7g5.dtsi | 260 shdwc: poweroff@e001d010 { label 261 compatible = "microchip,sama7g5-shdwc", "syscon";
|
H A D | at91sam9261.dtsi | 618 compatible = "atmel,at91sam9260-shdwc";
|
H A D | at91-sama7g5ek.dts | 847 &shdwc {
|
H A D | at91sam9rl.dtsi | 782 compatible = "atmel,at91sam9260-shdwc";
|
H A D | at91sam9n12.dtsi | 144 compatible = "atmel,at91sam9x5-shdwc";
|
H A D | at91sam9x5.dtsi | 145 compatible = "atmel,at91sam9x5-shdwc";
|
H A D | at91sam9263.dtsi | 162 compatible = "atmel,at91sam9260-shdwc";
|
H A D | sama5d2.dtsi | 684 compatible = "atmel,sama5d2-shdwc";
|
H A D | at91sam9g45.dtsi | 156 compatible = "atmel,at91sam9rl-shdwc";
|
H A D | sam9x60.dtsi | 1327 compatible = "microchip,sam9x60-shdwc";
|
H A D | sama5d3.dtsi | 1020 compatible = "atmel,at91sam9x5-shdwc";
|
H A D | sama5d4.dtsi | 744 compatible = "atmel,at91sam9x5-shdwc";
|