android_kernel_xiaomi_sm8350/drivers/mmc/core
Haavard Skinnemoen f4b7f927b5 mmc: Add per-card debugfs support
For each card successfully added to the bus, create a subdirectory under
the host's debugfs root with information about the card.

At the moment, only a single file is added to the card directory for
all cards: "state". It reflects the "state" field in struct mmc_card,
indicating whether the card is present, readonly, etc.

For MMC and SD cards (not SDIO), another file is added: "status".
Reading this file will ask the card about its current status and
return it. This can be useful if the card just refuses to respond to
any commands, which might indicate that the card state is not what the
MMC core thinks it is (due to a missing stop command, for example.)

Signed-off-by: Haavard Skinnemoen <haavard.skinnemoen@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
2008-07-27 01:26:17 +02:00
..
bus.c mmc: Add per-card debugfs support 2008-07-27 01:26:17 +02:00
bus.h
core.c mmc,sdio: helper function for transfer padding 2008-07-15 14:14:44 +02:00
core.h mmc: Add per-card debugfs support 2008-07-27 01:26:17 +02:00
debugfs.c mmc: Add per-card debugfs support 2008-07-27 01:26:17 +02:00
host.c mmc: Export internal host state through debugfs 2008-07-27 01:26:16 +02:00
host.h
Kconfig
Makefile mmc: Export internal host state through debugfs 2008-07-27 01:26:16 +02:00
mmc_ops.c
mmc_ops.h
mmc.c MMC: Trivial comment cleanup 2008-07-15 14:14:41 +02:00
sd_ops.c
sd_ops.h
sd.c MMC: Trivial comment cleanup 2008-07-15 14:14:41 +02:00
sdio_bus.c
sdio_bus.h
sdio_cis.c sdio: fix the use of hard coded timeout value. 2008-07-15 15:47:03 +02:00
sdio_cis.h
sdio_io.c Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/drzeus/mmc 2008-07-16 15:17:52 -07:00
sdio_irq.c
sdio_ops.c mmc: sdio_ops.c should #include "sdio_ops.h" 2008-04-18 20:05:33 +02:00
sdio_ops.h
sdio.c