Lines Matching refs:caps
186 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
190 if (caps & MMC_CAP_MMC_HIGHSPEED && in mmc_select_card_type()
196 if (caps & MMC_CAP_MMC_HIGHSPEED && in mmc_select_card_type()
202 if (caps & MMC_CAP_1_8V_DDR && in mmc_select_card_type()
208 if (caps & MMC_CAP_1_2V_DDR && in mmc_select_card_type()
911 !(host->caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA))) in mmc_select_bus_width()
914 idx = (host->caps & MMC_CAP_8_BIT_DATA) ? 0 : 1; in mmc_select_bus_width()
945 if (!(host->caps & MMC_CAP_BUS_WIDTH_TEST)) in mmc_select_bus_width()
1078 if (host->caps & MMC_CAP_WAIT_WHILE_BUSY) in mmc_select_hs400()
1161 if (host->caps & MMC_CAP_WAIT_WHILE_BUSY) in mmc_hs400_to_hs200()
1270 if (host->caps & MMC_CAP_WAIT_WHILE_BUSY) in mmc_select_hs200()
1721 if (!cmd.busy_timeout || !(host->caps & MMC_CAP_WAIT_WHILE_BUSY)) in mmc_sleep()
1917 if (!(host->caps & MMC_CAP_RUNTIME_RESUME)) { in mmc_resume()
1934 if (!(host->caps & MMC_CAP_AGGRESSIVE_PM)) in mmc_runtime_suspend()
1952 if (!(host->caps & (MMC_CAP_AGGRESSIVE_PM | MMC_CAP_RUNTIME_RESUME))) in mmc_runtime_resume()
1978 if (!(host->caps & MMC_CAP_HW_RESET) || !host->ops->hw_reset) in mmc_reset()