Lines Matching refs:intel_host

107 struct intel_host {  struct
116 static int __intel_dsm(struct intel_host *intel_host, struct device *dev, in __intel_dsm() argument
144 static int intel_dsm(struct intel_host *intel_host, struct device *dev, in intel_dsm() argument
147 if (fn > 31 || !(intel_host->dsm_fns & (1 << fn))) in intel_dsm()
150 return __intel_dsm(intel_host, dev, fn, result); in intel_dsm()
153 static void intel_dsm_init(struct intel_host *intel_host, struct device *dev, in intel_dsm_init() argument
158 intel_host->hs_caps = ~0; in intel_dsm_init()
160 err = __intel_dsm(intel_host, dev, INTEL_DSM_FNS, &intel_host->dsm_fns); in intel_dsm_init()
168 mmc_hostname(mmc), intel_host->dsm_fns); in intel_dsm_init()
170 intel_dsm(intel_host, dev, INTEL_DSM_HS_CAPS, &intel_host->hs_caps); in intel_dsm_init()
178 struct intel_host *intel_host = sdhci_acpi_priv(c); in intel_start_signal_voltage_switch() local
198 err = intel_dsm(intel_host, dev, fn, &result); in intel_start_signal_voltage_switch()
311 struct intel_host *intel_host = sdhci_acpi_priv(c); in intel_probe_slot() local
322 intel_dsm_init(intel_host, &pdev->dev, host->mmc); in intel_probe_slot()
335 struct intel_host *intel_host = sdhci_acpi_priv(c); in intel_setup_host() local
337 if (!(intel_host->hs_caps & INTEL_DSM_HS_CAPS_SDR25)) in intel_setup_host()
340 if (!(intel_host->hs_caps & INTEL_DSM_HS_CAPS_SDR50)) in intel_setup_host()
343 if (!(intel_host->hs_caps & INTEL_DSM_HS_CAPS_DDR50)) in intel_setup_host()
346 if (!(intel_host->hs_caps & INTEL_DSM_HS_CAPS_SDR104)) in intel_setup_host()
365 .priv_size = sizeof(struct intel_host),
379 .priv_size = sizeof(struct intel_host),
392 .priv_size = sizeof(struct intel_host),
957 struct intel_host *intel_host = sdhci_acpi_priv(c); in sdhci_acpi_reset_signal_voltage_if_needed() local
961 intel_dsm(intel_host, dev, fn, &result); in sdhci_acpi_reset_signal_voltage_if_needed()