Home
last modified time | relevance | path

Searched refs:lednum (Results 1 – 2 of 2) sorted by relevance

/linux-4.19.296/drivers/regulator/
Dwm8350-regulator.c1296 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, in wm8350_register_led() argument
1303 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) { in wm8350_register_led()
1304 dev_err(wm8350->dev, "Invalid LED index %d\n", lednum); in wm8350_register_led()
1308 led = &wm8350->pmic.led[lednum]; in wm8350_register_led()
1311 dev_err(wm8350->dev, "LED %d already allocated\n", lednum); in wm8350_register_led()
1315 pdev = platform_device_alloc("wm8350-led", lednum); in wm8350_register_led()
1317 dev_err(wm8350->dev, "Failed to allocate LED %d\n", lednum); in wm8350_register_led()
1362 lednum, ret); in wm8350_register_led()
/linux-4.19.296/include/linux/mfd/wm8350/
Dpmic.h757 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,