Home
last modified time | relevance | path

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

12

/Linux-v5.10/drivers/power/reset/
Dat91-sama5d2_shdwc.c82 struct shdwc_reg_config shdwc; member
86 struct shdwc { struct
98 static struct shdwc *at91_shdwc; argument
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 …]
Dat91-poweroff.c54 static struct shdwc { struct
/Linux-v5.10/Documentation/devicetree/bindings/arm/
Datmel-sysregs.txt61 - compatible: Should be "atmel,<chip>-shdwc".
83 shdwc@fffffd10 {
84 compatible = "atmel,at91sam9260-shdwc";
91 1) shdwc node
94 - compatible: should be "atmel,sama5d2-shdwc" or "microchip,sam9x60-shdwc".
106 optional microchip,sam9x60-shdwc properties:
128 shdwc@f8048010 {
129 compatible = "atmel,sama5d2-shdwc";
138 shdwc@f8048010 {
/Linux-v5.10/arch/arm/mach-at91/
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()
716 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init()
730 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init()
731 soc_pm.data.shdwc = NULL; in at91_pm_modes_init()
Dpm.h33 void __iomem *shdwc; member
Dpm_data-offsets.c13 DEFINE(PM_DATA_SHDWC, offsetof(struct at91_pm_data, shdwc)); in main()
Dpm_suspend.S103 str tmp1, .shdwc
159 ldr r0, .shdwc
683 .shdwc: label
/Linux-v5.10/arch/arm/boot/dts/
Dusb_a9260.dts25 shdwc@fffffd10 {
Dat91-sama5d2_ptc_ek.dts204 shdwc@f8048010 {
205 atmel,shdwc-debouncer = <976>;
Dusb_a9263.dts70 shdwc@fffffd10 {
Dat91sam9260ek.dts114 shdwc@fffffd10 {
Dat91-qil_a9260.dts111 shdwc@fffffd10 {
Dat91-sama5d27_som1_ek.dts139 shdwc@f8048010 {
140 atmel,shdwc-debouncer = <976>;
Dat91sam9g20ek_common.dtsi119 shdwc@fffffd10 {
Dat91-sama5d27_wlsom1_ek.dts207 atmel,shdwc-debouncer = <976>;
Dat91-sama5d2_xplained.dts348 shdwc@f8048010 {
349 atmel,shdwc-debouncer = <976>;
Dat91sam9261.dtsi612 shdwc@fffffd10 {
613 compatible = "atmel,at91sam9260-shdwc";
Dat91-kizbox3_common.dtsi339 atmel,shdwc-debouncer = <976>;
Dsam9x60.dtsi671 shutdown_controller: shdwc@fffffe10 {
672 compatible = "microchip,sam9x60-shdwc";
Dat91sam9rl.dtsi800 shdwc@fffffd10 {
801 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9260.dtsi132 shdwc@fffffd10 {
133 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9n12.dtsi142 shdwc@fffffe10 {
143 compatible = "atmel,at91sam9x5-shdwc";
Dat91sam9263.dtsi160 shdwc@fffffd10 {
161 compatible = "atmel,at91sam9260-shdwc";
Dat91sam9x5.dtsi143 shutdown_controller: shdwc@fffffe10 {
144 compatible = "atmel,at91sam9x5-shdwc";
Dsama5d2.dtsi668 shutdown_controller: shdwc@f8048010 {
669 compatible = "atmel,sama5d2-shdwc";

12