Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
leds-kirkwood-netxbig.h
Go to the documentation of this file.
1 /*
2  * arch/arm/mach-kirkwood/include/mach/leds-netxbig.h
3  *
4  * Platform data structure for netxbig LED driver
5  *
6  * This file is licensed under the terms of the GNU General Public
7  * License version 2. This program is licensed "as is" without any
8  * warranty of any kind, whether express or implied.
9  */
10 
11 #ifndef __MACH_LEDS_NETXBIG_H
12 #define __MACH_LEDS_NETXBIG_H
13 
15  unsigned *addr;
16  int num_addr;
17  unsigned *data;
18  int num_data;
19  unsigned enable;
20 };
21 
29 };
30 
31 #define NETXBIG_LED_INVALID_MODE NETXBIG_LED_MODE_NUM
32 
34  unsigned long delay_on;
35  unsigned long delay_off;
37 };
38 
39 struct netxbig_led {
40  const char *name;
41  const char *default_trigger;
42  int mode_addr;
43  int *mode_val;
45 };
46 
50  int num_timer;
51  struct netxbig_led *leds;
52  int num_leds;
53 };
54 
55 #endif /* __MACH_LEDS_NETXBIG_H */