1
/*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*\
3
File: oct6100_conf_bridge_priv.h
5
Copyright (c) 2001-2007 Octasic Inc.
9
File containing all private defines, macros, structures and prototypes
10
pertaining to the file oct6100_conf_bridge.c. All elements defined in this
11
file are for private usage of the API. All public elements are defined
12
in the oct6100_conf_bridge_pub.h file.
14
This file is part of the Octasic OCT6100 GPL API . The OCT6100 GPL API is
15
free software; you can redistribute it and/or modify it under the terms of
16
the GNU General Public License as published by the Free Software Foundation;
17
either version 2 of the License, or (at your option) any later version.
19
The OCT6100 GPL API is distributed in the hope that it will be useful, but
20
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
21
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
24
You should have received a copy of the GNU General Public License
25
along with the OCT6100 GPL API; if not, write to the Free Software
26
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
28
$Octasic_Release: OCT612xAPI-01.00-PR49 $
30
$Octasic_Revision: 30 $
32
\*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*/
34
#ifndef __OCT6100_CONF_BRIDGE_PRIV_H__
35
#define __OCT6100_CONF_BRIDGE_PRIV_H__
37
/***************************** INCLUDE FILES *******************************/
40
/***************************** DEFINES *************************************/
42
#define mOCT6100_GET_CONF_BRIDGE_LIST_PNT( pSharedInfo, pList ) \
43
pList = ( tPOCT6100_API_CONF_BRIDGE )(( PUINT8 )pSharedInfo + pSharedInfo->ulConfBridgeListOfst);
45
#define mOCT6100_GET_CONF_BRIDGE_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
46
pEntry = (( tPOCT6100_API_CONF_BRIDGE )(( PUINT8 )pSharedInfo + pSharedInfo->ulConfBridgeListOfst)) + ulIndex;
48
#define mOCT6100_GET_CONF_BRIDGE_ALLOC_PNT( pSharedInfo, pAlloc ) \
49
pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulConfBridgeAllocOfst);
51
#define mOCT6100_GET_FLEX_CONF_PARTICIPANT_LIST_PNT( pSharedInfo, pList ) \
52
pList = ( tPOCT6100_API_FLEX_CONF_PARTICIPANT )(( PUINT8 )pSharedInfo + pSharedInfo->ulFlexConfParticipantListOfst);
54
#define mOCT6100_GET_FLEX_CONF_PARTICIPANT_ENTRY_PNT( pSharedInfo, pEntry, ulIndex ) \
55
pEntry = (( tPOCT6100_API_FLEX_CONF_PARTICIPANT )(( PUINT8 )pSharedInfo + pSharedInfo->ulFlexConfParticipantListOfst)) + ulIndex;
57
#define mOCT6100_GET_FLEX_CONF_PARTICIPANT_ALLOC_PNT( pSharedInfo, pAlloc ) \
58
pAlloc = ( PVOID )(( PUINT8 )pSharedInfo + pSharedInfo->ulFlexConfParticipantAllocOfst);
61
/***************************** TYPES ***************************************/
64
/************************** FUNCTION PROTOTYPES *****************************/
66
UINT32 Oct6100ApiGetConfBridgeSwSizes(
67
IN OUT tPOCT6100_CHIP_OPEN f_pOpenChip,
68
OUT tPOCT6100_API_INSTANCE_SIZES f_pInstSizes );
70
UINT32 Oct6100ApiConfBridgeSwInit(
71
IN OUT tPOCT6100_INSTANCE_API f_pApiInst );
73
UINT32 Oct6100ConfBridgeOpenSer(
74
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
75
IN OUT tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen );
77
UINT32 Oct6100ApiCheckBridgeParams(
78
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
79
IN OUT tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen );
81
UINT32 Oct6100ApiReserveBridgeResources(
82
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
83
OUT PUINT16 f_pusBridgeIndex );
85
UINT32 Oct6100ApiUpdateBridgeEntry(
86
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
87
IN tPOCT6100_CONF_BRIDGE_OPEN f_pConfBridgeOpen,
88
IN UINT16 f_usBridgeIndex );
90
UINT32 Oct6100ConfBridgeCloseSer(
91
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
92
IN tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose );
94
UINT32 Oct6100ApiAssertBridgeParams(
95
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
96
IN tPOCT6100_CONF_BRIDGE_CLOSE f_pConfBridgeClose,
97
OUT PUINT16 f_pusBridgeIndex );
99
UINT32 Oct6100ApiReleaseBridgeResources(
100
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
101
IN UINT16 f_usBridgeIndex );
103
UINT32 Oct6100ConfBridgeChanAddSer(
104
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
105
IN tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd );
107
UINT32 Oct6100ApiCheckBridgeAddParams(
108
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
109
IN tPOCT6100_CONF_BRIDGE_CHAN_ADD f_pConfBridgeAdd,
110
OUT PUINT16 f_pusBridgeIndex,
111
OUT PUINT16 f_pusChannelIndex,
113
OUT PUINT32 f_pulInputPort,
114
OUT PUINT8 f_pfFlexibleConfBridge,
115
OUT PUINT32 f_pulListenerMaskIndex,
116
OUT PUINT32 f_pulListenerMask,
118
OUT PUINT16 f_pusTapChannelIndex );
120
UINT32 Oct6100ApiReserveBridgeAddResources(
121
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
122
IN UINT16 f_usBridgeIndex,
123
IN UINT16 f_usChanIndex,
124
IN UINT32 f_ulInputPort,
125
IN UINT8 f_fFlexibleConfBridge,
126
IN UINT32 f_ulListenerMaskIndex,
127
IN UINT32 f_ulListenerMask,
129
OUT PUINT16 f_pusLoadEventIndex,
130
OUT PUINT16 f_pusSubStoreEventIndex,
131
OUT PUINT16 f_pusCopyEventIndex,
132
OUT PUINT16 f_pusTapBridgeIndex );
134
UINT32 Oct6100ApiBridgeEventAdd(
135
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
136
IN UINT16 f_usBridgeIndex,
137
IN UINT16 f_usChannelIndex,
138
IN UINT8 f_fFlexibleConfBridge,
139
IN UINT16 f_usLoadEventIndex,
140
IN UINT16 f_usSubStoreEventIndex,
141
IN UINT16 f_usCopyEventIndex,
142
IN UINT32 f_ulInputPort,
144
IN UINT32 f_ulListenerMaskIndex,
145
IN UINT32 f_ulListenerMask,
147
IN UINT16 f_usTapBridgeIndex,
148
IN UINT16 f_usTapChanIndex );
150
UINT32 Oct6100ApiBridgeAddParticipantToChannel(
151
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
152
IN UINT16 f_usBridgeIndex,
153
IN UINT16 f_usSourceChannelIndex,
154
IN UINT16 f_usDestinationChannelIndex,
155
IN UINT16 f_usLoadOrAccumulateEventIndex,
156
IN UINT16 f_usStoreEventIndex,
157
IN UINT16 f_usCopyEventIndex,
158
IN UINT32 f_ulSourceInputPort,
159
IN UINT32 f_ulDestinationInputPort );
161
UINT32 Oct6100ConfBridgeChanRemoveSer(
162
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
163
IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove );
165
UINT32 Oct6100ApiCheckChanRemoveParams(
166
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
167
IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove,
168
OUT PUINT16 f_pusBridgeIndex,
169
OUT PUINT16 f_pusChannelIndex,
170
OUT PUINT8 f_pfFlexibleConfBridge,
172
OUT PUINT16 f_pusLoadEventIndex,
173
OUT PUINT16 f_pusSubStoreEventIndex,
174
OUT PUINT16 f_pusCopyEventIndex );
176
UINT32 Oct6100ApiReleaseChanEventResources(
177
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
178
IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove,
179
IN UINT16 f_usBridgeIndex,
180
IN UINT16 f_usChanIndex,
181
IN UINT8 f_fFlexibleConfBridge,
182
IN UINT16 f_usLoadEventIndex,
183
IN UINT16 f_usSubStoreEventIndex,
184
IN UINT16 f_usCopyEventIndex );
186
UINT32 Oct6100ApiBridgeEventRemove (
187
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
188
IN tPOCT6100_CONF_BRIDGE_CHAN_REMOVE f_pConfBridgeRemove,
189
IN UINT16 f_usBridgeIndex,
190
IN UINT16 f_usChannelIndex,
191
IN UINT8 f_fFlexibleConfBridge,
192
IN UINT16 f_usLoadEventIndex,
193
IN UINT16 f_usSubStoreEventIndex,
194
IN UINT16 f_usCopyEventIndex,
197
UINT32 Oct6100ApiBridgeRemoveParticipantFromChannel(
198
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
199
IN UINT16 f_usBridgeIndex,
200
IN UINT16 f_usSourceChannelIndex,
201
IN UINT16 f_usDestinationChannelIndex,
202
IN UINT8 f_fRemovePermanently );
204
UINT32 Oct6100ConfBridgeChanMuteSer(
205
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
206
IN tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute );
208
UINT32 Oct6100ApiUpdateBridgeMuteResources(
209
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
210
IN UINT16 f_usChanIndex,
211
IN UINT16 f_usLoadEventIndex,
212
IN UINT16 f_usSubStoreEventIndex,
213
IN UINT8 f_fFlexibleConfBridge );
215
UINT32 Oct6100ApiCheckBridgeMuteParams(
216
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
217
IN tPOCT6100_CONF_BRIDGE_CHAN_MUTE f_pConfBridgeMute,
218
OUT PUINT16 f_pusChannelIndex,
219
OUT PUINT16 f_pusLoadEventIndex,
220
OUT PUINT16 f_pusSubStoreEventIndex,
221
OUT PUINT8 f_pfFlexibleConfBridge );
223
UINT32 Oct6100ConfBridgeChanUnMuteSer(
224
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
225
IN tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute );
227
UINT32 Oct6100ApiCheckBridgeUnMuteParams(
228
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
229
IN tPOCT6100_CONF_BRIDGE_CHAN_UNMUTE f_pConfBridgeUnMute,
230
OUT PUINT16 f_pusChannelIndex,
231
OUT PUINT16 f_pusLoadEventIndex,
232
OUT PUINT16 f_pusSubStoreEventIndex,
233
OUT PUINT8 f_pfFlexibleConfBridge );
235
UINT32 Oct6100ApiUpdateBridgeUnMuteResources(
236
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
237
IN UINT16 f_usChanIndex,
238
IN UINT16 f_usLoadEventIndex,
239
IN UINT16 f_usSubStoreEventIndex,
240
IN UINT8 f_fFlexibleConfBridge );
242
UINT32 Oct6100ConfBridgeDominantSpeakerSetSer(
243
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
244
IN tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker );
246
UINT32 Oct6100ApiCheckBridgeDominantSpeakerParams(
247
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
248
IN tPOCT6100_CONF_BRIDGE_DOMINANT_SPEAKER_SET f_pConfBridgeDominantSpeaker,
249
OUT PUINT16 f_pusChannelIndex,
250
OUT PUINT16 f_pusBridgeIndex );
252
UINT32 Oct6100ApiUpdateBridgeDominantSpeakerResources(
253
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
254
IN UINT16 f_usChanIndex,
255
IN UINT16 f_usBridgeIndex );
257
UINT32 Oct6100ConfBridgeMaskChangeSer(
258
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
259
IN tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange );
261
UINT32 Oct6100ApiCheckBridgeMaskChangeParams(
262
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
263
IN tPOCT6100_CONF_BRIDGE_MASK_CHANGE f_pConfBridgeMaskChange,
264
OUT PUINT16 f_pusChannelIndex,
265
OUT PUINT16 f_pusBridgeIndex,
266
OUT PUINT32 f_pulNewParticipantMask );
268
UINT32 Oct6100ApiUpdateMaskModifyResources(
269
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
270
IN UINT16 f_usBridgeIndex,
271
IN UINT16 f_usChanIndex,
272
IN UINT32 f_ulNewListenerMask );
274
UINT32 Oct6100ApiBridgeUpdateMask(
275
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
276
IN UINT16 f_usBridgeIndex,
277
IN UINT16 f_usChanIndex,
278
IN UINT32 f_ulNewListenerMask );
280
UINT32 Oct6100ConfBridgeGetStatsSer(
281
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
282
IN OUT tPOCT6100_CONF_BRIDGE_STATS f_pConfBridgeStats );
284
UINT32 Oct6100ApiReserveBridgeEntry(
285
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
286
OUT PUINT16 f_pusConfBridgeIndex );
288
UINT32 Oct6100ApiReleaseBridgeEntry(
289
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
290
IN UINT16 f_usConfBridgeIndex );
292
UINT32 Oct6100ApiGetPrevLastSubStoreEvent(
293
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
294
IN UINT16 f_usBridgeIndex,
295
IN UINT16 f_usBridgeFirstLoadEventPtr,
296
OUT PUINT16 f_pusLastSubStoreEventIndex );
298
UINT32 Oct6100ApiGetPreviousEvent(
299
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
300
IN UINT16 f_usStartIndex,
301
IN UINT16 f_usSearchedIndex,
302
IN UINT16 f_usLoopCnt,
303
OUT PUINT16 f_pusPreviousIndex );
305
UINT32 Oct6100ApiBridgeSetDominantSpeaker(
306
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
307
IN UINT16 f_usChannelIndex,
308
IN UINT16 f_usDominantSpeakerIndex );
310
UINT32 Oct6100ApiReserveFlexConfParticipantEntry(
311
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
312
OUT PUINT16 f_pusParticipantIndex );
314
UINT32 Oct6100ApiReleaseFlexConfParticipantEntry(
315
IN OUT tPOCT6100_INSTANCE_API f_pApiInst,
316
IN UINT16 f_usParticipantIndex );
318
#endif /* __OCT6100_CONF_BRIDGE_PRIV_H__ */