diff options
author | Linux Build Service Account <lnxbuild@localhost> | 2018-04-23 01:14:43 -0700 |
---|---|---|
committer | Gerrit - the friendly Code Review server <code-review@localhost> | 2018-04-23 01:14:42 -0700 |
commit | d6dbc4164987174dadfaa0d3e76debfcc96b5f6d (patch) | |
tree | 4fc5901a28260ba8461be243ed83128472ab0e3b /include/linux/mmc/host.h | |
parent | 3eab84442ed377bee429bd84f3c072107b263141 (diff) | |
parent | 34f009cf75adc03c0ff8394092ff2b93271feab6 (diff) |
Merge "mmc: core: implement enhanced strobe support"
Diffstat (limited to 'include/linux/mmc/host.h')
-rw-r--r-- | include/linux/mmc/host.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/linux/mmc/host.h b/include/linux/mmc/host.h index c9e252bc4c2c..f564303a28f9 100644 --- a/include/linux/mmc/host.h +++ b/include/linux/mmc/host.h @@ -84,6 +84,8 @@ struct mmc_ios { #define MMC_SET_DRIVER_TYPE_A 1 #define MMC_SET_DRIVER_TYPE_C 2 #define MMC_SET_DRIVER_TYPE_D 3 + + bool enhanced_strobe; /* hs400es selection */ }; /* states to represent load on the host */ @@ -827,6 +829,11 @@ static inline bool mmc_card_hs400(struct mmc_card *card) return card->host->ios.timing == MMC_TIMING_MMC_HS400; } +static inline bool mmc_card_hs400es(struct mmc_card *card) +{ + return card->host->ios.enhanced_strobe; +} + void mmc_retune_enable(struct mmc_host *host); void mmc_retune_disable(struct mmc_host *host); void mmc_retune_timer_stop(struct mmc_host *host); |