Lines Matching refs:regulator
2 * leds-regulator.c - LED class driver for regulator driven LEDs.
19 #include <linux/leds-regulator.h>
21 #include <linux/regulator/consumer.h>
33 struct regulator *vcc;
36 static inline int led_regulator_get_max_brightness(struct regulator *supply)
44 /* even if regulator can't change voltages,
55 static int led_regulator_get_voltage(struct regulator *supply,
147 struct regulator *vcc;
221 .name = "leds-regulator",
243 MODULE_ALIAS("platform:leds-regulator");