OpenCloudOS-Kernel/include/linux/mmc
Wolfram Sang 97a7d87e96 mmc: core: add a 'doing_init_tune' flag and a 'mmc_doing_tune' helper
Our driver needs to know when tuning is in progress. 'doing_retune' only
covers re-tuning, not the initial tuning. Add another flag to detect the
initial tuning state and add a helper which tells us if any kind of
tuning is going on. Only implemented for MMC currently because that's
where we need it. SD can be added later if it becomes necessary.

Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Reviewed-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Tested-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Link: https://lore.kernel.org/r/20200901150250.26236-3-wsa+renesas@sang-engineering.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
2020-09-07 09:16:31 +02:00
..
card.h mmc: sdio: Parse CISTPL_VERS_1 major and minor revision numbers 2020-09-07 09:11:28 +02:00
core.h mmc: core: Re-work the code for eMMC sanitize 2020-03-26 14:45:31 +01:00
host.h mmc: core: add a 'doing_init_tune' flag and a 'mmc_doing_tune' helper 2020-09-07 09:16:31 +02:00
mmc.h mmc: core: expose info about enhanced rpmb support 2020-05-28 11:21:03 +02:00
pm.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500 2019-06-19 17:09:55 +02:00
sd.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sdhci-pci-data.h MMC core: 2017-11-13 10:17:35 -08:00
sdio.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 152 2019-05-30 11:26:32 -07:00
sdio_func.h mmc: sdio: Parse CISTPL_VERS_1 major and minor revision numbers 2020-09-07 09:11:28 +02:00
sdio_ids.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next 2020-08-05 20:13:21 -07:00
sh_mmcif.h treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 178 2019-05-30 11:29:19 -07:00
slot-gpio.h mmc: core: Remove mmc_gpiod_request_*(invert_gpio) 2019-12-18 13:37:07 +01:00