Searched refs:lednum (Results 1 – 4 of 4) sorted by relevance
/Linux-v5.4/drivers/regulator/ |
D | wm8350-regulator.c | 1232 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/ |
D | ar5523_hw.h | 254 __be32 lednum; member 263 __be32 lednum; member
|
D | ar5523.c | 415 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/ |
D | pmic.h | 752 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink,
|