Lines Matching refs:leds
13 * The LEDs can be configured at runtime in /sys/class/leds/
25 #include <linux/leds.h>
146 * @leds: bitmap representing the LED status
148 static void led_ASP_driver(unsigned char leds)
152 leds = ~leds;
155 value = (leds & 0x80) >> 7;
158 leds <<= 1;
165 * @leds: bitmap representing the LED status
167 static void led_LASI_driver(unsigned char leds)
169 leds = ~leds;
170 gsc_writeb( leds, LED_DATA_REG );
176 * @leds: bitmap representing the LED status
178 static void led_LCD_driver(unsigned char leds)
194 if ((leds & mask[i]) == (latest_leds & mask[i]))
200 gsc_writeb( leds & mask[i] ? blockp[i]->on :
204 latest_leds = leds;
260 struct hppa_led leds[NUM_LEDS_PER_BOARD];
289 struct led_classdev *lp = &p->leds[i].led_cdev;
291 p->leds[i].led_bit = BIT(i);
301 led_classdev_unregister(&p->leds[i].led_cdev);
317 led_classdev_unregister(&p->leds[i].led_cdev);
370 MODULE_ALIAS("platform:platform-leds");
376 .name = "platform-leds",
385 .name = "platform-leds",