Lines Matching refs:caps2
319 host->caps2 |= MMC_CAP2_CD_ACTIVE_HIGH; in mmc_of_parse()
339 host->caps2 |= MMC_CAP2_RO_ACTIVE_HIGH; in mmc_of_parse()
348 host->caps2 |= MMC_CAP2_NO_WRITE_PROTECT; in mmc_of_parse()
371 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE; in mmc_of_parse()
373 host->caps2 |= MMC_CAP2_FULL_PWR_CYCLE_IN_SUSPEND; in mmc_of_parse()
385 host->caps2 |= MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
387 host->caps2 |= MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
389 host->caps2 |= MMC_CAP2_HS400_1_8V | MMC_CAP2_HS200_1_8V_SDR; in mmc_of_parse()
391 host->caps2 |= MMC_CAP2_HS400_1_2V | MMC_CAP2_HS200_1_2V_SDR; in mmc_of_parse()
393 host->caps2 |= MMC_CAP2_HS400_ES; in mmc_of_parse()
395 host->caps2 |= MMC_CAP2_NO_SDIO; in mmc_of_parse()
397 host->caps2 |= MMC_CAP2_NO_SD; in mmc_of_parse()
399 host->caps2 |= MMC_CAP2_NO_MMC; in mmc_of_parse()
401 host->caps2 &= ~(MMC_CAP2_HS400_1_8V | MMC_CAP2_HS400_1_2V | in mmc_of_parse()
613 u32 caps = host->caps, caps2 = host->caps2; in mmc_validate_host_caps() local
622 ((caps & (MMC_CAP_UHS | MMC_CAP_DDR)) || (caps2 & MMC_CAP2_HS200))) { in mmc_validate_host_caps()
625 caps2 &= ~MMC_CAP2_HS200; in mmc_validate_host_caps()
629 if (caps2 & (MMC_CAP2_HS400_ES | MMC_CAP2_HS400) && in mmc_validate_host_caps()
630 !(caps & MMC_CAP_8_BIT_DATA) && !(caps2 & MMC_CAP2_NO_MMC)) { in mmc_validate_host_caps()
632 caps2 &= ~(MMC_CAP2_HS400_ES | MMC_CAP2_HS400); in mmc_validate_host_caps()
636 host->caps2 = caps2; in mmc_validate_host_caps()