Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
led.h File Reference

Go to the source code of this file.

Macros

#define LED7   0x80 /* top (or furthest right) LED */
 
#define LED6   0x40
 
#define LED5   0x20
 
#define LED4   0x10
 
#define LED3   0x08
 
#define LED2   0x04
 
#define LED1   0x02
 
#define LED0   0x01 /* bottom (or furthest left) LED */
 
#define LED_LAN_TX   LED0 /* for LAN transmit activity */
 
#define LED_LAN_RCV   LED1 /* for LAN receive activity */
 
#define LED_DISK_IO   LED2 /* for disk activity */
 
#define LED_HEARTBEAT   LED3 /* heartbeat */
 
#define DISPLAY_MODEL_LCD   0 /* KittyHawk LED or LCD */
 
#define DISPLAY_MODEL_NONE   1 /* no LED or LCD */
 
#define DISPLAY_MODEL_LASI   2 /* LASI style 8 bit LED */
 
#define DISPLAY_MODEL_OLD_ASP   0x7F /* faked: ASP style 8 x 1 bit LED (only very old ASP versions) */
 
#define LED_CMD_REG_NONE   0 /* NULL == no addr for the cmd register */
 
#define lcd_print(str)
 

Functions

int __init register_led_driver (int model, unsigned long cmd_reg, unsigned long data_reg)
 
void __init register_led_regions (void)
 
int __init led_init (void)
 

Macro Definition Documentation

#define DISPLAY_MODEL_LASI   2 /* LASI style 8 bit LED */

Definition at line 21 of file led.h.

#define DISPLAY_MODEL_LCD   0 /* KittyHawk LED or LCD */

Definition at line 19 of file led.h.

#define DISPLAY_MODEL_NONE   1 /* no LED or LCD */

Definition at line 20 of file led.h.

#define DISPLAY_MODEL_OLD_ASP   0x7F /* faked: ASP style 8 x 1 bit LED (only very old ASP versions) */

Definition at line 22 of file led.h.

#define lcd_print (   str)

Definition at line 36 of file led.h.

#define LED0   0x01 /* bottom (or furthest left) LED */

Definition at line 11 of file led.h.

#define LED1   0x02

Definition at line 10 of file led.h.

#define LED2   0x04

Definition at line 9 of file led.h.

#define LED3   0x08

Definition at line 8 of file led.h.

#define LED4   0x10

Definition at line 7 of file led.h.

#define LED5   0x20

Definition at line 6 of file led.h.

#define LED6   0x40

Definition at line 5 of file led.h.

#define LED7   0x80 /* top (or furthest right) LED */

Definition at line 4 of file led.h.

#define LED_CMD_REG_NONE   0 /* NULL == no addr for the cmd register */

Definition at line 24 of file led.h.

#define LED_DISK_IO   LED2 /* for disk activity */

Definition at line 15 of file led.h.

#define LED_HEARTBEAT   LED3 /* heartbeat */

Definition at line 16 of file led.h.

#define LED_LAN_RCV   LED1 /* for LAN receive activity */

Definition at line 14 of file led.h.

#define LED_LAN_TX   LED0 /* for LAN transmit activity */

Definition at line 13 of file led.h.

Function Documentation

int __init led_init ( void  )

Definition at line 686 of file led.c.

int __init register_led_driver ( int  model,
unsigned long  cmd_reg,
unsigned long  data_reg 
)

Definition at line 551 of file led.c.

void __init register_led_regions ( void  )

Definition at line 615 of file led.c.