Home
last modified time | relevance | path

Searched refs:selected_mode (Results 1 – 8 of 8) sorted by relevance

/openbmc/u-boot/drivers/mmc/
H A Drenesas-sdhi.c116 bool hs400 = (mmc->selected_mode == MMC_HS_400); in renesas_sdhi_hs400()
296 if (!((mmc->selected_mode == MMC_HS_200) || in renesas_sdhi_execute_tuning()
297 (mmc->selected_mode == MMC_HS_400) || in renesas_sdhi_execute_tuning()
298 (mmc->selected_mode == UHS_SDR104) || in renesas_sdhi_execute_tuning()
299 (mmc->selected_mode == UHS_SDR50))) in renesas_sdhi_execute_tuning()
376 (mmc->selected_mode != UHS_SDR104) && in renesas_sdhi_set_ios()
377 (mmc->selected_mode != MMC_HS_200) && in renesas_sdhi_set_ios()
378 (mmc->selected_mode != MMC_HS_400)) { in renesas_sdhi_set_ios()
H A Dzynq_sdhci.c171 uhsmode = mode2timing[mmc->selected_mode]; in arasan_sdhci_set_tapdelay()
192 if (mmc->selected_mode > SD_HS && in arasan_sdhci_set_control_reg()
193 mmc->selected_mode <= UHS_DDR50) { in arasan_sdhci_set_control_reg()
196 switch (mmc->selected_mode) { in arasan_sdhci_set_control_reg()
H A Dmtk-sd.c836 if (host->mclk != clock || host->timing != mmc->selected_mode) in msdc_ops_set_ios()
837 msdc_set_mclk(host, mmc->selected_mode, clock); in msdc_ops_set_ios()
952 if (mmc->selected_mode == MMC_HS_200 || in msdc_tune_response()
953 mmc->selected_mode == UHS_SDR104) in msdc_tune_response()
1115 if (mmc->selected_mode == MMC_HS_200 || in msdc_tune_data()
1116 mmc->selected_mode == UHS_SDR104) in msdc_tune_data()
1133 if (mmc->selected_mode == MMC_HS_400) { in msdc_execute_tuning()
H A Dmmc.c188 mmc->selected_mode = mode; in mmc_select_mode()
917 if (MMC_CAP(mmc->selected_mode) & forbidden) { in mmc_boot_part_access_chk()
919 mmc_mode_name(mmc->selected_mode), part_num); in mmc_boot_part_access_chk()
921 } else if (mmc->selected_mode != mmc->best_mode) { in mmc_boot_part_access_chk()
1956 if (mmc->selected_mode == MMC_HS_200 || in mmc_select_mode_and_width()
1957 mmc->selected_mode == MMC_HS_400) in mmc_select_mode_and_width()
2454 mmc->best_mode = mmc->selected_mode; in mmc_startup()
H A Dfsl_esdhc.c760 switch (mmc->selected_mode) { in esdhc_set_timing()
787 printf("Not supported %d\n", mmc->selected_mode); in esdhc_set_timing()
791 priv->mode = mmc->selected_mode; in esdhc_set_timing()
977 if (priv->mode != mmc->selected_mode) { in esdhc_set_ios_common()
H A Domap_hsmmc.c366 priv->mode = mmc->selected_mode; in omap_hsmmc_set_timing()
635 if (!((mmc->selected_mode == MMC_HS_200) || in omap_hsmmc_execute_tuning()
636 (mmc->selected_mode == UHS_SDR104) || in omap_hsmmc_execute_tuning()
637 ((mmc->selected_mode == UHS_SDR50) && (val & CAPA2_TSDR50)))) in omap_hsmmc_execute_tuning()
1445 if (priv->mode != mmc->selected_mode)
/openbmc/u-boot/include/
H A Dmmc.h635 enum bus_mode selected_mode; /* mode currently used */ member
/openbmc/u-boot/cmd/
H A Dmmc.c29 printf("Mode : %s\n", mmc_mode_name(mmc->selected_mode)); in print_mmcinfo()