Lines Matching refs:_cmsg
245 {_CDWORD, offsetof(_cmsg, adr.adrController)},
247 {_CMSTRUCT, offsetof(_cmsg, AdditionalInfo)},
249 {_CSTRUCT, offsetof(_cmsg, B1configuration)},
251 {_CWORD, offsetof(_cmsg, B1protocol)},
253 {_CSTRUCT, offsetof(_cmsg, B2configuration)},
255 {_CWORD, offsetof(_cmsg, B2protocol)},
257 {_CSTRUCT, offsetof(_cmsg, B3configuration)},
259 {_CWORD, offsetof(_cmsg, B3protocol)},
261 {_CSTRUCT, offsetof(_cmsg, BC)},
263 {_CSTRUCT, offsetof(_cmsg, BChannelinformation)},
265 {_CMSTRUCT, offsetof(_cmsg, BProtocol)},
267 {_CSTRUCT, offsetof(_cmsg, CalledPartyNumber)},
269 {_CSTRUCT, offsetof(_cmsg, CalledPartySubaddress)},
271 {_CSTRUCT, offsetof(_cmsg, CallingPartyNumber)},
273 {_CSTRUCT, offsetof(_cmsg, CallingPartySubaddress)},
275 {_CDWORD, offsetof(_cmsg, CIPmask)},
277 {_CDWORD, offsetof(_cmsg, CIPmask2)},
279 {_CWORD, offsetof(_cmsg, CIPValue)},
281 {_CDWORD, offsetof(_cmsg, Class)},
283 {_CSTRUCT, offsetof(_cmsg, ConnectedNumber)},
285 {_CSTRUCT, offsetof(_cmsg, ConnectedSubaddress)},
287 {_CDWORD, offsetof(_cmsg, Data)},
289 {_CWORD, offsetof(_cmsg, DataHandle)},
291 {_CWORD, offsetof(_cmsg, DataLength)},
293 {_CSTRUCT, offsetof(_cmsg, FacilityConfirmationParameter)},
295 {_CSTRUCT, offsetof(_cmsg, Facilitydataarray)},
297 {_CSTRUCT, offsetof(_cmsg, FacilityIndicationParameter)},
299 {_CSTRUCT, offsetof(_cmsg, FacilityRequestParameter)},
301 {_CWORD, offsetof(_cmsg, FacilitySelector)},
303 {_CWORD, offsetof(_cmsg, Flags)},
305 {_CDWORD, offsetof(_cmsg, Function)},
307 {_CSTRUCT, offsetof(_cmsg, HLC)},
309 {_CWORD, offsetof(_cmsg, Info)},
311 {_CSTRUCT, offsetof(_cmsg, InfoElement)},
313 {_CDWORD, offsetof(_cmsg, InfoMask)},
315 {_CWORD, offsetof(_cmsg, InfoNumber)},
317 {_CSTRUCT, offsetof(_cmsg, Keypadfacility)},
319 {_CSTRUCT, offsetof(_cmsg, LLC)},
321 {_CSTRUCT, offsetof(_cmsg, ManuData)},
323 {_CDWORD, offsetof(_cmsg, ManuID)},
325 {_CSTRUCT, offsetof(_cmsg, NCPI)},
327 {_CWORD, offsetof(_cmsg, Reason)},
329 {_CWORD, offsetof(_cmsg, Reason_B3)},
331 {_CWORD, offsetof(_cmsg, Reject)},
333 {_CSTRUCT, offsetof(_cmsg, Useruserdata)}
419 static void jumpcstruct(_cmsg * cmsg)
436 static void pars_2_message(_cmsg * cmsg)
495 * capi_cmsg2message() - assemble CAPI 2.0 message from _cmsg structure
496 * @cmsg: _cmsg structure
502 unsigned capi_cmsg2message(_cmsg * cmsg, u8 * msg)
521 static void message_2_pars(_cmsg * cmsg)
565 * capi_message2cmsg() - disassemble CAPI 2.0 message into _cmsg structure
566 * @cmsg: _cmsg structure
572 unsigned capi_message2cmsg(_cmsg * cmsg, u8 * msg)
574 memset(cmsg, 0, sizeof(_cmsg));
592 * capi_cmsg_header() - initialize header part of _cmsg structure
593 * @cmsg: _cmsg structure
603 unsigned capi_cmsg_header(_cmsg * cmsg, u16 _ApplId,
607 memset(cmsg, 0, sizeof(_cmsg));
828 static _cdebbuf *protocol_message_2_pars(_cdebbuf *cdb, _cmsg *cmsg, int level)
890 static _cmsg *g_cmsg;
946 _cmsg *cmsg;
954 cmsg = kmalloc(sizeof(_cmsg), GFP_ATOMIC);
979 * capi_cmsg2str() - format _cmsg structure for printing
980 * @cmsg: _cmsg structure
989 _cdebbuf *capi_cmsg2str(_cmsg * cmsg)
1011 g_cmsg= kmalloc(sizeof(_cmsg), GFP_KERNEL);
1049 _cdebbuf *capi_cmsg2str(_cmsg * cmsg)