Lines Matching refs:caps
1625 void mmc_dump_capabilities(const char *text, uint caps) in mmc_dump_capabilities() argument
1630 if (caps & MMC_MODE_8BIT) in mmc_dump_capabilities()
1632 if (caps & MMC_MODE_4BIT) in mmc_dump_capabilities()
1634 if (caps & MMC_MODE_1BIT) in mmc_dump_capabilities()
1638 if (MMC_CAP(mode) & caps) in mmc_dump_capabilities()
1724 #define for_each_sd_mode_by_pref(caps, mwt) \ argument
1728 if (caps & MMC_CAP(mwt->mode))
1740 uint caps; in sd_select_mode_and_width() local
1760 caps = card_caps & mmc->host_caps; in sd_select_mode_and_width()
1763 caps &= ~UHS_CAPS; in sd_select_mode_and_width()
1765 for_each_sd_mode_by_pref(caps, mwt) { in sd_select_mode_and_width()
1769 if (*w & caps & mwt->widths) { in sd_select_mode_and_width()
1946 #define for_each_mmc_mode_by_pref(caps, mwt) \ argument
1950 if (caps & MMC_CAP(mwt->mode))
2058 #define for_each_supported_width(caps, ddr, ecbv) \ argument
2062 if ((ddr == ecbv->is_ddr) && (caps & ecbv->cap))