2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-27 06:34:11 +08:00
linux-next/include/asm-arm/arch-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.h [ARM] 3149/1: SharpSL: Add Akita (SL-C1000) machine support 2005-11-12 18:53:48 +00:00
audio.h [ALSA] Fix snd_xxx_t typedefs 2006-03-22 10:23:39 +01:00
bitfield.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
corgi.h [PATCH] SharpSL: Abstract c7x0 specifics from Corgi SSP 2005-09-13 08:22:31 -07:00
debug-macro.S [ARM] Collect 8250-based debug implementations together 2006-03-21 22:05:57 +00:00
dma.h [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
entry-macro.S [ARM] 4440/1: PXA: enable the checking of ICIP2 for IRQs 2007-07-12 14:28:14 +01:00
gpio.h [ARM] 4422/1: Fix default value handling in gpio_direction_output (PXA) 2007-06-02 21:31:48 +01:00
hardware.h [ARM] pxa: introduce cpu_is_pxaXXX macros 2007-07-12 14:28:04 +01:00
i2c.h [ARM] 4246/1: i2c-pxa: add adapter class to platform specific data 2007-04-21 20:36:55 +01:00
idp.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
io.h [ARM] 3631/1: Remove legacy __mem_isa() definitions 2006-06-24 10:34:48 +01:00
irda.h [ARM] 2897/2: PXA2xx IRDA support 2005-10-28 16:39:33 +01:00
irqs.h [ARM] 4435/1: PXA: remove PXA_INTERNAL_IRQS 2007-07-12 14:28:10 +01:00
lpd270.h [ARM] 3417/1: add support for logicpd pxa270 card engine 2006-03-28 21:08:13 +01:00
lubbock.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mainstone.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
memory.h [ARM] Clean up discontigmem support 2006-11-30 22:52:28 +00:00
mmc.h mmc: Move OCR bit defines 2007-05-01 13:04:16 +02:00
mtd-xip.h [MTD] XIP cleanup 2005-07-07 16:50:16 +02:00
ohci.h [ARM] 3547/1: PXA-OHCI: Allow platforms to specify a power budget 2006-06-08 22:44:07 +01:00
pm.h [ARM] 4488/1: pxa: move pxa25x/pxa27x specific code out of pm.c 2007-07-20 17:25:10 +01:00
poodle.h [ARM] 3594/1: Poodle: Add touchscreen support + other updates 2006-06-19 20:46:05 +01:00
pxa2xx_spi.h [PATCH] spi: stabilize PIO mode transfers on PXA2xx systems 2006-12-10 09:55:40 -08:00
pxa27x_keyboard.h Input: add support for PXA27x keyboard controller 2007-03-16 00:58:52 -04:00
pxa-regs.h [ARM] pxa: remove MMC register defines from pxa-regs.h 2007-07-12 14:27:56 +01:00
pxafb.h [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
sharpsl.h [PATCH] backlight: corgi_bl: Generalise to support other Sharp SL hardware 2006-03-31 12:19:00 -08:00
spitz.h [ARM] 3848/1: pxafb: Add option of fixing video modes and spitz QVGA mode support 2006-10-02 13:33:37 +01:00
ssp.h [ARM] 3760/1: This patch adds timeouts while working with SSP registers. Such timeouts were en 2006-08-27 12:54:56 +01:00
system.h [ARM] 3593/1: Add reboot and shutdown handlers for Zaurus handhelds 2006-06-19 19:57:12 +01:00
timex.h Don't include linux/config.h from anywhere else in include/ 2006-04-26 12:56:16 +01:00
tosa.h [ARM] 3088/1: PXA: Add machine support for the Sharp SL-6000x series of PDAs 2005-11-06 14:27:52 +00:00
trizeps4.h [ARM] 3666/1: TRIZEPS4 [1/5] core 2006-06-29 16:25:37 +01:00
udc.h USB: pxa2xx_udc: use generic gpio layer 2007-07-12 16:34:42 -07:00
uncompress.h [ARM] Fix decompressor serial IO to give CRLF not LFCR 2006-03-28 10:24:33 +01:00
vmalloc.h [PATCH] ARM: cleanup vmalloc start/offset macros 2005-05-03 12:20:29 +01:00