MOS Source Code
Loading...
Searching...
No Matches
compiler.h File Reference
+ Include dependency graph for compiler.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define MOS_DO_PRAGMA(x)
 
#define MOS_FILE_LOCATION   __FILE_NAME__ ":" MOS_STRINGIFY(__LINE__)
 
#define MOS_BIG_ENDIAN   1
 
#define cpu_to_be16(x)
 
#define cpu_to_be32(x)
 
#define cpu_to_be64(x)
 
#define be16_to_cpu(x)
 
#define be32_to_cpu(x)
 
#define be64_to_cpu(x)
 
#define cpu_to_le16(x)
 
#define cpu_to_le32(x)
 
#define cpu_to_le64(x)
 
#define le16_to_cpu(x)
 
#define le32_to_cpu(x)
 
#define le64_to_cpu(x)
 

Macro Definition Documentation

◆ MOS_DO_PRAGMA

#define MOS_DO_PRAGMA ( x)
Value:
_Pragma(#x)

Definition at line 7 of file compiler.h.

◆ MOS_FILE_LOCATION

#define MOS_FILE_LOCATION   __FILE_NAME__ ":" MOS_STRINGIFY(__LINE__)

Definition at line 20 of file compiler.h.

◆ MOS_BIG_ENDIAN

#define MOS_BIG_ENDIAN   1

Definition at line 25 of file compiler.h.

◆ cpu_to_be16

#define cpu_to_be16 ( x)
Value:
(x)

Definition at line 27 of file compiler.h.

◆ cpu_to_be32

#define cpu_to_be32 ( x)
Value:
(x)

Definition at line 28 of file compiler.h.

◆ cpu_to_be64

#define cpu_to_be64 ( x)
Value:
(x)

Definition at line 29 of file compiler.h.

◆ be16_to_cpu

#define be16_to_cpu ( x)
Value:
(x)

Definition at line 31 of file compiler.h.

◆ be32_to_cpu

#define be32_to_cpu ( x)
Value:
(x)

Definition at line 32 of file compiler.h.

Referenced by of_read_number().

◆ be64_to_cpu

#define be64_to_cpu ( x)
Value:
(x)

Definition at line 33 of file compiler.h.

◆ cpu_to_le16

#define cpu_to_le16 ( x)
Value:
__builtin_bswap16(x)

Definition at line 35 of file compiler.h.

◆ cpu_to_le32

#define cpu_to_le32 ( x)
Value:
__builtin_bswap32(x)

Definition at line 36 of file compiler.h.

◆ cpu_to_le64

#define cpu_to_le64 ( x)
Value:
__builtin_bswap64(x)

Definition at line 37 of file compiler.h.

◆ le16_to_cpu

#define le16_to_cpu ( x)
Value:
__builtin_bswap32(x)

Definition at line 39 of file compiler.h.

◆ le32_to_cpu

#define le32_to_cpu ( x)
Value:
__builtin_bswap16(x)

Definition at line 40 of file compiler.h.

◆ le64_to_cpu

#define le64_to_cpu ( x)
Value:
__builtin_bswap64(x)

Definition at line 41 of file compiler.h.