Lines Matching full:leds
2 * Bachmann ot200 leds driver.
13 #include <linux/leds.h>
26 * The device has three leds on the back panel (led_err, led_init and led_run)
27 * and can handle up to seven leds on the front panel.
30 static struct ot200_led leds[] = { variable
122 for (i = 0; i < ARRAY_SIZE(leds); i++) { in ot200_led_probe()
124 leds[i].cdev.name = leds[i].name; in ot200_led_probe()
125 leds[i].cdev.brightness_set = ot200_led_brightness_set; in ot200_led_probe()
127 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev); in ot200_led_probe()
132 leds_front = 0; /* turn off all front leds */ in ot200_led_probe()
143 .name = "leds-ot200",
152 MODULE_ALIAS("platform:leds-ot200");