Home
last modified time | relevance | path

Searched refs:shdwc (Results 1 - 12 of 12) sorted by relevance

/kernel/linux/linux-6.6/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;
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
129 dev_warn(&pdev->dev, "shdwc unknown wakeup mode\n"); in at91_poweroff_dt_set_wakeup_mode()
136 "shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n", in at91_poweroff_dt_set_wakeup_mode()
219 { .compatible = "atmel,at91sam9260-shdwc", },
220 { .compatible = "atmel,at91sam9rl-shdwc", },
221 { .compatible = "atmel,at91sam9x5-shdwc", },
/kernel/linux/linux-5.10/drivers/power/reset/
H A Dat91-sama5d2_shdwc.c82 struct shdwc_reg_config shdwc; member
86 struct shdwc { struct
98 static struct shdwc *at91_shdwc;
106 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_wakeup_status()
119 if (SHDW_WK_PIN(reg, &rcfg->shdwc)) in at91_wakeup_status()
121 else if (SHDW_RTCWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
123 else if (SHDW_RTTWK(reg, &rcfg->shdwc)) in at91_wakeup_status()
228 struct shdwc *shdw = platform_get_drvdata(pdev); in at91_shdwc_dt_configure()
242 mode |= SHDW_RTCWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
245 mode |= SHDW_RTTWKEN(&rcfg->shdwc); in at91_shdwc_dt_configure()
[all...]
H A Dat91-poweroff.c54 static struct shdwc { struct
129 dev_warn(&pdev->dev, "shdwc unknown wakeup mode\n"); in at91_poweroff_dt_set_wakeup_mode()
136 "shdwc wakeup counter 0x%x > 0x%x reduce it to 0x%x\n", in at91_poweroff_dt_set_wakeup_mode()
221 { .compatible = "atmel,at91sam9260-shdwc", },
222 { .compatible = "atmel,at91sam9rl-shdwc", },
223 { .compatible = "atmel,at91sam9x5-shdwc", },
/kernel/linux/linux-5.10/arch/arm/mach-at91/
H A Dpm.c40 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()
151 val = readl(soc_pm.data.shdwc + 0x04); 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
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 in at91_pm_modes_init()
[all...]
H A Dpm.h33 void __iomem *shdwc; member
H A Dpm_data-offsets.c13 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
H A Dpm_suspend.S103 str tmp1, .shdwc
159 ldr r0, .shdwc
683 .shdwc:
/kernel/linux/linux-6.6/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()
1124 { .compatible = "atmel,sama5d2-shdwc" },
1125 { .compatible = "microchip,sam9x60-shdwc" },
1126 { .compatible = "microchip,sama7g5-shdwc" },
1236 pr_warn("%s: failed to find shdwc!\ in at91_pm_modes_init()
[all...]
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:

Completed in 8 milliseconds