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

Go to the source code of this file.

Data Structures

struct  t3e3_param
 
struct  t3e3_stats
 
struct  t3e3_resp
 

Macros

#define SBE_2T3E3_OFF   0
 
#define SBE_2T3E3_ON   1
 
#define SBE_2T3E3_LED_NONE   0
 
#define SBE_2T3E3_LED_GREEN   1
 
#define SBE_2T3E3_LED_YELLOW   2
 
#define SBE_2T3E3_CABLE_LENGTH_LESS_THAN_255_FEET   0
 
#define SBE_2T3E3_CABLE_LENGTH_GREATER_THAN_255_FEET   1
 
#define SBE_2T3E3_CRC_16   0
 
#define SBE_2T3E3_CRC_32   1
 
#define SBE_2T3E3_PANEL_FRONT   0
 
#define SBE_2T3E3_PANEL_REAR   1
 
#define SBE_2T3E3_FRAME_MODE_HDLC   0
 
#define SBE_2T3E3_FRAME_MODE_TRANSPARENT   1
 
#define SBE_2T3E3_FRAME_MODE_RAW   2
 
#define SBE_2T3E3_FRAME_TYPE_E3_G751   0
 
#define SBE_2T3E3_FRAME_TYPE_E3_G832   1
 
#define SBE_2T3E3_FRAME_TYPE_T3_CBIT   2
 
#define SBE_2T3E3_FRAME_TYPE_T3_M13   3
 
#define SBE_2T3E3_FRACTIONAL_MODE_NONE   0
 
#define SBE_2T3E3_FRACTIONAL_MODE_0   1
 
#define SBE_2T3E3_FRACTIONAL_MODE_1   2
 
#define SBE_2T3E3_FRACTIONAL_MODE_2   3
 
#define SBE_2T3E3_SCRAMBLER_OFF   0
 
#define SBE_2T3E3_SCRAMBLER_LARSCOM   1
 
#define SBE_2T3E3_SCRAMBLER_ADC_KENTROX_DIGITAL   2
 
#define SBE_2T3E3_TIMING_LOCAL   0
 
#define SBE_2T3E3_TIMING_LOOP   1
 
#define SBE_2T3E3_LOOPBACK_NONE   0
 
#define SBE_2T3E3_LOOPBACK_ETHERNET   1
 
#define SBE_2T3E3_LOOPBACK_FRAMER   2
 
#define SBE_2T3E3_LOOPBACK_LIU_DIGITAL   3
 
#define SBE_2T3E3_LOOPBACK_LIU_ANALOG   4
 
#define SBE_2T3E3_LOOPBACK_LIU_REMOTE   5
 
#define SBE_2T3E3_PAD_COUNT_1   1
 
#define SBE_2T3E3_PAD_COUNT_2   2
 
#define SBE_2T3E3_PAD_COUNT_3   3
 
#define SBE_2T3E3_PAD_COUNT_4   4
 
#define SBE_2T3E3_CHIP_21143   0
 
#define SBE_2T3E3_CHIP_CPLD   1
 
#define SBE_2T3E3_CHIP_FRAMER   2
 
#define SBE_2T3E3_CHIP_LIU   3
 
#define SBE_2T3E3_LOG_LEVEL_NONE   0
 
#define SBE_2T3E3_LOG_LEVEL_ERROR   1
 
#define SBE_2T3E3_LOG_LEVEL_WARNING   2
 
#define SBE_2T3E3_LOG_LEVEL_INFO   3
 
#define SBE_2T3E3_PORT_GET   0
 
#define SBE_2T3E3_PORT_SET   1
 
#define SBE_2T3E3_PORT_GET_STATS   2
 
#define SBE_2T3E3_PORT_DEL_STATS   3
 
#define SBE_2T3E3_PORT_READ_REGS   4
 
#define SBE_2T3E3_LOG_LEVEL   5
 
#define SBE_2T3E3_PORT_WRITE_REGS   6
 
#define NG_SBE_2T3E3_NODE_TYPE   "sbe2T3E3"
 
#define NG_SBE_2T3E3_COOKIE   0x03800891
 

Typedefs

typedef struct t3e3_param t3e3_param_t
 
typedef struct t3e3_stats t3e3_stats_t
 
typedef struct t3e3_resp t3e3_resp_t
 

Macro Definition Documentation

#define NG_SBE_2T3E3_COOKIE   0x03800891

Definition at line 85 of file ctrl.h.

#define NG_SBE_2T3E3_NODE_TYPE   "sbe2T3E3"

Definition at line 84 of file ctrl.h.

#define SBE_2T3E3_CABLE_LENGTH_GREATER_THAN_255_FEET   1

Definition at line 24 of file ctrl.h.

#define SBE_2T3E3_CABLE_LENGTH_LESS_THAN_255_FEET   0

Definition at line 23 of file ctrl.h.

#define SBE_2T3E3_CHIP_21143   0

Definition at line 65 of file ctrl.h.

#define SBE_2T3E3_CHIP_CPLD   1

Definition at line 66 of file ctrl.h.

