Lines Matching refs:mmc
114 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA; in mrst_hc_probe_slot()
134 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA; in pch_hc_probe_slot()
145 mmc_detect_change(host->mmc, msecs_to_jiffies(200)); in sdhci_pci_sd_cd()
209 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE; in mfd_emmc_probe_slot()
210 slot->host->mmc->caps2 |= MMC_CAP2_BOOTPART_NOACC | in mfd_emmc_probe_slot()
217 slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE; in mfd_sdio_probe_slot()
333 static int bxt_get_cd(struct mmc_host *mmc) in bxt_get_cd() argument
335 int gpio_cd = mmc_gpio_get_cd(mmc); in bxt_get_cd()
336 struct sdhci_host *host = mmc_priv(mmc); in bxt_get_cd()
343 pm_runtime_get_sync(mmc->parent); in bxt_get_cd()
354 pm_runtime_mark_last_busy(mmc->parent); in bxt_get_cd()
355 pm_runtime_put_autosuspend(mmc->parent); in bxt_get_cd()
362 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | in byt_emmc_probe_slot()
365 slot->host->mmc->caps2 |= MMC_CAP2_HC_ERASE_SZ; in byt_emmc_probe_slot()
378 slot->host->mmc->caps |= MMC_CAP_POWER_OFF_CARD | MMC_CAP_NONREMOVABLE | in byt_sdio_probe_slot()
385 slot->host->mmc->caps |= MMC_CAP_WAIT_WHILE_BUSY; in byt_sd_probe_slot()
435 slot->host->mmc->caps |= MMC_CAP_8_BIT_DATA | MMC_CAP_NONREMOVABLE | in intel_mrfl_mmc_probe_slot()
596 slot->host->mmc->caps |= MMC_CAP_BUS_WIDTH_TEST; in jmicron_probe_slot()
742 slot->host->mmc->caps2 |= MMC_CAP2_HS200; in rtsx_probe_slot()
1459 slot_pm_flags = slot->host->mmc->pm_flags; in sdhci_pci_suspend()
1670 ret = pci_request_region(pdev, bar, mmc_hostname(host->mmc)); in sdhci_pci_probe_slot()
1692 slot->host->mmc->caps |= MMC_CAP_HW_RESET; in sdhci_pci_probe_slot()
1700 host->mmc->pm_caps = MMC_PM_KEEP_POWER | MMC_PM_WAKE_SDIO_IRQ; in sdhci_pci_probe_slot()
1701 host->mmc->slotno = slotno; in sdhci_pci_probe_slot()
1702 host->mmc->caps2 |= MMC_CAP2_NO_PRESCAN_POWERUP; in sdhci_pci_probe_slot()
1705 mmc_gpiod_request_cd(host->mmc, slot->cd_con_id, slot->cd_idx, in sdhci_pci_probe_slot()