linux/arch/arm/mach-pxa
Eric Miao 711be5ccfe [ARM] 4488/1: pxa: move pxa25x/pxa27x specific code out of pm.c
1. introduce a structure pxa_cpu_pm_fns for pxa25x/pxa27x specific
   operations as follows:

	struct pxa_cpu_pm_fns {
		int	save_size;
		void	(*save)(unsigned long *);
		void	(*restore)(unsigned long *);
		int	(*valid)(suspend_state_t state);
		void	(*enter)(suspend_state_t state);
	}

2. processor specific registers saving and restoring are performed
   by calling the corresponding (*save) and (*restore)

3. pxa_cpu_pm_fns->save_size should be initialized to the required
   size for processor specific registers saving, the allocated
   memory address will be passed to (*save) and (*restore)

   memory allocation happens early in pxa_pm_init(), and save_size
   should be assigned prior to this (which is usually true, since
   pxa_pm_init() happens in device_initcall()

4. there're some redundancies for those SLEEP_SAVE_XXX and related
   macros, will be fixed later, one way possible is for the system
   devices to handle the specific registers saving and restoring

Signed-off-by: eric miao <eric.y.miao@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-07-20 17:25:10 +01:00
..
akita-ioexp.c WorkQueue: Fix up arch-specific work items where possible 2006-12-05 19:36:26 +00:00
clock.c [ARM] pxa: use mutexes instead of semaphores 2007-07-12 14:27:55 +01:00
corgi_lcd.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
corgi_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
corgi_ssp.c [ARM] spelling fixes 2007-05-20 20:10:32 +01:00
corgi.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
devices.h [ARM] 4480/1: pxa: change the pxa device naming scheme 2007-07-20 09:57:18 +01:00
dma.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
generic.c [ARM] 4480/1: pxa: change the pxa device naming scheme 2007-07-20 09:57:18 +01:00
generic.h [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
idp.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
irq.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
Kconfig kconfig: Standardize "depends" -> "depends on" in Kconfig files 2006-12-12 20:04:19 +01:00
leds-idp.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-lubbock.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-mainstone.c Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
leds-trizeps4.c Remove all inclusions of <linux/config.h> 2006-10-04 03:38:54 -04:00
leds.c [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
leds.h fix file specification in comments 2006-10-03 23:01:26 +02:00
lpd270.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
lubbock.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
mainstone.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
Makefile [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
Makefile.boot Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pm.c [ARM] 4488/1: pxa: move pxa25x/pxa27x specific code out of pm.c 2007-07-20 17:25:10 +01:00
poodle.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
pxa25x.c [ARM] 4488/1: pxa: move pxa25x/pxa27x specific code out of pm.c 2007-07-20 17:25:10 +01:00
pxa27x.c [ARM] 4488/1: pxa: move pxa25x/pxa27x specific code out of pm.c 2007-07-20 17:25:10 +01:00
sharpsl_pm.c [ARM] Fix more apm-emulation.h 2007-02-26 21:04:29 +00:00
sharpsl.h [ARM] 3235/1: SharpSL PM: Fix a gcc4 build error 2006-01-07 11:12:26 +00:00
sleep.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
spitz_pm.c [ARM] Yet more asm/apm-emulation.h stuff 2007-03-02 11:58:57 +00:00
spitz.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
ssp.c [ARM] 4304/1: removes the unnecessary bit number from CKENnn_XXXX 2007-04-21 23:14:01 +01:00
standby.S Remove obsolete #include <linux/config.h> 2006-06-30 19:25:36 +02:00
time.c [ARM] pxa: remove boot time RTC initialisation 2007-07-12 14:28:17 +01:00
tosa.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00
trizeps4.c [ARM] pxa: move platform devices to separate header file 2007-07-12 14:28:21 +01:00