~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-parisc/led.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef LED_H
  2 #define LED_H
  3 
  4 
  5 #define LED7            0x80            /* top (or furthest right) LED */
  6 #define LED6            0x40
  7 #define LED5            0x20
  8 #define LED4            0x10
  9 #define LED3            0x08
 10 #define LED2            0x04
 11 #define LED1            0x02
 12 #define LED0            0x01            /* bottom (or furthest left) LED */
 13 
 14 #define LED_LAN_TX      LED0            /* for LAN transmit activity */
 15 #define LED_LAN_RCV     LED1            /* for LAN receive activity */
 16 #define LED_DISK_IO     LED2            /* for disk activity */
 17 #define LED_HEARTBEAT   LED3            /* heartbeat */
 18 
 19 
 20 /* irq function */
 21 extern void led_interrupt_func(void);
 22 
 23 /* LASI & ASP specific LED initialization funcs */
 24 extern void __init lasi_led_init( unsigned long lasi_hpa );
 25 extern void __init asp_led_init( unsigned long led_ptr );
 26 
 27 /* registers the LED regions for procfs */
 28 extern void __init register_led_regions(void);
 29 
 30 /* main LED initialization function (uses the PDC) */ 
 31 extern int __init led_init(void);
 32 
 33 #endif /* LED_H */
 34 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.