Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Variables
io.h File Reference
#include <arch/svinto.h>

Go to the source code of this file.

Macros

#define REG_SHADOW_SET(r, s, b, v)   *r = s = (s & ~(1 << (b))) | ((v) << (b))
 
#define CRIS_LED_BIT_SET(x)
 
#define CRIS_LED_BIT_CLR(x)
 
#define CRIS_LED_OFF   0x00
 
#define CRIS_LED_GREEN   0x01
 
#define CRIS_LED_RED   0x02
 
#define CRIS_LED_ORANGE   (CRIS_LED_GREEN | CRIS_LED_RED)
 
#define CRIS_LED_NETWORK_SET(x)
 
#define CRIS_LED_ACTIVE_SET(x)
 
#define SOFT_SHUTDOWN()
 

Variables

unsigned long gen_config_ii_shadow
 
unsigned long port_g_data_shadow
 
unsigned char port_pa_dir_shadow
 
unsigned char port_pa_data_shadow
 
unsigned char port_pb_i2c_shadow
 
unsigned char port_pb_config_shadow
 
unsigned char port_pb_dir_shadow
 
unsigned char port_pb_data_shadow
 
unsigned long r_timer_ctrl_shadow
 
unsigned long port_cse1_shadow
 
unsigned long port_csp0_shadow
 
unsigned long port_csp4_shadow
 
volatile unsigned longport_cse1_addr
 
volatile unsigned longport_csp0_addr
 
volatile unsigned longport_csp4_addr
 

Macro Definition Documentation

#define CRIS_LED_ACTIVE_SET (   x)
Value:
do { \
CRIS_LED_ACTIVE_SET_G((x) & CRIS_LED_GREEN); \
} while (0)

Definition at line 75 of file io.h.

#define CRIS_LED_BIT_CLR (   x)

Definition at line 51 of file io.h.

#define CRIS_LED_BIT_SET (   x)

Definition at line 50 of file io.h.

#define CRIS_LED_GREEN   0x01

Definition at line 55 of file io.h.

#define CRIS_LED_NETWORK_SET (   x)
Value:
do { \
CRIS_LED_NETWORK_SET_G((x) & CRIS_LED_GREEN); \
} while (0)

Definition at line 63 of file io.h.

#define CRIS_LED_OFF   0x00

Definition at line 54 of file io.h.

#define CRIS_LED_ORANGE   (CRIS_LED_GREEN | CRIS_LED_RED)

Definition at line 57 of file io.h.

#define CRIS_LED_RED   0x02

Definition at line 56 of file io.h.

#define REG_SHADOW_SET (   r,
  s,
  b,
  v 
)    *r = s = (s & ~(1 << (b))) | ((v) << (b))

Definition at line 33 of file io.h.

#define SOFT_SHUTDOWN ( )

Definition at line 171 of file io.h.

Variable Documentation

unsigned long gen_config_ii_shadow

Definition at line 8 of file shadows.c.

volatile unsigned long* port_cse1_addr

Definition at line 33 of file shadows.c.

unsigned long port_cse1_shadow

Definition at line 25 of file shadows.c.

volatile unsigned long* port_csp0_addr

Definition at line 34 of file shadows.c.

unsigned long port_csp0_shadow

Definition at line 26 of file shadows.c.

volatile unsigned long* port_csp4_addr

Definition at line 35 of file shadows.c.

unsigned long port_csp4_shadow

Definition at line 27 of file shadows.c.

unsigned long port_g_data_shadow

Definition at line 9 of file shadows.c.

unsigned char port_pa_data_shadow

Definition at line 11 of file shadows.c.

unsigned char port_pa_dir_shadow

Definition at line 10 of file shadows.c.

unsigned char port_pb_config_shadow

Definition at line 13 of file shadows.c.

unsigned char port_pb_data_shadow

Definition at line 15 of file shadows.c.

unsigned char port_pb_dir_shadow

Definition at line 14 of file shadows.c.

unsigned char port_pb_i2c_shadow

Definition at line 12 of file shadows.c.

unsigned long r_timer_ctrl_shadow

Definition at line 16 of file shadows.c.