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

Go to the source code of this file.

Data Structures

struct  c67x00_platform_data
 

Macros

#define C67X00_SIE_UNUSED   0
 
#define C67X00_SIE_HOST   1
 
#define C67X00_SIE_PERIPHERAL_A   2 /* peripheral on A port */
 
#define C67X00_SIE_PERIPHERAL_B   3 /* peripheral on B port */
 
#define c67x00_sie_config(config, n)   (((config)>>(4*(n)))&0x3)
 
#define C67X00_SIE1_UNUSED   (C67X00_SIE_UNUSED << 0)
 
#define C67X00_SIE1_HOST   (C67X00_SIE_HOST << 0)
 
#define C67X00_SIE1_PERIPHERAL_A   (C67X00_SIE_PERIPHERAL_A << 0)
 
#define C67X00_SIE1_PERIPHERAL_B   (C67X00_SIE_PERIPHERAL_B << 0)
 
#define C67X00_SIE2_UNUSED   (C67X00_SIE_UNUSED << 4)
 
#define C67X00_SIE2_HOST   (C67X00_SIE_HOST << 4)
 
#define C67X00_SIE2_PERIPHERAL_A   (C67X00_SIE_PERIPHERAL_A << 4)
 
#define C67X00_SIE2_PERIPHERAL_B   (C67X00_SIE_PERIPHERAL_B << 4)
 

Macro Definition Documentation

#define C67X00_SIE1_HOST   (C67X00_SIE_HOST << 0)

Definition at line 34 of file c67x00.h.

#define C67X00_SIE1_PERIPHERAL_A   (C67X00_SIE_PERIPHERAL_A << 0)

Definition at line 35 of file c67x00.h.

#define C67X00_SIE1_PERIPHERAL_B   (C67X00_SIE_PERIPHERAL_B << 0)

Definition at line 36 of file c67x00.h.

#define C67X00_SIE1_UNUSED   (C67X00_SIE_UNUSED << 0)

Definition at line 33 of file c67x00.h.

#define C67X00_SIE2_HOST   (C67X00_SIE_HOST << 4)

Definition at line 39 of file c67x00.h.

#define C67X00_SIE2_PERIPHERAL_A   (C67X00_SIE_PERIPHERAL_A << 4)

Definition at line 40 of file c67x00.h.

#define C67X00_SIE2_PERIPHERAL_B   (C67X00_SIE_PERIPHERAL_B << 4)

Definition at line 41 of file c67x00.h.

#define C67X00_SIE2_UNUSED   (C67X00_SIE_UNUSED << 4)

Definition at line 38 of file c67x00.h.

#define c67x00_sie_config (   config,
  n 
)    (((config)>>(4*(n)))&0x3)

Definition at line 31 of file c67x00.h.

#define C67X00_SIE_HOST   1

Definition at line 27 of file c67x00.h.

#define C67X00_SIE_PERIPHERAL_A   2 /* peripheral on A port */

Definition at line 28 of file c67x00.h.

#define C67X00_SIE_PERIPHERAL_B   3 /* peripheral on B port */

Definition at line 29 of file c67x00.h.

#define C67X00_SIE_UNUSED   0

Definition at line 26 of file c67x00.h.