Lines Matching refs:caps1
3802 if (host->v4_mode && (host->caps1 & SDHCI_CAN_DO_ADMA3)) in sdhci_cqe_enable()
3975 const u32 *caps, const u32 *caps1) in __sdhci_read_caps() argument
4019 if (caps1) { in __sdhci_read_caps()
4020 host->caps1 = *caps1; in __sdhci_read_caps()
4022 host->caps1 = sdhci_readl(host, SDHCI_CAPABILITIES_1); in __sdhci_read_caps()
4023 host->caps1 &= ~upper_32_bits(dt_caps_mask); in __sdhci_read_caps()
4024 host->caps1 |= upper_32_bits(dt_caps); in __sdhci_read_caps()
4281 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
4394 host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | in sdhci_setup_host()
4412 host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 | in sdhci_setup_host()
4427 if (host->caps1 & (SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 | in sdhci_setup_host()
4432 if (host->caps1 & SDHCI_SUPPORT_SDR104) { in sdhci_setup_host()
4439 } else if (host->caps1 & SDHCI_SUPPORT_SDR50) { in sdhci_setup_host()
4444 (host->caps1 & SDHCI_SUPPORT_HS400)) in sdhci_setup_host()
4453 if ((host->caps1 & SDHCI_SUPPORT_DDR50) && in sdhci_setup_host()
4458 if (host->caps1 & SDHCI_USE_SDR50_TUNING) in sdhci_setup_host()
4462 if (host->caps1 & SDHCI_DRIVER_TYPE_A) in sdhci_setup_host()
4464 if (host->caps1 & SDHCI_DRIVER_TYPE_C) in sdhci_setup_host()
4466 if (host->caps1 & SDHCI_DRIVER_TYPE_D) in sdhci_setup_host()
4471 host->caps1); in sdhci_setup_host()
4481 host->tuning_mode = FIELD_GET(SDHCI_RETUNING_MODE_MASK, host->caps1); in sdhci_setup_host()