1 /*
2 * linux/include/asm-arm/leds.h
3 *
4 * Copyright (C) 1998 Russell King
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License version 2 as
8 * published by the Free Software Foundation.
9 *
10 * Event-driven interface for LEDs on machines
11 * Added led_start and led_stop- Alex Holden, 28th Dec 1998.
12 */
13 #ifndef ASM_ARM_LEDS_H
14 #define ASM_ARM_LEDS_H
15
16 #include <linux/config.h>
17
18 typedef enum {
19 led_idle_start,
20 led_idle_end,
21 led_timer,
22 led_start,
23 led_stop,
24 led_claim, /* override idle & timer leds */
25 led_release, /* restore idle & timer leds */
26 led_green_on,
27 led_green_off,
28 led_amber_on,
29 led_amber_off,
30 led_red_on,
31 led_red_off,
32 /*
33 * I want this between led_timer and led_start, but
34 * someone has decided to export this to user space
35 */
36 led_halted
37 } led_event_t;
38
39 /* Use this routine to handle LEDs */
40
41 #ifdef CONFIG_LEDS
42 extern void (*leds_event)(led_event_t);
43 #else
44 #define leds_event(e)
45 #endif
46
47 #endif
48
This page was automatically generated by the
LXR engine.
Visit the LXR main site for more
information.