Home
last modified time | relevance | path

Searched refs:omap_host (Results 1 – 1 of 1) sorted by relevance

/Linux-v4.19/drivers/mmc/host/
Dsdhci-omap.c120 static void sdhci_omap_start_clock(struct sdhci_omap_host *omap_host);
121 static void sdhci_omap_stop_clock(struct sdhci_omap_host *omap_host);
135 static int sdhci_omap_set_pbias(struct sdhci_omap_host *omap_host, in sdhci_omap_set_pbias() argument
139 struct device *dev = omap_host->dev; in sdhci_omap_set_pbias()
141 if (IS_ERR(omap_host->pbias)) in sdhci_omap_set_pbias()
145 ret = regulator_set_voltage(omap_host->pbias, iov, iov); in sdhci_omap_set_pbias()
151 if (omap_host->pbias_enabled) in sdhci_omap_set_pbias()
154 ret = regulator_enable(omap_host->pbias); in sdhci_omap_set_pbias()
160 omap_host->pbias_enabled = true; in sdhci_omap_set_pbias()
162 if (!omap_host->pbias_enabled) in sdhci_omap_set_pbias()
[all …]