Lines Matching refs:host

3  *  linux/drivers/mmc/core/host.h
11 #include <linux/mmc/host.h>
16 void mmc_retune_enable(struct mmc_host *host);
17 void mmc_retune_disable(struct mmc_host *host);
18 void mmc_retune_hold(struct mmc_host *host);
19 void mmc_retune_release(struct mmc_host *host);
20 int mmc_retune(struct mmc_host *host);
21 void mmc_retune_pause(struct mmc_host *host);
22 void mmc_retune_unpause(struct mmc_host *host);
24 static inline void mmc_retune_clear(struct mmc_host *host)
26 host->retune_now = 0;
27 host->need_retune = 0;
30 static inline void mmc_retune_hold_now(struct mmc_host *host)
32 host->retune_now = 0;
33 host->hold_retune += 1;
36 static inline void mmc_retune_recheck(struct mmc_host *host)
38 if (host->hold_retune <= 1)
39 host->retune_now = 1;
42 static inline int mmc_host_cmd23(struct mmc_host *host)
44 return host->caps & MMC_CAP_CMD23;
47 static inline bool mmc_host_done_complete(struct mmc_host *host)
49 return host->caps & MMC_CAP_DONE_COMPLETE;
52 static inline int mmc_boot_partition_access(struct mmc_host *host)
54 return !(host->caps2 & MMC_CAP2_BOOTPART_NOACC);
57 static inline int mmc_host_uhs(struct mmc_host *host)
59 return host->caps &
63 host->caps & MMC_CAP_4_BIT_DATA;
68 return card->host->ios.timing == MMC_TIMING_MMC_HS200;
73 return card->host->ios.timing == MMC_TIMING_MMC_DDR52;
78 return card->host->ios.timing == MMC_TIMING_MMC_HS400;
83 return card->host->ios.enhanced_strobe;
86 static inline bool mmc_card_sd_express(struct mmc_host *host)
88 return host->ios.timing == MMC_TIMING_SD_EXP ||
89 host->ios.timing == MMC_TIMING_SD_EXP_1_2V;