Home
last modified time | relevance | path

Searched refs:__u32 (Results 1 – 3 of 3) sorted by relevance

/DragonStub/inc/dragonstub/linux/
H A Dswab.h22 #define ___constant_swab32(x) ((__u32)( \
23 (((__u32)(x) & (__u32)0x000000ffUL) << 24) | \
24 (((__u32)(x) & (__u32)0x0000ff00UL) << 8) | \
25 (((__u32)(x) & (__u32)0x00ff0000UL) >> 8) | \
26 (((__u32)(x) & (__u32)0xff000000UL) >> 24)))
38 #define ___constant_swahw32(x) ((__u32)( \
39 (((__u32)(x) & (__u32)0x0000ffffUL) << 16) | \
40 (((__u32)(x) & (__u32)0xffff0000UL) >> 16)))
42 #define ___constant_swahb32(x) ((__u32)( \
43 (((__u32)(x) & (__u32)0x00ff00ffUL) << 8) | \
[all …]
H A Dbyteorder_little_endian.h22 #define __constant_cpu_to_le32(x) ((__force __le32)(__u32)(x))
23 #define __constant_le32_to_cpu(x) ((__force __u32)(__le32)(x))
29 #define __constant_be32_to_cpu(x) ___constant_swab32((__force __u32)(__be32)(x))
34 #define __cpu_to_le32(x) ((__force __le32)(__u32)(x))
35 #define __le32_to_cpu(x) ((__force __u32)(__le32)(x))
41 #define __be32_to_cpu(x) __swab32((__force __u32)(__be32)(x))
53 static __always_inline __le32 __cpu_to_le32p(const __u32 *p) in __cpu_to_le32p()
57 static __always_inline __u32 __le32_to_cpup(const __le32 *p) in __le32_to_cpup()
59 return (__force __u32)*p; in __le32_to_cpup()
77 static __always_inline __be32 __cpu_to_be32p(const __u32 *p) in __cpu_to_be32p()
[all …]
/DragonStub/inc/dragonstub/
H A Dtypes.h29 typedef unsigned int __u32; typedef
46 typedef __u32 u32;
74 typedef __u32 __bitwise __le32;
75 typedef __u32 __bitwise __be32;
80 typedef __u32 __bitwise __wsum;