Lines Matching refs:regulator
39 #include <linux/regulator/consumer.h>
178 * Each PHY can have a separate regulator.
180 struct regulator *regulator[OMAP3_HS_USB_PORTS];
665 /* get ehci regulator and enable */
668 omap->regulator[i] = NULL;
672 omap->regulator[i] = regulator_get(omap->dev, supply);
673 if (IS_ERR(omap->regulator[i])) {
674 omap->regulator[i] = NULL;
676 "failed to get ehci port%d regulator\n", i);
678 regulator_enable(omap->regulator[i]);
713 if (omap->regulator[i]) {
714 regulator_disable(omap->regulator[i]);
715 regulator_put(omap->regulator[i]);
757 if (omap->regulator[i]) {
758 regulator_disable(omap->regulator[i]);
759 regulator_put(omap->regulator[i]);