Home
last modified time | relevance | path

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

/openbmc/linux/drivers/regulator/
H A Dwm831x-isink.c114 struct wm831x_isink *isink; in wm831x_isink_probe() local
127 if (!isink) in wm831x_isink_probe()
130 isink->wm831x = wm831x; in wm831x_isink_probe()
138 isink->reg = res->start; in wm831x_isink_probe()
143 snprintf(isink->name, sizeof(isink->name), "ISINK%d", id + 1); in wm831x_isink_probe()
144 isink->desc.name = isink->name; in wm831x_isink_probe()
145 isink->desc.id = id; in wm831x_isink_probe()
151 isink->desc.csel_reg = isink->reg, in wm831x_isink_probe()
159 isink->regulator = devm_regulator_register(&pdev->dev, &isink->desc, in wm831x_isink_probe()
172 isink->name, in wm831x_isink_probe()
[all …]
H A Dwm8350-regulator.c97 int isink = rdev_get_id(rdev); in wm8350_isink_enable() local
99 switch (isink) { in wm8350_isink_enable()
141 int isink = rdev_get_id(rdev); in wm8350_isink_disable() local
143 switch (isink) { in wm8350_isink_disable()
181 int isink = rdev_get_id(rdev); in wm8350_isink_is_enabled() local
183 switch (isink) { in wm8350_isink_is_enabled()
197 int isink = rdev_get_id(rdev); in wm8350_isink_enable_time() local
200 switch (isink) { in wm8350_isink_enable_time()
239 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode, in wm8350_isink_set_flash() argument
243 switch (isink) { in wm8350_isink_set_flash()
[all …]
H A DMakefile193 obj-$(CONFIG_REGULATOR_WM831X) += wm831x-isink.o
/openbmc/linux/drivers/leds/
H A Dleds-wm8350.c95 ret = regulator_enable(led->isink); in wm8350_led_enable()
104 regulator_disable(led->isink); in wm8350_led_enable()
126 ret = regulator_disable(led->isink); in wm8350_led_disable()
167 ret = regulator_set_current_limit(led->isink, isink_cur[uA], in wm8350_led_set()
188 struct regulator *isink, *dcdc; in wm8350_led_probe() local
204 isink = devm_regulator_get(&pdev->dev, "led_isink"); in wm8350_led_probe()
205 if (IS_ERR(isink)) { in wm8350_led_probe()
207 return PTR_ERR(isink); in wm8350_led_probe()
224 led->enabled = regulator_is_enabled(isink); in wm8350_led_probe()
225 led->isink = isink; in wm8350_led_probe()
/openbmc/linux/drivers/leds/rgb/
H A Dleds-mt6370-rgb.c129 struct led_classdev isink; member
611 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_brightness_set()
647 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_blink_set()
675 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_pattern_set()
703 struct mt6370_led *led = container_of(lcdev, struct mt6370_led, isink); in mt6370_isnk_pattern_clear()
779 lcdev = &led->isink; in mt6370_init_led_properties()
825 led->isink.brightness = led->isink.max_brightness; in mt6370_isnk_init_default_state()
828 led->isink.brightness = min(level, led->isink.max_brightness); in mt6370_isnk_init_default_state()
831 led->isink.brightness = 0; in mt6370_isnk_init_default_state()
835 return mt6370_isnk_brightness_set(&led->isink, led->isink.brightness); in mt6370_isnk_init_default_state()
[all …]
/openbmc/linux/include/linux/mfd/wm831x/
H A Dpdata.h17 int isink; /** ISINK to use, 1 or 2 */ member
140 struct regulator_init_data *isink[WM831X_MAX_ISINK]; member
/openbmc/linux/drivers/video/backlight/
H A Dwm831x_bl.c148 switch (pdata->isink) { in wm831x_backlight_probe()
158 dev_err(&pdev->dev, "Invalid ISINK %d\n", pdata->isink); in wm831x_backlight_probe()
/openbmc/linux/include/linux/mfd/wm8350/
H A Dpmic.h720 struct regulator *isink; member
752 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,
771 int wm8350_isink_set_flash(struct wm8350 *wm8350, int isink, u16 mode,
/openbmc/linux/arch/arm/boot/dts/mediatek/
H A Dmt7623n-bananapi-bpi-r2.dts359 label = "bpi-r2:isink:green";
365 label = "bpi-r2:isink:red";
371 label = "bpi-r2:isink:blue";
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam335x-guardian.dts325 isink-en = <1>;