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

Go to the source code of this file.

Data Structures

struct  c4_cpld
 

Macros

#define PMCC4_CPLD_MCSR_IND
 
#define PMCC4_CPLD_MCSR_CMT_1
 
#define PMCC4_CPLD_MCSR_CMT_2
 
#define PMCC4_CPLD_MCSR_CMT_3
 
#define PMCC4_CPLD_MCSR_CMT_4
 
#define PMCC4_CPLD_MCLK_MASK   0x0f
 
#define PMCC4_CPLD_MCLK_P1   0x1
 
#define PMCC4_CPLD_MCLK_P2   0x2
 
#define PMCC4_CPLD_MCLK_P3   0x4
 
#define PMCC4_CPLD_MCLK_P4   0x8
 
#define PMCC4_CPLD_MCLK_T1   0x00
 
#define PMCC4_CPLD_MCLK_P1_E1   0x01
 
#define PMCC4_CPLD_MCLK_P2_E1   0x02
 
#define PMCC4_CPLD_MCLK_P3_E1   0x04
 
#define PMCC4_CPLD_MCLK_P4_E1   0x08
 
#define PMCC4_CPLD_LED_OFF   0
 
#define PMCC4_CPLD_LED_ON   1
 
#define PMCC4_CPLD_LED_GP0   0x01 /* port 0, green */
 
#define PMCC4_CPLD_LED_YP0   0x02 /* port 0, yellow */
 
#define PMCC4_CPLD_LED_GP1   0x04 /* port 1, green */
 
#define PMCC4_CPLD_LED_YP1   0x08 /* port 1, yellow */
 
#define PMCC4_CPLD_LED_GP2   0x10 /* port 2, green */
 
#define PMCC4_CPLD_LED_YP2   0x20 /* port 2, yellow */
 
#define PMCC4_CPLD_LED_GP3   0x40 /* port 3, green */
 
#define PMCC4_CPLD_LED_YP3   0x80 /* port 3, yellow */
 
#define PMCC4_CPLD_LED_GREEN
 
#define PMCC4_CPLD_LED_YELLOW
 
#define PMCC4_CPLD_INTR_MASK   0x0f
 
#define PMCC4_CPLD_INTR_CMT_1   0x01
 
#define PMCC4_CPLD_INTR_CMT_2   0x02
 
#define PMCC4_CPLD_INTR_CMT_3   0x04
 
#define PMCC4_CPLD_INTR_CMT_4   0x08
 

Typedefs

typedef struct c4_cpld c4cpld_t
 

Macro Definition Documentation

#define PMCC4_CPLD_INTR_CMT_1   0x01

Definition at line 81 of file pmcc4_cpld.h.

#define PMCC4_CPLD_INTR_CMT_2   0x02

Definition at line 82 of file pmcc4_cpld.h.

#define PMCC4_CPLD_INTR_CMT_3   0x04

Definition at line 83 of file pmcc4_cpld.h.

#define PMCC4_CPLD_INTR_CMT_4   0x08

Definition at line 84 of file pmcc4_cpld.h.

#define PMCC4_CPLD_INTR_MASK   0x0f

Definition at line 80 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_GP0   0x01 /* port 0, green */

Definition at line 67 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_GP1   0x04 /* port 1, green */

Definition at line 69 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_GP2   0x10 /* port 2, green */

Definition at line 71 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_GP3   0x40 /* port 3, green */

Definition at line 73 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_GREEN
Value:

Definition at line 75 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_OFF   0

Definition at line 65 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_ON   1

Definition at line 66 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_YELLOW
Value:

Definition at line 77 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_YP0   0x02 /* port 0, yellow */

Definition at line 68 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_YP1   0x08 /* port 1, yellow */

Definition at line 70 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_YP2   0x20 /* port 2, yellow */

Definition at line 72 of file pmcc4_cpld.h.

#define PMCC4_CPLD_LED_YP3   0x80 /* port 3, yellow */

Definition at line 74 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_MASK   0x0f

Definition at line 54 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P1   0x1

Definition at line 55 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P1_E1   0x01

Definition at line 60 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P2   0x2

Definition at line 56 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P2_E1   0x02

Definition at line 61 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P3   0x4

Definition at line 57 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P3_E1   0x04

Definition at line 62 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P4   0x8

Definition at line 58 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_P4_E1   0x08

Definition at line 63 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCLK_T1   0x00

Definition at line 59 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCSR_CMT_1
Value:
1 /* COMET 1 BP Clk is source, 2,3,4
* are Clk slaves */

Definition at line 49 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCSR_CMT_2
Value:
2 /* COMET 2 BP Clk is source, 1,3,4
* are Clk slaves */

Definition at line 50 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCSR_CMT_3
Value:
3 /* COMET 3 BP Clk is source, 1,2,4
* are Clk slaves */

Definition at line 51 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCSR_CMT_4
Value:
4 /* COMET 4 BP Clk is source, 1,2,3
* are Clk slaves */

Definition at line 52 of file pmcc4_cpld.h.

#define PMCC4_CPLD_MCSR_IND
Value:
0 /* ports used individual BP Clk as
* source, no slaves */

Definition at line 48 of file pmcc4_cpld.h.

Typedef Documentation

Definition at line 45 of file pmcc4_cpld.h.