Searched refs:lednum (Results 1 – 2 of 2) sorted by relevance
/linux-4.19.296/drivers/regulator/ |
D | wm8350-regulator.c | 1296 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/ |
D | pmic.h | 757 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,
|