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

Go to the source code of this file.

Data Structures

struct  LLData
 
struct  HWConfig_pl
 
struct  message
 
struct  DualPortMemory
 

Macros

#define MAX_MESSAGES
 
#define MSG_DATA_LEN   48 /* Maximum size of message payload */
 
#define MSG_LEN   64 /* Size of a message */
 
#define CMPID   0 /* Loader message process ID */
 
#define CEPID   64 /* Firmware message process ID */
 
#define IS_CM_MESSAGE(mesg, tx, cx, dx)
 
#define IS_CE_MESSAGE(mesg, tx, cx, dx)
 
#define cmReqType1   1
 
#define cmReqType2   2
 
#define cmRspType0   0
 
#define cmRspType1   1
 
#define cmRspType2   2
 
#define cmRspType5   5
 
#define cmReqClass0   0
 
#define cmRspClass0   0
 
#define cmReqHWConfig   1 /* 1,0,1 */
 
#define cmReqMsgLpbk   2 /* 1,0,2 */
 
#define cmReqVersion   3 /* 1,0,3 */
 
#define cmReqLoadProc   1 /* 2,0,1 */
 
#define cmReqStartProc   2 /* 2,0,2 */
 
#define cmReqReadMem   6 /* 2,0,6 */
 
#define cmRspHWConfig   cmReqHWConfig
 
#define cmRspMsgLpbk   cmReqMsgLpbk
 
#define cmRspVersion   cmReqVersion
 
#define cmRspLoadProc   cmReqLoadProc
 
#define cmRspStartProc   cmReqStartProc
 
#define cmRspReadMem   cmReqReadMem
 
#define cmRspMiscEngineUp   1 /* 5,0,1 */
 
#define cmRspInvalid   0 /* 0,0,0 */
 
#define ceReqTypePhy   1
 
#define ceReqTypeLnk   2
 
#define ceReqTypeCall   3
 
#define ceReqTypeStat   1
 
#define ceRspTypeErr   0
 
#define ceRspTypePhy   ceReqTypePhy
 
#define ceRspTypeLnk   ceReqTypeLnk
 
#define ceRspTypeCall   ceReqTypeCall
 
#define ceRspTypeStat   ceReqTypeStat
 
#define ceReqClass0   0
 
#define ceReqClass1   1
 
#define ceReqClass2   2
 
#define ceReqClass3   3
 
#define ceRspClass0   ceReqClass0
 
#define ceRspClass1   ceReqClass1
 
#define ceRspClass2   ceReqClass2
 
#define ceRspClass3   ceReqClass3
 
#define ceReqPhyProcInfo   1 /* 1,0,1 */
 
#define ceReqPhyConnect   1 /* 1,1,1 */
 
#define ceReqPhyDisconnect   2 /* 1,1,2 */
 
#define ceReqPhySetParams   3 /* 1,1,3 (P) */
 
#define ceReqPhyGetParams   4 /* 1,1,4 (P) */
 
#define ceReqPhyStatus   1 /* 1,2,1 */
 
#define ceReqPhyAcfaStatus   2 /* 1,2,2 (P) */
 
#define ceReqPhyChCallState   3 /* 1,2,3 (P) */
 
#define ceReqPhyChServState   4 /* 1,2,4 (P) */
 
#define ceReqPhyRLoopBack   1 /* 1,3,1 */
 
#define ceRspPhyProcInfo   ceReqPhyProcInfo
 
#define ceRspPhyConnect   ceReqPhyConnect
 
#define ceRspPhyDisconnect   ceReqPhyDisconnect
 
#define ceRspPhySetParams   ceReqPhySetParams
 
#define ceRspPhyGetParams   ceReqPhyGetParams
 
#define ceRspPhyStatus   ceReqPhyStatus
 
#define ceRspPhyAcfaStatus   ceReqPhyAcfaStatus
 
#define ceRspPhyChCallState   ceReqPhyChCallState
 
#define ceRspPhyChServState   ceReqPhyChServState
 
#define ceRspPhyRLoopBack   ceReqphyRLoopBack
 
#define ceReqLnkSetParam   1 /* 2,0,1 */
 
#define ceReqLnkGetParam   2 /* 2,0,2 */
 
#define ceReqLnkGetStats   3 /* 2,0,3 */
 
#define ceReqLnkWrite   1 /* 2,1,1 */
 
#define ceReqLnkRead   2 /* 2,1,2 */
 
#define ceReqLnkFlush   3 /* 2,1,3 */
 
#define ceReqLnkWrBufTrc   4 /* 2,1,4 */
 
