Lines Matching refs:mmc
149 static int bxt_get_cd(struct mmc_host *mmc) in bxt_get_cd() argument
151 int gpio_cd = mmc_gpio_get_cd(mmc); in bxt_get_cd()
152 struct sdhci_host *host = mmc_priv(mmc); in bxt_get_cd()
159 pm_runtime_get_sync(mmc->parent); in bxt_get_cd()
170 pm_runtime_mark_last_busy(mmc->parent); in bxt_get_cd()
171 pm_runtime_put_autosuspend(mmc->parent); in bxt_get_cd()
387 host->mmc->caps |= c->slot->chip->caps; in sdhci_acpi_probe()
388 host->mmc->caps2 |= c->slot->chip->caps2; in sdhci_acpi_probe()
389 host->mmc->pm_caps |= c->slot->chip->pm_caps; in sdhci_acpi_probe()
393 host->mmc->caps |= c->slot->caps; in sdhci_acpi_probe()
394 host->mmc->caps2 |= c->slot->caps2; in sdhci_acpi_probe()
395 host->mmc->pm_caps |= c->slot->pm_caps; in sdhci_acpi_probe()
398 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_acpi_probe()
403 if (mmc_gpiod_request_cd(host->mmc, NULL, 0, v, 0, NULL)) { in sdhci_acpi_probe()