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 ASB2303_GPIO0DEF   __SYSREG(0xDB000000, u32)
 
#define ASB2303_7SEGLEDS   __SYSREG(0xDB000008, u32)
 
#define mn10300_set_gdbleds(ONOFF)
 
#define mn10300_set_dbfleds
 

Functions

void peripheral_leds_display_exception (enum exception_code code)
 
void peripheral_leds_led_chase (void)
 
void debug_to_serial (const char *p, int n)
 

Macro Definition Documentation

#define ASB2303_7SEGLEDS   __SYSREG(0xDB000008, u32)

Definition at line 20 of file leds.h.

#define ASB2303_GPIO0DEF   __SYSREG(0xDB000000, u32)

Definition at line 19 of file leds.h.

#define mn10300_set_dbfleds
Value:
mov 0x43,d0 ; \

Definition at line 33 of file leds.h.

#define mn10300_set_gdbleds (   ONOFF)
Value:
do { \
ASB2303_7SEGLEDS = (ONOFF) ? 0x85 : 0x7f; \
} while (0)

Definition at line 27 of file leds.h.

Function Documentation

void debug_to_serial ( const char p,
int  n 
)

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

void peripheral_leds_display_exception ( enum exception_code  code)

Definition at line 39 of file leds.c.

void peripheral_leds_led_chase ( void  )

Definition at line 45 of file leds.c.