Linux Kernel
3.7.1
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
drivers
staging
csr
csr_wifi_msgconv.h
Go to the documentation of this file.
1
/*****************************************************************************
2
3
(c) Cambridge Silicon Radio Limited 2011
4
All rights reserved and confidential information of CSR
5
6
Refer to LICENSE.txt included with this source for details
7
on the license terms.
8
9
*****************************************************************************/
10
11
#ifndef CSR_WIFI_MSGCONV_H__
12
#define CSR_WIFI_MSGCONV_H__
13
14
#include "
csr_prim_defs.h
"
15
#include "
csr_sched.h
"
16
17
#ifdef __cplusplus
18
extern
"C"
{
19
#endif
20
21
22
void
CsrUint16SerBigEndian
(
u8
*
ptr
,
size_t
*len,
u16
v
);
23
void
CsrUint24SerBigEndian
(
u8
*
ptr
,
size_t
*len,
u32
v
);
24
void
CsrUint32SerBigEndian
(
u8
*
ptr
,
size_t
*len,
u32
v
);
25
26
void
CsrUint16DesBigEndian
(
u16
*
v
,
u8
*
buffer
,
size_t
*
offset
);
27
void
CsrUint24DesBigEndian
(
u32
*
v
,
u8
*
buffer
,
size_t
*
offset
);
28
void
CsrUint32DesBigEndian
(
u32
*
v
,
u8
*
buffer
,
size_t
*
offset
);
29
30
void
CsrUint24Ser
(
u8
*
ptr
,
size_t
*len,
u32
v
);
31
void
CsrUint24Des
(
u32
*
v
,
u8
*
buffer
,
size_t
*
offset
);
32
33
34
size_t
CsrWifiEventSizeof
(
void
*
msg
);
35
u8
*
CsrWifiEventSer
(
u8
*
ptr
,
size_t
*len,
void
*
msg
);
36
void
*
CsrWifiEventDes
(
u8
*
buffer
,
size_t
length
);
37
38
size_t
CsrWifiEventCsrUint8Sizeof
(
void
*
msg
);
39
u8
*
CsrWifiEventCsrUint8Ser
(
u8
*
ptr
,
size_t
*len,
void
*
msg
);
40
void
*
CsrWifiEventCsrUint8Des
(
u8
*
buffer
,
size_t
length
);
41
42
size_t
CsrWifiEventCsrUint16Sizeof
(
void
*
msg
);
43
u8
*
CsrWifiEventCsrUint16Ser
(
u8
*
ptr
,
size_t
*len,
void
*
msg
);
44
void
*
CsrWifiEventCsrUint16Des
(
u8
*
buffer
,
size_t
length
);
45
46
size_t
CsrWifiEventCsrUint32Sizeof
(
void
*
msg
);
47
u8
*
CsrWifiEventCsrUint32Ser
(
u8
*
ptr
,
size_t
*len,
void
*
msg
);
48
void
*
CsrWifiEventCsrUint32Des
(
u8
*
buffer
,
size_t
length
);
49
50
size_t
CsrWifiEventCsrUint16CsrUint8Sizeof
(
void
*
msg
);
51
u8
*
CsrWifiEventCsrUint16CsrUint8Ser
(
u8
*
ptr
,
size_t
*len,
void
*
msg
);
52
void
*
CsrWifiEventCsrUint16CsrUint8Des
(
u8
*
buffer
,
size_t
length
);
53
54
#ifdef __cplusplus
55
}
56
#endif
57
58
#endif
/* CSR_WIFI_MSGCONV_H__ */
Generated on Thu Jan 10 2013 14:27:43 for Linux Kernel by
1.8.2