#define ceReqLnkRdBufTrc   5 /* 2,1,5 */
 
#define ceRspLnkSetParam   ceReqLnkSetParam
 
#define ceRspLnkGetParam   ceReqLnkGetParam
 
#define ceRspLnkGetStats   ceReqLnkGetStats
 
#define ceRspLnkWrite   ceReqLnkWrite
 
#define ceRspLnkRead   ceReqLnkRead
 
#define ceRspLnkFlush   ceReqLnkFlush
 
#define ceRspLnkWrBufTrc   ceReqLnkWrBufTrc
 
#define ceRspLnkRdBufTrc   ceReqLnkRdBufTrc
 
#define ceReqCallSetSwitchType   1 /* 3,0,1 */
 
#define ceReqCallGetSwitchType   2 /* 3,0,2 */
 
#define ceReqCallSetFrameFormat   3 /* 3,0,3 */
 
#define ceReqCallGetFrameFormat   4 /* 3,0,4 */
 
#define ceReqCallSetCallType   5 /* 3,0,5 */
 
#define ceReqCallGetCallType   6 /* 3,0,6 */
 
#define ceReqCallSetSPID   7 /* 3,0,7 (!P) */
 
#define ceReqCallGetSPID   8 /* 3,0,8 (!P) */
 
#define ceReqCallSetMyNumber   9 /* 3,0,9 (!P) */
 
#define ceReqCallGetMyNumber   10 /* 3,0,10 (!P) */
 
#define ceRspCallSetSwitchType   ceReqCallSetSwitchType
 
#define ceRspCallGetSwitchType   ceReqCallSetSwitchType
 
#define ceRspCallSetFrameFormat   ceReqCallSetFrameFormat
 
#define ceRspCallGetFrameFormat   ceReqCallGetFrameFormat
 
#define ceRspCallSetCallType   ceReqCallSetCallType
 
#define ceRspCallGetCallType   ceReqCallGetCallType
 
#define ceRspCallSetSPID   ceReqCallSetSPID
 
#define ceRspCallGetSPID   ceReqCallGetSPID
 
#define ceRspCallSetMyNumber   ceReqCallSetMyNumber
 
#define ceRspCallGetMyNumber   ceReqCallGetMyNumber
 
#define ceRspStatAcfaStatus   2
 
#define ceRspStat
 
#define ceRspErrError   0 /* 0,0,0 */
 
#define CALLTYPE_64K   0
 
#define CALLTYPE_56K   1
 
#define CALLTYPE_SPEECH   2
 
#define CALLTYPE_31KHZ   3
 

Typedefs

typedef struct message ReqMessage
 
typedef struct message RspMessage
 

Macro Definition Documentation

#define CALLTYPE_31KHZ   3

Definition at line 175 of file message.h.

#define CALLTYPE_56K   1

Definition at line 173 of file message.h.

#define CALLTYPE_64K   0

Definition at line 172 of file message.h.

#define CALLTYPE_SPEECH   2

Definition at line 174 of file message.h.

#define CEPID   64 /* Firmware message process ID */

Definition at line 32 of file message.h.

#define ceReqCallGetCallType   6 /* 3,0,6 */

Definition at line 150 of file message.h.

#define ceReqCallGetFrameFormat   4 /* 3,0,4 */

Definition at line 148 of file message.h.

#define ceReqCallGetMyNumber   10 /* 3,0,10 (!P) */

Definition at line 154 of file message.h.

#define ceReqCallGetSPID   8 /* 3,0,8 (!P) */

Definition at line 152 of file message.h.

#define ceReqCallGetSwitchType   2 /* 3,0,2 */

Definition at line 146 of file message.h.

#define ceReqCallSetCallType   5 /* 3,0,5 */

Definition at line 149 of file message.h.

#define ceReqCallSetFrameFormat   3 /* 3,0,3 */

Definition at line 147 of file message.h.

#define ceReqCallSetMyNumber   9 /* 3,0,9 (!P) */

Definition at line 153 of file message.h.

#define ceReqCallSetSPID   7 /* 3,0,7 (!P) */

Definition at line 151 of file message.h.

#define ceReqCallSetSwitchType   1 /* 3,0,1 */

Definition at line 145 of file message.h.

#define ceReqClass0   0

Definition at line 99 of file message.h.

#define ceReqClass1   1

Definition at line 100 of file message.h.

#define ceReqClass2   2

Definition at line 101 of file message.h.

#define ceReqClass3   3

Definition at line 102 of file message.h.

#define ceReqLnkFlush   3 /* 2,1,3 */

Definition at line 134 of file message.h.