#define SBE_2T3E3_CHIP_FRAMER   2

Definition at line 67 of file ctrl.h.

#define SBE_2T3E3_CHIP_LIU   3

Definition at line 68 of file ctrl.h.

#define SBE_2T3E3_CRC_16   0

Definition at line 26 of file ctrl.h.

#define SBE_2T3E3_CRC_32   1

Definition at line 27 of file ctrl.h.

#define SBE_2T3E3_FRACTIONAL_MODE_0   1

Definition at line 42 of file ctrl.h.

#define SBE_2T3E3_FRACTIONAL_MODE_1   2

Definition at line 43 of file ctrl.h.

#define SBE_2T3E3_FRACTIONAL_MODE_2   3

Definition at line 44 of file ctrl.h.

#define SBE_2T3E3_FRACTIONAL_MODE_NONE   0

Definition at line 41 of file ctrl.h.

#define SBE_2T3E3_FRAME_MODE_HDLC   0

Definition at line 32 of file ctrl.h.

#define SBE_2T3E3_FRAME_MODE_RAW   2

Definition at line 34 of file ctrl.h.

#define SBE_2T3E3_FRAME_MODE_TRANSPARENT   1

Definition at line 33 of file ctrl.h.

#define SBE_2T3E3_FRAME_TYPE_E3_G751   0

Definition at line 36 of file ctrl.h.

#define SBE_2T3E3_FRAME_TYPE_E3_G832   1

Definition at line 37 of file ctrl.h.

#define SBE_2T3E3_FRAME_TYPE_T3_CBIT   2

Definition at line 38 of file ctrl.h.

#define SBE_2T3E3_FRAME_TYPE_T3_M13   3

Definition at line 39 of file ctrl.h.

#define SBE_2T3E3_LED_GREEN   1

Definition at line 20 of file ctrl.h.

#define SBE_2T3E3_LED_NONE   0

Definition at line 19 of file ctrl.h.

#define SBE_2T3E3_LED_YELLOW   2

Definition at line 21 of file ctrl.h.

#define SBE_2T3E3_LOG_LEVEL   5

Definition at line 81 of file ctrl.h.

#define SBE_2T3E3_LOG_LEVEL_ERROR   1

Definition at line 71 of file ctrl.h.

#define SBE_2T3E3_LOG_LEVEL_INFO   3

Definition at line 73 of file ctrl.h.

#define SBE_2T3E3_LOG_LEVEL_NONE   0

Definition at line 70 of file ctrl.h.

#define SBE_2T3E3_LOG_LEVEL_WARNING   2

Definition at line 72 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_ETHERNET   1

Definition at line 54 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_FRAMER   2

Definition at line 55 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_LIU_ANALOG   4

Definition at line 57 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_LIU_DIGITAL   3

Definition at line 56 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_LIU_REMOTE   5

Definition at line 58 of file ctrl.h.

#define SBE_2T3E3_LOOPBACK_NONE   0

Definition at line 53 of file ctrl.h.

#define SBE_2T3E3_OFF   0

Definition at line 16 of file ctrl.h.

#define SBE_2T3E3_ON   1

Definition at line 17 of file ctrl.h.

#define SBE_2T3E3_PAD_COUNT_1   1

Definition at line 60 of file ctrl.h.

#define SBE_2T3E3_PAD_COUNT_2   2

Definition at line 61 of file ctrl.h.

#define SBE_2T3E3_PAD_COUNT_3   3

Definition at line 62 of file ctrl.h.

#define SBE_2T3E3_PAD_COUNT_4   4

Definition at line 63 of file ctrl.h.

#define SBE_2T3E3_PANEL_FRONT   0

Definition at line 29 of file ctrl.h.

#define SBE_2T3E3_PANEL_REAR   1

Definition at line 30 of file ctrl.h.

#define SBE_2T3E3_PORT_DEL_STATS   3

Definition at line 79 of file ctrl.h.

#define SBE_2T3E3_PORT_GET   0

Definition at line 76 of file ctrl.h.

#define SBE_2T3E3_PORT_GET_STATS   2

Definition at line 78 of file ctrl.h.

#define SBE_2T3E3_PORT_READ_REGS   4

Definition at line 80 of file ctrl.h.

#define SBE_2T3E3_PORT_SET   1

Definition at line 77 of file ctrl.h.

#define SBE_2T3E3_PORT_WRITE_REGS   6

Definition at line 82 of file ctrl.h.

#define SBE_2T3E3_SCRAMBLER_ADC_KENTROX_DIGITAL   2

Definition at line 48 of file ctrl.h.

#define SBE_2T3E3_SCRAMBLER_LARSCOM   1

Definition at line 47 of file ctrl.h.

#define SBE_2T3E3_SCRAMBLER_OFF   0

Definition at line 46 of file ctrl.h.

#define SBE_2T3E3_TIMING_LOCAL   0

Definition at line 50 of file ctrl.h.

#define SBE_2T3E3_TIMING_LOOP   1

Definition at line 51 of file ctrl.h.

Typedef Documentation