Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/mmc/host/
Dsdhci-omap.c111 static void sdhci_omap_start_clock(struct sdhci_omap_host *omap_host);
112 static void sdhci_omap_stop_clock(struct sdhci_omap_host *omap_host);
126 static int sdhci_omap_set_pbias(struct sdhci_omap_host *omap_host, in sdhci_omap_set_pbias() argument
130 struct device *dev = omap_host->dev; in sdhci_omap_set_pbias()
132 if (IS_ERR(omap_host->pbias)) in sdhci_omap_set_pbias()
136 ret = regulator_set_voltage(omap_host->pbias, iov, iov); in sdhci_omap_set_pbias()
142 if (omap_host->pbias_enabled) in sdhci_omap_set_pbias()
145 ret = regulator_enable(omap_host->pbias); in sdhci_omap_set_pbias()
151 omap_host->pbias_enabled = true; in sdhci_omap_set_pbias()
153 if (!omap_host->pbias_enabled) in sdhci_omap_set_pbias()
[all …]