Lines Matching refs:caps
185 u32 caps = host->caps, caps2 = host->caps2; in mmc_select_card_type() local
189 if (caps & MMC_CAP_MMC_HIGHSPEED && in mmc_select_card_type()
195 if (caps & MMC_CAP_MMC_HIGHSPEED && in mmc_select_card_type()
201 if (caps & MMC_CAP_1_8V_DDR && in mmc_select_card_type()
207 if (caps & MMC_CAP_1_2V_DDR && in mmc_select_card_type()
907 !(host->caps & (MMC_CAP_4_BIT_DATA | MMC_CAP_8_BIT_DATA))) in mmc_select_bus_width()
910 idx = (host->caps & MMC_CAP_8_BIT_DATA) ? 0 : 1; in mmc_select_bus_width()
941 if (!(host->caps & MMC_CAP_BUS_WIDTH_TEST)) in mmc_select_bus_width()
1552 if (!cmd.busy_timeout || !(host->caps & MMC_CAP_WAIT_WHILE_BUSY)) in mmc_sleep()
1746 if (!(host->caps & MMC_CAP_RUNTIME_RESUME)) { in mmc_resume()
1763 if (!(host->caps & MMC_CAP_AGGRESSIVE_PM)) in mmc_runtime_suspend()
1781 if (!(host->caps & (MMC_CAP_AGGRESSIVE_PM | MMC_CAP_RUNTIME_RESUME))) in mmc_runtime_resume()
1819 if (!(host->caps & MMC_CAP_HW_RESET) || !host->ops->hw_reset) in mmc_reset()