#define ceReqLnkGetParam   2 /* 2,0,2 */

Definition at line 130 of file message.h.

#define ceReqLnkGetStats   3 /* 2,0,3 */

Definition at line 131 of file message.h.

#define ceReqLnkRdBufTrc   5 /* 2,1,5 */

Definition at line 136 of file message.h.

#define ceReqLnkRead   2 /* 2,1,2 */

Definition at line 133 of file message.h.

#define ceReqLnkSetParam   1 /* 2,0,1 */

Definition at line 129 of file message.h.

#define ceReqLnkWrBufTrc   4 /* 2,1,4 */

Definition at line 135 of file message.h.

#define ceReqLnkWrite   1 /* 2,1,1 */

Definition at line 132 of file message.h.

#define ceReqPhyAcfaStatus   2 /* 1,2,2 (P) */

Definition at line 115 of file message.h.

#define ceReqPhyChCallState   3 /* 1,2,3 (P) */

Definition at line 116 of file message.h.

#define ceReqPhyChServState   4 /* 1,2,4 (P) */

Definition at line 117 of file message.h.

#define ceReqPhyConnect   1 /* 1,1,1 */

Definition at line 110 of file message.h.

#define ceReqPhyDisconnect   2 /* 1,1,2 */

Definition at line 111 of file message.h.

#define ceReqPhyGetParams   4 /* 1,1,4 (P) */

Definition at line 113 of file message.h.

#define ceReqPhyProcInfo   1 /* 1,0,1 */

Definition at line 109 of file message.h.

#define ceReqPhyRLoopBack   1 /* 1,3,1 */

Definition at line 118 of file message.h.

#define ceReqPhySetParams   3 /* 1,1,3 (P) */

Definition at line 112 of file message.h.

#define ceReqPhyStatus   1 /* 1,2,1 */

Definition at line 114 of file message.h.

#define ceReqTypeCall   3

Definition at line 90 of file message.h.

#define ceReqTypeLnk   2

Definition at line 89 of file message.h.

#define ceReqTypePhy   1

Definition at line 88 of file message.h.

#define ceReqTypeStat   1

Definition at line 91 of file message.h.

#define ceRspCallGetCallType   ceReqCallGetCallType

Definition at line 160 of file message.h.

#define ceRspCallGetFrameFormat   ceReqCallGetFrameFormat

Definition at line 158 of file message.h.

#define ceRspCallGetMyNumber   ceReqCallGetMyNumber

Definition at line 164 of file message.h.

#define ceRspCallGetSPID   ceReqCallGetSPID

Definition at line 162 of file message.h.

#define ceRspCallGetSwitchType   ceReqCallSetSwitchType

Definition at line 156 of file message.h.

#define ceRspCallSetCallType   ceReqCallSetCallType

Definition at line 159 of file message.h.

#define ceRspCallSetFrameFormat   ceReqCallSetFrameFormat

Definition at line 157 of file message.h.

#define ceRspCallSetMyNumber   ceReqCallSetMyNumber

Definition at line 163 of file message.h.

#define ceRspCallSetSPID   ceReqCallSetSPID

Definition at line 161 of file message.h.

#define ceRspCallSetSwitchType   ceReqCallSetSwitchType

Definition at line 155 of file message.h.

#define ceRspClass0   ceReqClass0

Definition at line 103 of file message.h.

#define ceRspClass1   ceReqClass1

Definition at line 104 of file message.h.

#define ceRspClass2   ceReqClass2

Definition at line 105 of file message.h.

#define ceRspClass3   ceReqClass3

Definition at line 106 of file message.h.

#define ceRspErrError   0 /* 0,0,0 */

Definition at line 167 of file message.h.

#define ceRspLnkFlush   ceReqLnkFlush

Definition at line 142 of file message.h.

#define ceRspLnkGetParam   ceReqLnkGetParam

Definition at line 138 of file message.h.

#define ceRspLnkGetStats   ceReqLnkGetStats

Definition at line 139 of file message.h.

#define ceRspLnkRdBufTrc   ceReqLnkRdBufTrc

Definition at line 144 of file message.h.

#define ceRspLnkRead   ceReqLnkRead

Definition at line 141 of file message.h.

#define ceRspLnkSetParam   ceReqLnkSetParam

Definition at line 137 of file message.h.

#define ceRspLnkWrBufTrc   ceReqLnkWrBufTrc

Definition at line 143 of file message.h.

#define ceRspLnkWrite   ceReqLnkWrite

Definition at line 140 of file message.h.

#define ceRspPhyAcfaStatus   ceReqPhyAcfaStatus

