Home
last modified time | relevance | path

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

/drivers/regulator/
Dwm8350-regulator.c1230 int wm8350_register_led(struct wm8350 *wm8350, int lednum, int dcdc, int isink, in wm8350_register_led() argument
1237 if (lednum >= ARRAY_SIZE(wm8350->pmic.led) || lednum < 0) { in wm8350_register_led()
1238 dev_err(wm8350->dev, "Invalid LED index %d\n", lednum); in wm8350_register_led()
1242 led = &wm8350->pmic.led[lednum]; in wm8350_register_led()
1245 dev_err(wm8350->dev, "LED %d already allocated\n", lednum); in wm8350_register_led()
1249 pdev = platform_device_alloc("wm8350-led", lednum); in wm8350_register_led()
1251 dev_err(wm8350->dev, "Failed to allocate LED %d\n", lednum); in wm8350_register_led()
1296 lednum, ret); in wm8350_register_led()
/drivers/net/wireless/ath/ar5523/
Dar5523_hw.h254 __be32 lednum; member
263 __be32 lednum; member
Dar5523.c426 static int ar5523_set_ledsteady(struct ar5523 *ar, int lednum, int ledmode) in ar5523_set_ledsteady() argument
430 led.lednum = cpu_to_be32(lednum); in ar5523_set_ledsteady()
434 (lednum == UATH_LED_LINK) ? "link" : "activity", in ar5523_set_ledsteady()