remarkable-linux/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 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: 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 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: Export internal host state through debugfs 2008-07-27 01:26:16 +02:00
mmc.c MMC: Trivial comment cleanup 2008-07-15 14:14:41 +02: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
sd.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
sdio.c mmc: use sysfs groups to handle conditional attributes 2008-03-22 17:02:20 -07: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: fix the use of hard coded timeout value. 2008-07-15 15:47:03 +02:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
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 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