Definition at line 125 of file message.h.

#define ceRspPhyChCallState   ceReqPhyChCallState

Definition at line 126 of file message.h.

#define ceRspPhyChServState   ceReqPhyChServState

Definition at line 127 of file message.h.

#define ceRspPhyConnect   ceReqPhyConnect

Definition at line 120 of file message.h.

#define ceRspPhyDisconnect   ceReqPhyDisconnect

Definition at line 121 of file message.h.

#define ceRspPhyGetParams   ceReqPhyGetParams

Definition at line 123 of file message.h.

#define ceRspPhyProcInfo   ceReqPhyProcInfo

Definition at line 119 of file message.h.

#define ceRspPhyRLoopBack   ceReqphyRLoopBack

Definition at line 128 of file message.h.

#define ceRspPhySetParams   ceReqPhySetParams

Definition at line 122 of file message.h.

#define ceRspPhyStatus   ceReqPhyStatus

Definition at line 124 of file message.h.

#define ceRspStat

Definition at line 166 of file message.h.

#define ceRspStatAcfaStatus   2

Definition at line 165 of file message.h.

#define ceRspTypeCall   ceReqTypeCall

Definition at line 95 of file message.h.

#define ceRspTypeErr   0

Definition at line 92 of file message.h.

#define ceRspTypeLnk   ceReqTypeLnk

Definition at line 94 of file message.h.

#define ceRspTypePhy   ceReqTypePhy

Definition at line 93 of file message.h.

#define ceRspTypeStat   ceReqTypeStat

Definition at line 96 of file message.h.

#define CMPID   0 /* Loader message process ID */

Definition at line 31 of file message.h.

#define cmReqClass0   0

Definition at line 63 of file message.h.

#define cmReqHWConfig   1 /* 1,0,1 */

Definition at line 67 of file message.h.

#define cmReqLoadProc   1 /* 2,0,1 */

Definition at line 70 of file message.h.

#define cmReqMsgLpbk   2 /* 1,0,2 */

Definition at line 68 of file message.h.

#define cmReqReadMem   6 /* 2,0,6 */

Definition at line 72 of file message.h.

#define cmReqStartProc   2 /* 2,0,2 */

Definition at line 71 of file message.h.

#define cmReqType1   1

Definition at line 55 of file message.h.

#define cmReqType2   2

Definition at line 56 of file message.h.

#define cmReqVersion   3 /* 1,0,3 */

Definition at line 69 of file message.h.

#define cmRspClass0   0

Definition at line 64 of file message.h.

#define cmRspHWConfig   cmReqHWConfig

Definition at line 73 of file message.h.

#define cmRspInvalid   0 /* 0,0,0 */

Definition at line 80 of file message.h.

#define cmRspLoadProc   cmReqLoadProc

Definition at line 76 of file message.h.

#define cmRspMiscEngineUp   1 /* 5,0,1 */

Definition at line 79 of file message.h.

#define cmRspMsgLpbk   cmReqMsgLpbk

Definition at line 74 of file message.h.

#define cmRspReadMem   cmReqReadMem

Definition at line 78 of file message.h.

#define cmRspStartProc   cmReqStartProc

Definition at line 77 of file message.h.

#define cmRspType0   0

Definition at line 57 of file message.h.

#define cmRspType1   1

Definition at line 58 of file message.h.

#define cmRspType2   2

Definition at line 59 of file message.h.

#define cmRspType5   5

Definition at line 60 of file message.h.

#define cmRspVersion   cmReqVersion

Definition at line 75 of file message.h.

#define IS_CE_MESSAGE (   mesg,
  tx,
  cx,
  dx 
)
Value:
((mesg.type == ceRspType##tx) \
&& (mesg.class == ceRspClass##cx) \
&& (mesg.code == ceRsp##tx##dx))

Definition at line 45 of file message.h.

#define IS_CM_MESSAGE (   mesg,
  tx,
  cx,
  dx 
)
Value:
((mesg.type == cmRspType##tx) \
&& (mesg.class == cmRspClass##cx) \
&& (mesg.code == cmRsp##dx))

Definition at line 37 of file message.h.

#define MAX_MESSAGES
Value:
32 /* Maximum messages that can be
queued */

Definition at line 28 of file message.h.

#define MSG_DATA_LEN   48 /* Maximum size of message payload */

Definition at line 29 of file message.h.

#define MSG_LEN   64 /* Size of a message */

Definition at line 30 of file message.h.

Typedef Documentation

Definition at line 225 of file message.h.

Definition at line 226 of file message.h.