Home
last modified time | relevance | path

Searched refs:shdwc (Results 1 – 25 of 39) sorted by relevance

12

/openbmc/linux/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c87 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 Dat91-poweroff.c54 static struct shdwc { struct
/openbmc/linux/arch/arm/mach-at91/
H A Dpm.c126 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
247 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws()
256 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
259 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws()
293 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument
299 val = readl(shdwc + 0x0c); in at91_sama5d2_config_shdwc_ws()
1248 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init()
1301 if (soc_pm.data.shdwc && in at91_pm_modes_init()
1304 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init()
1305 soc_pm.data.shdwc = NULL; in at91_pm_modes_init()
H A Dpm.h36 void __iomem *shdwc; member
H A Dpm_data-offsets.c15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
H A Dpm_suspend.S1014 ldr r0, .shdwc
1076 str tmp1, .shdwc
1123 .shdwc: label
/openbmc/linux/arch/arm/boot/dts/microchip/
H A Dusb_a9260.dts25 shdwc: poweroff@fffffd10 { label
H A Dat91sam9260ek.dts115 shdwc: poweroff@fffffd10 { label
H A Dat91-qil_a9260.dts111 shdwc: poweroff@fffffd10 { label
H A Dat91sam9g20ek_common.dtsi129 shdwc: poweroff@fffffd10 { label
H A Dat91sam9260.dtsi133 shdwc: poweroff@fffffd10 { label
134 compatible = "atmel,at91sam9260-shdwc";
H A Dsama7g5.dtsi260 shdwc: poweroff@e001d010 { label
261 compatible = "microchip,sama7g5-shdwc", "syscon";
H A Dat91-sama7g5ek.dts794 &shdwc {
/openbmc/u-boot/arch/arm/dts/
H A Dusb_a9263.dts59 shdwc@fffffd10 {
H A Dat91sam9g45-gurnard.dts125 shdwc@fffffd10 {
H A Dat91sam9g20ek_common.dtsi107 shdwc@fffffd10 {
H A Dsama5d2.dtsi679 shdwc@f8048010 {
680 compatible = "atmel,sama5d2-shdwc";
H A Dat91sam9260ek.dts140 shdwc@fffffd10 {
H A Dat91sam9261.dtsi840 shdwc@fffffd10 {
841 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9n12.dtsi394 shdwc@fffffe10 {
395 compatible = "atmel,at91sam9x5-shdwc";
H A Dat91sam9rl.dtsi1036 shdwc@fffffd10 {
1037 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9260.dtsi371 shdwc@fffffd10 {
372 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9263.dtsi396 shdwc@fffffd10 {
397 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9x5.dtsi388 shdwc@fffffe10 {
389 compatible = "atmel,at91sam9x5-shdwc";
H A Dat91sam9g45.dtsi402 shdwc@fffffd10 {
403 compatible = "atmel,at91sam9rl-shdwc";

12