Linux Kernel
3.7.1
|
#include <linux/types.h>
Go to the source code of this file.
Definition at line 29 of file csr_macro.h.
Definition at line 30 of file csr_macro.h.
Definition at line 32 of file csr_macro.h.
Definition at line 31 of file csr_macro.h.
Definition at line 68 of file csr_macro.h.
#define CSR_GET_UINT16_FROM_BIG_ENDIAN | ( | ptr | ) | (((u16) ((u8 *) (ptr))[1]) | ((u16) ((u8 *) (ptr))[0]) << 8) |
Definition at line 46 of file csr_macro.h.
#define CSR_GET_UINT16_FROM_LITTLE_ENDIAN | ( | ptr | ) | (((u16) ((u8 *) (ptr))[0]) | ((u16) ((u8 *) (ptr))[1]) << 8) |
Definition at line 37 of file csr_macro.h.
#define CSR_GET_UINT24_FROM_BIG_ENDIAN | ( | ptr | ) |
#define CSR_GET_UINT32_FROM_BIG_ENDIAN | ( | ptr | ) |
#define CSR_GET_UINT32_FROM_LITTLE_ENDIAN | ( | ptr | ) |
Definition at line 65 of file csr_macro.h.
Definition at line 25 of file csr_macro.h.
Definition at line 26 of file csr_macro.h.
#define CSR_MASK_UNSET | ( | val, | |
mask | |||
) | ((val) = ((val) ^ (mask)) & (val)) /* Unsets the bits in val that are set in mask */ |
Definition at line 28 of file csr_macro.h.
Definition at line 66 of file csr_macro.h.
#define CSR_TOLOWER | ( | character | ) | (((character) >= 'A') && ((character) <= 'Z') ? ((character) + 0x20) : (character)) |
Definition at line 107 of file csr_macro.h.
#define CSR_TOUPPER | ( | character | ) | (((character) >= 'a') && ((character) <= 'z') ? ((character) - 0x20) : (character)) |
Definition at line 106 of file csr_macro.h.
Definition at line 104 of file csr_macro.h.
#define FALSE (0) |
Definition at line 19 of file csr_macro.h.
#define TRUE (1) |
Definition at line 20 of file csr_macro.h.