Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
leds.h File Reference
#include <asm/pio-regs.h>
#include <asm/cpu-regs.h>
#include <asm/exceptions.h>

Go to the source code of this file.

Macros

#define MN10300_USE_7SEGLEDS   0
 
#define ASB2364_7SEGLEDS   __SYSREG(0xA9001630, u32)
 
#define mn10300_set_gdbleds(ONOFF)   do {} while (0)
 
#define mn10300_set_dbfleds
 

Functions

void peripheral_leds_display_exception (enum exception_code)
 
void peripheral_leds_led_chase (void)
 
void peripheral_leds7x4_display_dec (unsigned int, unsigned int)
 
void peripheral_leds7x4_display_hex (unsigned int, unsigned int)
 
void debug_to_serial (const char *, int)
 

Macro Definition Documentation

#define ASB2364_7SEGLEDS   __SYSREG(0xA9001630, u32)

Definition at line 21 of file leds.h.

#define mn10300_set_dbfleds

Definition at line 43 of file leds.h.

#define mn10300_set_gdbleds (   ONOFF)    do {} while (0)

Definition at line 34 of file leds.h.

#define MN10300_USE_7SEGLEDS   0

Definition at line 19 of file leds.h.

Function Documentation

void debug_to_serial ( const char ,
int   
)

Definition at line 155 of file debug-stub.c.

void peripheral_leds7x4_display_dec ( unsigned  int,
unsigned  int 
)

Definition at line 36 of file leds.c.

void peripheral_leds7x4_display_hex ( unsigned  int,
unsigned  int 
)

Definition at line 52 of file leds.c.

void peripheral_leds_display_exception ( enum  exception_code)

Definition at line 39 of file leds.c.

void peripheral_leds_led_chase ( void  )

Definition at line 45 of file leds.c.