Lines Matching refs:host
49 mmc_fdt_parse_sd_speed(phandle_t node, struct mmc_host *host)
60 host->caps |= MMC_CAP_HSPEED;
62 host->caps |= MMC_CAP_UHS_SDR12 | MMC_CAP_SIGNALING_180;
64 host->caps |= MMC_CAP_UHS_SDR25 | MMC_CAP_SIGNALING_180;
66 host->caps |= MMC_CAP_UHS_SDR50 | MMC_CAP_SIGNALING_180;
68 host->caps |= MMC_CAP_UHS_SDR104 | MMC_CAP_SIGNALING_180;
70 host->caps |= MMC_CAP_UHS_DDR50 | MMC_CAP_SIGNALING_180;
74 mmc_fdt_parse_mmc_speed(phandle_t node, struct mmc_host *host)
79 host->caps |= MMC_CAP_HSPEED;
81 host->caps |= MMC_CAP_MMC_DDR52_120 | MMC_CAP_SIGNALING_120;
83 host->caps |= MMC_CAP_MMC_DDR52_180 | MMC_CAP_SIGNALING_180;
85 host->caps |= MMC_CAP_SIGNALING_330;
87 host->caps |= MMC_CAP_MMC_HS200_120 | MMC_CAP_SIGNALING_120;
89 host->caps |= MMC_CAP_MMC_HS200_180 | MMC_CAP_SIGNALING_180;
91 host->caps |= MMC_CAP_MMC_HS400_120 | MMC_CAP_SIGNALING_120;
93 host->caps |= MMC_CAP_MMC_HS400_180 | MMC_CAP_SIGNALING_180;
95 host->caps |= MMC_CAP_MMC_ENH_STROBE;
100 struct mmc_host *host)
113 host->caps |= MMC_CAP_4_BIT_DATA;
115 host->caps |= MMC_CAP_8_BIT_DATA;
122 OF_getencprop(node, "max-frequency", &host->f_max, sizeof(uint32_t));
140 mmc_fdt_parse_sd_speed(node, host);
143 mmc_fdt_parse_mmc_speed(node, host);
163 host->caps |= MMC_CAP_SIGNALING_120;
165 host->caps &= ~( MMC_CAP_MMC_HS400_120 |
169 host->caps |= MMC_CAP_SIGNALING_180;
171 host->caps &= ~(MMC_CAP_MMC_HS400_180 |
179 host->caps |= MMC_CAP_SIGNALING_330;
181 host->caps |= MMC_CAP_SIGNALING_330;