Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/regulator/
Dwm8350-regulator.c1232 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, in wm8350_register_led() argument
1239 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) { in wm8350_register_led()
1240 dev_err(wm8350->dev, "Invalid LED index %d\n", lednum); in wm8350_register_led()
1244 led = &wm8350->pmic.led[lednum]; in wm8350_register_led()
1247 dev_err(wm8350->dev, "LED %d already allocated\n", lednum); in wm8350_register_led()
1251 pdev = platform_device_alloc("wm8350-led", lednum); in wm8350_register_led()
1253 dev_err(wm8350->dev, "Failed to allocate LED %d\n", lednum); in wm8350_register_led()
1298 lednum, ret); in wm8350_register_led()
/Linux-v5.4/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h254 __be32 lednum; member
263 __be32 lednum; member
Dar5523.c415 static int ar5523_set_ledsteady(struct ar5523 *ar, int lednum, int ledmode) in ar5523_set_ledsteady() argument
419 led.lednum = cpu_to_be32(lednum); in ar5523_set_ledsteady()
423 (lednum == UATH_LED_LINK) ? "link" : "activity", in ar5523_set_ledsteady()
/Linux-v5.4/include/linux/mfd/wm8350/
Dpmic.h752 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,