Lines Matching defs:pbias
111 struct regulator *pbias;
157 if (IS_ERR(omap_host->pbias))
161 ret = regulator_set_voltage(omap_host->pbias, iov, iov);
163 dev_err(dev, "pbias set voltage failed\n");
170 ret = regulator_enable(omap_host->pbias);
172 dev_err(dev, "pbias reg enable fail\n");
181 ret = regulator_disable(omap_host->pbias);
183 dev_err(dev, "pbias reg disable fail\n");
970 unsigned int pbias, vqmmc, caps = 0;
973 pbias = sdhci_omap_regulator_get_caps(dev, "pbias");
975 caps = pbias & vqmmc;
977 if (pbias != ~0U && vqmmc == ~0U)
978 dev_warn(dev, "vqmmc regulator missing for pbias\n");
986 if (pbias != ~0U && (pbias & SDHCI_CAN_VDD_330) &&
1288 omap_host->pbias = devm_regulator_get_optional(dev, "pbias");
1289 if (IS_ERR(omap_host->pbias)) {
1290 ret = PTR_ERR(omap_host->pbias);
1293 dev_dbg(dev, "unable to get pbias regulator %d\n", ret);