Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/drivers/mmc/host/
H A Dsdhci-omap.c122 static void sdhci_omap_start_clock(struct sdhci_omap_host *omap_host);
123 static void sdhci_omap_stop_clock(struct sdhci_omap_host *omap_host);
137 static int sdhci_omap_set_pbias(struct sdhci_omap_host *omap_host, in sdhci_omap_set_pbias() argument
141 struct device *dev = omap_host->dev; in sdhci_omap_set_pbias()
143 if (IS_ERR(omap_host->pbias)) in sdhci_omap_set_pbias()
147 ret = regulator_set_voltage(omap_host->pbias, iov, iov); in sdhci_omap_set_pbias()
153 if (omap_host->pbias_enabled) in sdhci_omap_set_pbias()
156 ret = regulator_enable(omap_host->pbias); in sdhci_omap_set_pbias()
162 omap_host->pbias_enabled = true; in sdhci_omap_set_pbias()
164 if (!omap_host->pbias_enabled) in sdhci_omap_set_pbias()
[all …]