Home
last modified time | relevance | path

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

12

/Linux-v5.15/drivers/power/reset/
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 …]
Dat91-poweroff.c54 static struct shdwc { struct
/Linux-v5.15/Documentation/devicetree/bindings/arm/
Datmel-sysregs.txt73 - compatible: Should be "atmel,<chip>-shdwc".
95 shdwc@fffffd10 {
96 compatible = "atmel,at91sam9260-shdwc";
103 1) shdwc node
106 - compatible: should be "atmel,sama5d2-shdwc", "microchip,sam9x60-shdwc" or
107 "microchip,sama7g5-shdwc"
119 optional microchip,sam9x60-shdwc or microchip,sama7g5-shdwc properties:
141 shdwc@f8048010 {
142 compatible = "atmel,sama5d2-shdwc";
151 shdwc@f8048010 {
/Linux-v5.15/arch/arm/mach-at91/
Dpm.c74 int (*config_shdwc_ws)(void __iomem *shdwc, u32 *mode, u32 *polarity);
192 if (!soc_pm.data.pmc || !soc_pm.data.shdwc || !soc_pm.ws_ids) in at91_pm_config_ws()
201 soc_pm.config_shdwc_ws(soc_pm.data.shdwc, &mode, &polarity); in at91_pm_config_ws()
204 val = readl(soc_pm.data.shdwc + 0x04); in at91_pm_config_ws()
238 static int at91_sama5d2_config_shdwc_ws(void __iomem *shdwc, u32 *mode, in at91_sama5d2_config_shdwc_ws() argument
244 val = readl(shdwc + 0x0c); in at91_sama5d2_config_shdwc_ws()
894 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init()
910 soc_pm.data.shdwc) in at91_pm_modes_init()
926 if (soc_pm.data.shdwc && in at91_pm_modes_init()
929 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init()
[all …]
Dpm.h36 void __iomem *shdwc; member
Dpm_data-offsets.c15 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
Dpm_suspend.S995 ldr r0, .shdwc
1057 str tmp1, .shdwc
1104 .shdwc: label
/Linux-v5.15/arch/arm/boot/dts/
Dusb_a9260.dts25 shdwc@fffffd10 {
Dusb_a9263.dts70 shdwc@fffffd10 {
Dat91sam9260ek.dts115 shdwc@fffffd10 {
Dat91-qil_a9260.dts111 shdwc@fffffd10 {
Dsama7g5.dtsi125 shdwc: shdwc@e001d010 { label
126 compatible = "microchip,sama7g5-shdwc", "syscon";
Dat91sam9g20ek_common.dtsi120 shdwc@fffffd10 {
Dat91-sama7g5ek.dts661 &shdwc {
662 atmel,shdwc-debouncer = <976>;
Dat91sam9261.dtsi612 shdwc@fffffd10 {
613 compatible = "atmel,at91sam9260-shdwc";
Dat91-sama5d2_ptc_ek.dts205 shdwc@f8048010 {
Dsam9x60.dtsi680 shutdown_controller: shdwc@fffffe10 {
681 compatible = "microchip,sam9x60-shdwc";
Dat91sam9rl.dtsi775 shdwc@fffffd10 {
776 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9260.dtsi132 shdwc@fffffd10 {
133 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9n12.dtsi142 shdwc@fffffe10 {
143 compatible = "atmel,at91sam9x5-shdwc";
Dat91-sama5d27_som1_ek.dts139 shdwc@f8048010 {
Dat91sam9263.dtsi160 shdwc@fffffd10 {
161 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9x5.dtsi143 shutdown_controller: shdwc@fffffe10 {
144 compatible = "atmel,at91sam9x5-shdwc";
Dsama5d2.dtsi669 shutdown_controller: shdwc@f8048010 {
670 compatible = "atmel,sama5d2-shdwc";
Dat91sam9g45.dtsi154 shdwc@fffffd10 {
155 compatible = "atmel,at91sam9rl-shdwc";

12