pxa3xx.c (2c74a0cefa463a7a483b07ba4d2ea8e4ec7b996c) | pxa3xx.c (29cb3cd208dd0e4471bb80bec4facc49ceb199fa) |
---|---|
1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 134 unchanged lines hidden (view full) --- 143 volatile unsigned long *p = (volatile void *)0xc0000000; 144 unsigned long saved_data = *p; 145#ifndef CONFIG_IWMMXT 146 u64 acc0; 147 148 asm volatile("mra %Q0, %R0, acc0" : "=r" (acc0)); 149#endif 150 | 1/* 2 * linux/arch/arm/mach-pxa/pxa3xx.c 3 * 4 * code specific to pxa3xx aka Monahans 5 * 6 * Copyright (C) 2006 Marvell International Ltd. 7 * 8 * 2007-09-02: eric miao <eric.miao@marvell.com> --- 134 unchanged lines hidden (view full) --- 143 volatile unsigned long *p = (volatile void *)0xc0000000; 144 unsigned long saved_data = *p; 145#ifndef CONFIG_IWMMXT 146 u64 acc0; 147 148 asm volatile("mra %Q0, %R0, acc0" : "=r" (acc0)); 149#endif 150 |
151 extern void pxa3xx_finish_suspend(unsigned long); | 151 extern int pxa3xx_finish_suspend(unsigned long); |
152 153 /* resuming from D2 requires the HSIO2/BOOT/TPM clocks enabled */ 154 CKENA |= (1 << CKEN_BOOT) | (1 << CKEN_TPM); 155 CKENB |= 1 << (CKEN_HSIO2 & 0x1f); 156 157 /* clear and setup wakeup source */ 158 AD3SR = ~0; 159 AD3ER = wakeup_src; --- 315 unchanged lines hidden --- | 152 153 /* resuming from D2 requires the HSIO2/BOOT/TPM clocks enabled */ 154 CKENA |= (1 << CKEN_BOOT) | (1 << CKEN_TPM); 155 CKENB |= 1 << (CKEN_HSIO2 & 0x1f); 156 157 /* clear and setup wakeup source */ 158 AD3SR = ~0; 159 AD3ER = wakeup_src; --- 315 unchanged lines hidden --- |