1
linux/arch/arm/mach-davinci/include/mach
Sudhakar Rajashekhara ca2afb6dbe davinci: mmc: pass number of SG segments as platform data
On some platforms like DM355, the number of EDMA parameter slots available
for EDMA_SLOT_ANY usage are few.  In such cases, if MMC/SD uses 16 slots
for each instance of MMC controller, then the number of slots available
for other modules will be very few.

By passing the number of EDMA slots to be used in MMC driver from platform
data, EDMA slots available for other purposes can be controlled.

Most of the platforms will not use this platform data variable.  But on
DM355, as the number of EDMA resources available is limited, the number of
scatter- gather segments used inside the MMC driver can be 8 (passed as
platform data) instead of 16.  On DM355, when the number of scatter-gather
segments was reduced to 8, I saw a performance difference of about
0.25-0.4 Mbytes/sec during write.  Read performance variations were
negligible.

Signed-off-by: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Acked-by: Kevin Hilman <khilman@deeprootsystems.com>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-05-27 09:12:39 -07:00
..
asp.h Merge branch 'davinci-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-davinci 2009-12-09 19:02:46 -08:00
cdce949.h davinci: add support for CDCE949 clock synthesizer 2010-02-04 13:29:58 -08:00
clkdev.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
clock.h davinci: major rework of clock, PLL, PSC infrastructure 2009-04-23 09:31:00 -07:00
common.h Davinci: iotable based ioremap() interception 2010-05-13 10:05:31 -07:00
cp_intc.h Davinci: aintc/cpintc - use ioremap() 2010-05-13 10:05:28 -07:00
cpufreq.h davinci: DA850/OMAP-L138: avoid using separate initcall for initializing regulator 2009-11-25 10:21:37 -08:00
cpuidle.h davinci: cpuidle: move mapping of DDR2 controller registers out of driver 2010-02-04 13:29:38 -08:00
cputype.h Davinci: tnetv107x cpu types 2010-05-06 15:02:05 -07:00
da8xx.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
debug-macro.S ARM: 5910/1: ARM: Add tmp register for addruart and loadsp 2010-02-12 17:27:52 +00:00
dm355.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm365.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm644x.h DaVinci: move AEMIF #define's to the proper headers 2010-05-06 15:02:06 -07:00
dm646x.h DaVinci: move IDE platform device to its proper place 2010-05-06 15:02:07 -07:00
edma.h davinci: build list of unused EDMA events dynamically 2010-02-04 13:30:02 -08:00
entry-macro.S davinci: Integrate cp_intc support into low-level irq code 2009-05-28 15:17:47 -07:00
gpio.h Davinci: gpio - fine grained locking 2010-05-06 15:02:09 -07:00
hardware.h ARM: 5928/1: Change type of VMALLOC_END to unsigned long. 2010-02-15 21:40:33 +00:00
i2c.h Merge branch 'for-next' into for-linus 2010-03-08 16:55:37 +01:00
io.h davinci: Move IO device mapping macros from io.h to hardware.h 2009-08-26 10:57:01 +03:00
irqs.h Davinci: tnetv107x IRQ definitions 2010-05-06 15:02:05 -07:00
keyscan.h Input: davinci_keyscan - add device_enable method to platform data 2010-01-06 00:17:11 -08:00
memory.h davinci: add power management support 2010-02-04 13:29:55 -08:00
mmc.h davinci: mmc: pass number of SG segments as platform data 2010-05-27 09:12:39 -07:00
mux.h DM365: Added more PINMUX configurations for AEMIF 2010-05-13 11:10:31 -07:00
nand.h mtd: Add bad block table overrides to Davinci NAND driver 2009-11-30 11:31:09 +00:00
pm.h davinci: add power management support 2010-02-04 13:29:55 -08:00
psc.h Davinci: tnetv107x LPSC modules 2010-05-06 15:02:05 -07:00
serial.h Davinci: serial - remove unnecessary define 2010-05-06 15:02:10 -07:00
spi.h DaVinci: SPI: Adding header file for SPI support. 2010-03-01 10:20:22 -08:00
sram.h davinci: add SRAM allocator 2009-05-28 15:18:13 -07:00
system.h Davinci: watchdog reset separation across socs 2010-05-06 15:02:09 -07:00
time.h davinci: Add watchdog base address flexibility 2009-05-26 08:20:31 -07:00
timex.h davinci: explain CLOCK_TICK_RATE of 27MHz in include/mach/timex.h 2010-02-04 13:29:41 -08:00
uncompress.h davinci: Add support for DA850/OMAP-L138 EVM board 2009-08-26 11:55:45 +03:00
usb.h DaVinci: rename setup_usb() to davinci_setup_usb() 2009-11-25 10:21:33 -08:00
vmalloc.h davinci: Move IO device mapping macros from io.h to hardware.h 2009-08-26 10:57:01 +03:00