sleep.S (08d3df8c81537089fc8f21006b56f2f6fb23c6f8) sleep.S (3c816d950a494ae6e16b1fa017af29bc53cb7791)
1/*
2 * Low-level PXA250/210 sleep/wakeUp support
3 *
4 * Initial SA1110 code:
5 * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com>
6 *
7 * Adapted for PXA by Nicolas Pitre:
8 * Copyright (c) 2002 Monta Vista Software, Inc.

--- 4 unchanged lines hidden (view full) ---

13
14#include <linux/linkage.h>
15#include <asm/assembler.h>
16#include <mach/smemc.h>
17#include <mach/pxa2xx-regs.h>
18
19#define MDREFR_KDIV 0x200a4000 // all banks
20#define CCCR_SLEEP 0x00000107 // L=7 2N=2 A=0 PPDIS=0 CPDIS=0
1/*
2 * Low-level PXA250/210 sleep/wakeUp support
3 *
4 * Initial SA1110 code:
5 * Copyright (c) 2001 Cliff Brake <cbrake@accelent.com>
6 *
7 * Adapted for PXA by Nicolas Pitre:
8 * Copyright (c) 2002 Monta Vista Software, Inc.

--- 4 unchanged lines hidden (view full) ---

13
14#include <linux/linkage.h>
15#include <asm/assembler.h>
16#include <mach/smemc.h>
17#include <mach/pxa2xx-regs.h>
18
19#define MDREFR_KDIV 0x200a4000 // all banks
20#define CCCR_SLEEP 0x00000107 // L=7 2N=2 A=0 PPDIS=0 CPDIS=0
21
21#define CCCR_N_MASK 0x00000380
22#define CCCR_M_MASK 0x00000060
23#define CCCR_L_MASK 0x0000001f
22 .text
23
24#ifdef CONFIG_PXA3xx
25/*
26 * pxa3xx_finish_suspend() - forces CPU into sleep state (S2D3C4)
27 */
28ENTRY(pxa3xx_finish_suspend)
29 mov r0, #0x06 @ S2D3C4 mode

--- 141 unchanged lines hidden ---
24 .text
25
26#ifdef CONFIG_PXA3xx
27/*
28 * pxa3xx_finish_suspend() - forces CPU into sleep state (S2D3C4)
29 */
30ENTRY(pxa3xx_finish_suspend)
31 mov r0, #0x06 @ S2D3C4 mode

--- 141 unchanged lines hidden ---