Lines Matching refs:card_caps

938 	mmc->card_caps = MMC_MODE_1BIT | MMC_CAP(MMC_LEGACY);  in mmc_get_capabilities()
952 mmc->card_caps |= MMC_MODE_4BIT | MMC_MODE_8BIT; in mmc_get_capabilities()
960 mmc->card_caps |= MMC_MODE_HS200; in mmc_get_capabilities()
967 mmc->card_caps |= MMC_MODE_HS400; in mmc_get_capabilities()
972 mmc->card_caps |= MMC_MODE_DDR_52MHz; in mmc_get_capabilities()
973 mmc->card_caps |= MMC_MODE_HS_52MHz; in mmc_get_capabilities()
976 mmc->card_caps |= MMC_MODE_HS; in mmc_get_capabilities()
980 (mmc->card_caps & MMC_MODE_HS400)) { in mmc_get_capabilities()
981 mmc->card_caps |= MMC_MODE_HS400_ES; in mmc_get_capabilities()
1290 mmc->card_caps = MMC_MODE_1BIT | MMC_CAP(MMC_LEGACY); in sd_get_capabilities()
1340 mmc->card_caps |= MMC_MODE_4BIT; in sd_get_capabilities()
1361 mmc->card_caps |= MMC_CAP(SD_HS); in sd_get_capabilities()
1370 mmc->card_caps |= MMC_CAP(UHS_SDR104); in sd_get_capabilities()
1372 mmc->card_caps |= MMC_CAP(UHS_SDR50); in sd_get_capabilities()
1374 mmc->card_caps |= MMC_CAP(UHS_SDR25); in sd_get_capabilities()
1376 mmc->card_caps |= MMC_CAP(UHS_SDR12); in sd_get_capabilities()
1378 mmc->card_caps |= MMC_CAP(UHS_DDR50); in sd_get_capabilities()
1730 static int sd_select_mode_and_width(struct mmc *mmc, uint card_caps) in sd_select_mode_and_width() argument
1743 mmc_dump_capabilities("sd card", card_caps); in sd_select_mode_and_width()
1760 caps = card_caps & mmc->host_caps; in sd_select_mode_and_width()
2064 static int mmc_select_mode_and_width(struct mmc *mmc, uint card_caps) in mmc_select_mode_and_width() argument
2071 mmc_dump_capabilities("mmc", card_caps); in mmc_select_mode_and_width()
2083 card_caps &= mmc->host_caps; in mmc_select_mode_and_width()
2108 for_each_mmc_mode_by_pref(card_caps, mwt) { in mmc_select_mode_and_width()
2109 for_each_supported_width(card_caps & mwt->widths, in mmc_select_mode_and_width()
2587 err = sd_select_mode_and_width(mmc, mmc->card_caps); in mmc_startup()
2592 err = mmc_select_mode_and_width(mmc, mmc->card_caps); in mmc_startup()
2946 caps_filtered = mmc->card_caps & in mmc_deinit()
2953 caps_filtered = mmc->card_caps & in mmc_deinit()