Lines Matching refs:caps1
3940 if (host->v4_mode && (host->caps1 & SDHCI_CAN_DO_ADMA3)) in sdhci_cqe_enable()
4122 const u32 *caps, const u32 *caps1) in __sdhci_read_caps() argument
4166 if (caps1) { in __sdhci_read_caps()
4167 host->caps1 = *caps1; in __sdhci_read_caps()
4169 host->caps1 = sdhci_readl(host, SDHCI_CAPABILITIES_1); in __sdhci_read_caps()
4170 host->caps1 &= ~upper_32_bits(dt_caps_mask); in __sdhci_read_caps()
4171 host->caps1 |= upper_32_bits(dt_caps); in __sdhci_read_caps()
4432 host->clk_mul = FIELD_GET(SDHCI_CLOCK_MUL_MASK, host->caps1); in sdhci_setup_host()
4545 host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | in sdhci_setup_host()
4563 host->caps1 &= ~(SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 | in sdhci_setup_host()
4578 if (host->caps1 & (SDHCI_SUPPORT_SDR104 | SDHCI_SUPPORT_SDR50 | in sdhci_setup_host()
4583 if (host->caps1 & SDHCI_SUPPORT_SDR104) { in sdhci_setup_host()
4590 } else if (host->caps1 & SDHCI_SUPPORT_SDR50) { in sdhci_setup_host()
4595 (host->caps1 & SDHCI_SUPPORT_HS400)) in sdhci_setup_host()
4604 if ((host->caps1 & SDHCI_SUPPORT_DDR50) && in sdhci_setup_host()
4609 if (host->caps1 & SDHCI_USE_SDR50_TUNING) in sdhci_setup_host()
4613 if (host->caps1 & SDHCI_DRIVER_TYPE_A) in sdhci_setup_host()
4615 if (host->caps1 & SDHCI_DRIVER_TYPE_C) in sdhci_setup_host()
4617 if (host->caps1 & SDHCI_DRIVER_TYPE_D) in sdhci_setup_host()
4622 host->caps1); in sdhci_setup_host()
4632 host->tuning_mode = FIELD_GET(SDHCI_RETUNING_MODE_MASK, host->caps1); in sdhci_setup_host()