android_kernel_xiaomi_sm8350/drivers/mmc/host
Nicolas Pitre c783837bc6 pxamci: support arbitrary block size
The PXA has two transmit FIFOes, each32 byte deep.  when one FIFO is
full and the other one has been transmitted, they are automatically
swapped and DMA is triggered for another 32 byte burst.  However, when
there is less than 32 bytes left to send, the FIFO swap has to be done
manually. This is required for some SDIO transfers which are not
required to be multiples of 32 bytes.

A DMA completion interrupt is set for each descriptor which length isn't
a multiple of 32 in order to force the FIFO swap.  While at it, the DMA
interrupt handler has been made a bit more resilient against errors.

Signed-off-by: Nicolas Pitre <nico@marvell.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2007-10-10 20:13:29 +02:00
..
at91_mci.c mmc: at91_mci: disable handling of blocks with size not multiple of 4 bytes 2007-09-23 19:29:34 +02:00
au1xmmc.c mmc: remove confusing flag 2007-09-23 09:15:12 +02:00
au1xmmc.h
imxmmc.c arm: i.MX/MX1 SDHC implements SD cards read-only switch read-back 2007-09-24 19:33:14 +02:00
imxmmc.h
Kconfig mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
Makefile mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
mmc_spi.c mmc_spi host driver 2007-09-23 22:17:27 +02:00
mmci.c mmc: remove BYTEBLOCK capability 2007-09-23 09:15:05 +02:00
mmci.h mmc: update header file paths 2007-07-26 01:53:31 +02:00
omap.c mmc: remove custom error codes 2007-09-23 08:46:48 +02:00
pxamci.c pxamci: support arbitrary block size 2007-10-10 20:13:29 +02:00
pxamci.h mmc: pxamci: add SDIO card interrupt reporting capability 2007-09-25 19:11:49 +02:00
ricoh_mmc.c mmc: Disabler for Ricoh MMC controller 2007-10-03 18:40:05 +02:00
sdhci.c sdhci: remove old dma module params 2007-10-03 18:40:49 +02:00
sdhci.h sdhci: fix a typo 2007-10-03 18:40:19 +02:00
tifm_sd.c mmc: remove BYTEBLOCK capability 2007-09-23 09:15:05 +02:00
wbsd.c mmc: remove BYTEBLOCK capability 2007-09-23 09:15:05 +02:00
wbsd.h mmc: update header file paths 2007-07-26 01:53:31 +02:00