android_kernel_xiaomi_sm7250/drivers/mmc/core
Pierre Ossman ad3868b2ec mmc,sdio: helper function for transfer padding
There are a lot of crappy controllers out there that cannot handle
all the request sizes that the MMC/SD/SDIO specifications require.
In case the card driver can pad the data to overcome the problems,
this commit adds a helper that calculates how much that padding
should be.

A corresponding helper is also added for SDIO, but it can also deal
with all the complexities of splitting up a large transfer efficiently.

Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-15 14:14:44 +02:00
..
bus.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
bus.h mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
core.c mmc,sdio: helper function for transfer padding 2008-07-15 14:14:44 +02:00
core.h mmc: proper prototypes for mmc_attach_*() 2008-04-18 20:05:32 +02:00
host.c mmc: set controller name early 2008-04-18 20:05:26 +02:00
host.h mmc: refactor host class handling 2007-07-09 21:28:01 +02:00
Kconfig mmc: Use menuconfig objects 2007-05-08 22:41:55 +02:00
Makefile mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00
mmc_ops.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
mmc_ops.h MMC core learns about SPI 2007-09-23 21:51:30 +02:00
mmc.c MMC: Trivial comment cleanup 2008-07-15 14:14:41 +02:00
sd_ops.c cleanup asm/scatterlist.h includes 2007-11-02 08:47:06 +01:00
sd_ops.h drivers/mmc/core/: make 3 functions static 2007-07-26 02:05:57 +02:00
sd.c MMC: Trivial comment cleanup 2008-07-15 14:14:41 +02:00
sdio_bus.c uevent environment changes fallout 2007-10-14 08:53:33 -07:00
sdio_bus.h mmc: basic SDIO device model 2007-09-23 19:45:31 +02:00
sdio_cis.c sdio: store vendor strings 2007-09-23 21:28:01 +02:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
sdio_io.c mmc,sdio: helper function for transfer padding 2008-07-15 14:14:44 +02:00
sdio_irq.c mmc: use shorter, equivalent set_current_state() 2008-04-18 20:05:27 +02:00
sdio_ops.c mmc: sdio_ops.c should #include "sdio_ops.h" 2008-04-18 20:05:33 +02:00
sdio_ops.h sdio: extend sdio_readsb() and friends to handle any length of buffer 2007-09-23 21:21:32 +02:00
sdio.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07:00