Lines Matching refs:caps2
328 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
348 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
357 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
380 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
382 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
395 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
397 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
399 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
401 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
403 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
405 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
407 host->caps2 |= MMC_CAP2_NO_SD; in mmc_of_parse()
409 host->caps2 |= MMC_CAP2_NO_MMC; in mmc_of_parse()
411 host->caps2 &= ~(MMC_CAP2_HS400_1_8V | MMC_CAP2_HS400_1_2V | in mmc_of_parse()
620 u32 caps = host->caps, caps2 = host->caps2; in mmc_validate_host_caps() local
627 if (caps2 & (MMC_CAP2_HS400_ES | MMC_CAP2_HS400) && in mmc_validate_host_caps()
628 !(caps & MMC_CAP_8_BIT_DATA) && !(caps2 & MMC_CAP2_NO_MMC)) { in mmc_validate_host_caps()
630 host->caps2 = caps2 & ~MMC_CAP2_HS400_ES & ~MMC_CAP2_HS400; in mmc_validate_host_caps()