Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/mmc/host/
Dsdhci-omap.c118 static void sdhci_omap_start_clock(struct sdhci_omap_host *omap_host);
119 static void sdhci_omap_stop_clock(struct sdhci_omap_host *omap_host);
133 static int sdhci_omap_set_pbias(struct sdhci_omap_host *omap_host, in sdhci_omap_set_pbias() argument
137 struct device *dev = omap_host->dev; in sdhci_omap_set_pbias()
139 if (IS_ERR(omap_host->pbias)) in sdhci_omap_set_pbias()
143 ret = regulator_set_voltage(omap_host->pbias, iov, iov); in sdhci_omap_set_pbias()
149 if (omap_host->pbias_enabled) in sdhci_omap_set_pbias()
152 ret = regulator_enable(omap_host->pbias); in sdhci_omap_set_pbias()
158 omap_host->pbias_enabled = true; in sdhci_omap_set_pbias()
160 if (!omap_host->pbias_enabled) in sdhci_omap_set_pbias()
[all …]