Home
last modified time | relevance | path

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

12

/OK3568_Linux_fs/kernel/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; 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 …]
H A Dat91-poweroff.c54 static struct shdwc { struct
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/arm/
H A 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 {
/OK3568_Linux_fs/kernel/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()
731 soc_pm.data.shdwc = of_iomap(np, 0); in at91_pm_modes_init()
745 iounmap(soc_pm.data.shdwc); in at91_pm_modes_init()
746 soc_pm.data.shdwc = NULL; in at91_pm_modes_init()
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: label
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
H A Dusb_a9260.dts25 shdwc@fffffd10 {
H A Dat91sam9260ek.dts115 shdwc@fffffd10 {
H A Dusb_a9263.dts70 shdwc@fffffd10 {
H A Dat91-qil_a9260.dts111 shdwc@fffffd10 {
H A Dat91sam9g20ek_common.dtsi129 shdwc@fffffd10 {
H A Dat91sam9261.dtsi612 shdwc@fffffd10 {
613 compatible = "atmel,at91sam9260-shdwc";
H A Dat91-sama5d2_ptc_ek.dts205 shdwc@f8048010 {
H A Dsam9x60.dtsi680 shutdown_controller: shdwc@fffffe10 {
681 compatible = "microchip,sam9x60-shdwc";
H A Dat91sam9rl.dtsi803 shdwc@fffffd10 {
804 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9260.dtsi132 shdwc@fffffd10 {
133 compatible = "atmel,at91sam9260-shdwc";
H A Dat91sam9n12.dtsi142 shdwc@fffffe10 {
143 compatible = "atmel,at91sam9x5-shdwc";
H A Dat91sam9263.dtsi160 shdwc@fffffd10 {
161 compatible = "atmel,at91sam9260-shdwc";
/OK3568_Linux_fs/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.dtsi641 shdwc@f8048010 {
642 compatible = "atmel,sama5d2-shdwc";
H A Dat91sam9260ek.dts140 shdwc@fffffd10 {
H A Dat91sam9261.dtsi843 shdwc@fffffd10 {
844 compatible = "atmel,at91sam9260-shdwc";

12