kernel-hacking-2024-linux-s.../drivers/mmc/host
Ben Dooks 68c5ed592f s3cmci: DMA fixes
Fixes for the DMA transfer mode of the driver to try and improve the state
of the code:

- Ensure that dma_complete is set during the end of the command phase
  so that transfers do not stall awaiting the completion

- Update the DMA debugging to provide a bit more useful information
  such as how many DMA descriptors where not processed and print the
  DMA addresses in hexadecimal.

- Fix the DMA channel request code to actually request DMA for the
  S3CMCI block instead of whatever '0' signified.

- Add fallback to PIO if we cannot get the DMA channel, as many of the
  devices with this block only have a limited number of DMA channels.

- Only try and claim and free the DMA channel if we are trying to use it.

This improves the driver DMA code to the point where it can now identify a
card and read the partition table.  However the DMA can still stall when
trying to move data between the host and memory.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2009-10-01 16:11:15 -07:00
..
at91_mci.c
atmel-mci-regs.h
atmel-mci.c Merge branch 'for-linus' of git://neil.brown.name/md 2009-09-24 07:55:29 -07:00
au1xmmc.c
cb710-mmc.c cb710: use SG_MITER_TO_SG/SG_MITER_FROM_SG 2009-07-31 12:28:46 +02:00
cb710-mmc.h
imxmmc.c imxmmc: Remove unnecessary semicolons 2009-07-31 12:28:46 +02:00
imxmmc.h
Kconfig s3cmci: Kconfig selection for PIO/DMA/Both 2009-10-01 16:11:15 -07:00
Makefile mmc: msm_sdccc: driver for HTC Dream 2009-09-23 07:39:32 -07:00
mmc_spi.c spi: prefix modalias with "spi:" 2009-09-23 07:39:43 -07:00
mmci.c ARM: 5721/1: MMCI enable the use of a regulator 2009-09-22 20:49:05 +01:00
mmci.h ARM: 5721/1: MMCI enable the use of a regulator 2009-09-22 20:49:05 +01:00
msm_sdcc.c msm_sdcc.c: move overly indented code to separate function 2009-09-23 07:39:33 -07:00
msm_sdcc.h mmc: msm_sdccc: driver for HTC Dream 2009-09-23 07:39:32 -07:00
mvsdio.c mvsdio: fix handling of partial word at the end of PIO transfer 2009-07-20 16:46:34 -07:00
mvsdio.h
mxcmmc.c trivial: fix typo "to to" in multiple files 2009-09-21 15:14:55 +02:00
of_mmc_spi.c
omap.c
omap_hsmmc.c omap4: mmc driver support on OMAP4 2009-09-23 07:39:37 -07:00
pxamci.c [ARM] pxa: update pxamci.c to use 'struct dev_pm_ops' 2009-09-10 19:15:37 +08:00
pxamci.h
ricoh_mmc.c
s3cmci.c s3cmci: DMA fixes 2009-10-01 16:11:15 -07:00
s3cmci.h s3cmci: DMA fixes 2009-10-01 16:11:15 -07:00
sdhci-of.c sdhci-of: cleanup eSDHC's set_clock() a little bit 2009-09-23 07:39:37 -07:00
sdhci-pci.c sdhci: support for ADMA only hosts 2009-09-23 07:39:38 -07:00
sdhci-pltfm.c
sdhci-s3c.c sdhci: Add SDHCI_QUIRK_NO_MULTIBLOCK quirk 2009-06-21 21:00:58 +02:00
sdhci.c sdhci: increase timeout for internal clock stabilization. 2009-09-23 07:39:40 -07:00
sdhci.h sdhci: support for ADMA only hosts 2009-09-23 07:39:38 -07:00
sdricoh_cs.c
tifm_sd.c
tmio_mmc.c
tmio_mmc.h
via-sdmmc.c mmc: Add new via-sdmmc host controller driver 2009-06-21 21:00:59 +02:00
wbsd.c
wbsd.h