android_kernel_google_msm/drivers/mmc/core
Jaehoon Chung 89c6b6a1a7 mmc: support BKOPS feature for eMMC v4.5
Enable eMMC background operations (BKOPS) feature.

If URGENT_BKOPS is set after a response, note that BKOPS
are required. After all I/O requests are finished, run
BKOPS if required. Should read/write operations be requested
during BKOPS, first issue HPI to interrupt the ongoing BKOPS
and then service the request.
If BKOPS-STATUS is upper than LEVEL2, need to check until clear
the BKOPS-STATUS vaule.

If you want to enable this feature, set MMC_CAP2_BKOPS.
And if you want to set the BKOPS_EN bit in ext_csd register,
use the MMC_CAP2_INIT_BKOPS.

Future considerations
 * Check BKOPS_LEVEL=1 and start BKOPS in a preventive manner.
 * Interrupt ongoing BKOPS before powering off the card.
 * How get BKOPS_STATUS value.(periodically send ext_csd command?)

Change-Id: Ia679c661a282072a7e54d10fc59d8ec1cbecae96
Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Konstantin Dorfman <kdorfman@codeaurora.org>
2013-02-25 11:40:52 -08:00
..
bus.c Revert "mmc: Set suspend/resume bus operations if CONFIG_PM_RUNTIME is used" 2012-04-27 14:03:41 -07:00
bus.h mmc: rename dev_to_mmc_card() to mmc_dev_to_card() 2010-10-23 21:11:12 +08:00
cd-gpio.c mmc: cd-gpio: Include header to pickup exported symbol prototypes 2012-04-20 20:45:00 -04:00
core.c mmc: support BKOPS feature for eMMC v4.5 2013-02-25 11:40:52 -08:00
core.h mmc: sd: fix the issue with paranoid SD card init retry 2013-02-25 11:40:43 -08:00
debugfs.c mmc: core: HS200 mode support for eMMC 4.5 2012-01-12 15:17:15 -05:00
host.c mmc: host: remove mmcq performance numbers statistics 2013-02-25 11:40:50 -08:00
host.h mmc: start removing enable / disable API 2012-03-27 12:20:03 -04:00
Kconfig mmc: Add concept of an 'embedded' SDIO device. 2012-04-09 13:53:17 -07:00
Makefile mmc: add a generic GPIO card-detect helper 2012-01-11 23:58:45 -05:00
mmc.c mmc: support BKOPS feature for eMMC v4.5 2013-02-25 11:40:52 -08:00
mmc_ops.c mmc: support BKOPS feature for eMMC v4.5 2013-02-25 11:40:52 -08:00
mmc_ops.h mmc: core: support HPI send command 2011-10-26 16:32:29 -04:00
quirks.c mmc: core: Remove BROKEN_CLK_GATING quirk for AR6003 cards 2013-02-25 11:40:48 -08:00
sd.c mmc: sd: fix the issue with paranoid SD card init retry 2013-02-25 11:40:43 -08:00
sd.h mmc: sd: add support for driver type selection 2011-05-24 23:53:24 -04:00
sd_ops.c mmc: Add export.h for EXPORT_SYMBOL/THIS_MODULE as required 2011-10-31 19:32:06 -04:00
sd_ops.h mmc: add erase, secure erase, trim and secure trim operations 2010-08-12 08:43:30 -07:00
sdio.c mmc: sdio: avoid spurious calls to interrupt handlers 2013-02-25 11:40:49 -08:00
sdio_bus.c mmc: Add concept of an 'embedded' SDIO device. 2012-04-09 13:53:17 -07:00
sdio_bus.h mmc: basic SDIO device model 2007-09-23 19:45:31 +02:00
sdio_cis.c mmc: Fixing few warning messages. 2013-02-25 11:40:40 -08:00
sdio_cis.h sdio: split up common and function CIS parsing 2007-09-23 20:44:22 +02:00
sdio_io.c trout: Add functions for WiFi 2012-04-09 13:53:17 -07:00
sdio_irq.c mmc: sdio: avoid spurious calls to interrupt handlers 2013-02-25 11:40:49 -08:00
sdio_ops.c mmc: sdio: Fix to support any block size optimally 2012-01-11 23:58:40 -05:00
sdio_ops.h sdio: recognize io card without powercycle 2010-03-12 15:52:28 -08:00