linux/arch/arm/mach-pxa
Eric Miao f53f066c25 [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code
Since the number of dma channels varies between pxa25x and pxa27x, it
introduces some specific code in dma.c. This patch moves the specific
code to pxa25x.c and pxa27x.c and makes dma.c more generic.

1. add pxa_init_dma() for dma initialization, the number of channels
   are passed in by the argument

2. add a "prio" field to the "struct pxa_dma_channel" for the channel
   priority, and is initialized in pxa_init_dma()

3. use a general priority comparison with the channels "prio" field so
   to remove the processor specific pxa_for_each_dma_prio macro,  this
   is not lightning fast as the original one,  but it is acceptable as
   it happens when requesting dma, which is usually not so performance
   critical

Signed-off-by: eric miao <eric.miao@marvell.com>
Acked-by: Nicolas Pitre <nico@cam.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2007-07-12 14:28:16 +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] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +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] pxa: introduce cpu_is_pxaXXX macros 2007-07-12 14:28:04 +01:00
generic.h [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
idp.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +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] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
lubbock.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
mainstone.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +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] pxa: move pm_ops structure into CPU specific files 2007-07-12 14:28:05 +01:00
poodle.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
pxa25x.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +01:00
pxa27x.c [ARM] 4451/1: pxa: make dma.c generic and remove cpu specific dma code 2007-07-12 14:28:16 +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] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +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 Add IRQF_IRQPOLL flag on arm 2007-05-08 11:15:22 -07:00
tosa.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00
trizeps4.c [ARM] 4450/1: pxa: add pxa25x_init_irq() and pxa27x_init_irq() 2007-07-12 14:28:15 +01:00