Home
last modified time | relevance | path

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

/drivers/regulator/
Dwm831x-isink.c40 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_enable() local
41 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_enable()
45 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, in wm831x_isink_enable()
51 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, in wm831x_isink_enable()
54 wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_enable()
62 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_disable() local
63 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_disable()
66 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, 0); in wm831x_isink_disable()
70 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_disable()
80 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_is_enabled() local
[all …]
Dwm8350-regulator.c115 int isink = rdev_get_id(rdev); in wm8350_isink_set_current() local
123 switch (isink) { in wm8350_isink_set_current()
146 int isink = rdev_get_id(rdev); in wm8350_isink_get_current() local
149 switch (isink) { in wm8350_isink_get_current()
169 int isink = rdev_get_id(rdev); in wm8350_isink_enable() local
171 switch (isink) { in wm8350_isink_enable()
213 int isink = rdev_get_id(rdev); in wm8350_isink_disable() local
215 switch (isink) { in wm8350_isink_disable()
253 int isink = rdev_get_id(rdev); in wm8350_isink_is_enabled() local
255 switch (isink) { in wm8350_isink_is_enabled()
[all …]
DMakefile93 obj-$(CONFIG_REGULATOR_WM831X) += wm831x-isink.o
/drivers/leds/
Dleds-wm8350.c99 ret = regulator_enable(led->isink); in wm8350_led_enable()
108 regulator_disable(led->isink); in wm8350_led_enable()
128 ret = regulator_disable(led->isink); in wm8350_led_disable()
167 ret = regulator_set_current_limit(led->isink, isink_cur[uA], in led_work()
203 struct regulator *isink, *dcdc; in wm8350_led_probe() local
219 isink = devm_regulator_get(&pdev->dev, "led_isink"); in wm8350_led_probe()
220 if (IS_ERR(isink)) { in wm8350_led_probe()
222 return PTR_ERR(isink); in wm8350_led_probe()
239 led->enabled = regulator_is_enabled(isink); in wm8350_led_probe()
240 led->isink = isink; in wm8350_led_probe()
/drivers/video/backlight/
Dwm831x_bl.c162 switch (pdata->isink) { in wm831x_backlight_probe()
172 dev_err(&pdev->dev, "Invalid ISINK %d\n", pdata->isink); in wm831x_backlight_probe()