Lines Matching defs: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[] = {
122 for (i = 0; i < ARRAY_SIZE(leds); i++) {
124 leds[i].cdev.name = leds[i].name;
125 leds[i].cdev.brightness_set = ot200_led_brightness_set;
127 ret = devm_led_classdev_register(&pdev->dev, &leds[i].cdev);
132 leds_front = 0; /* turn off all front leds */
143 .name = "leds-ot200",
152 MODULE_ALIAS("platform:leds-ot200");