Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/regulator/
Dwm831x-isink.c35 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_enable() local
36 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_enable()
40 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, in wm831x_isink_enable()
46 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, in wm831x_isink_enable()
49 wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_enable()
57 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_disable() local
58 struct wm831x *wm831x = isink->wm831x; in wm831x_isink_disable()
61 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_DRIVE, 0); in wm831x_isink_disable()
65 ret = wm831x_set_bits(wm831x, isink->reg, WM831X_CS1_ENA, 0); in wm831x_isink_disable()
75 struct wm831x_isink *isink = rdev_get_drvdata(rdev); in wm831x_isink_is_enabled() local
[all …]
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 …]
DMakefile155 obj-$(CONFIG_REGULATOR_WM831X) += wm831x-isink.o
/kernel/linux/linux-5.10/drivers/leds/
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()
/kernel/linux/linux-5.10/include/linux/mfd/wm831x/
Dpdata.h17 int isink; /** ISINK to use, 1 or 2 */ member
140 struct regulator_init_data *isink[WM831X_MAX_ISINK]; member
/kernel/linux/linux-5.10/drivers/video/backlight/
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()
/kernel/linux/linux-5.10/include/linux/mfd/wm8350/
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,
/kernel/linux/linux-5.10/arch/arm/boot/dts/
Dmt7623n-bananapi-bpi-r2.dts330 label = "bpi-r2:isink:green";
336 label = "bpi-r2:isink:red";
342 label = "bpi-r2:isink:blue";
/kernel/linux/linux-5.10/arch/arm/mach-s3c/
Dmach-smdk6410.c527 .isink = 1,