Lines Matching refs:x

32 #define uswap_16(x) \  argument
33 ((((x) & 0xff00) >> 8) | \
34 (((x) & 0x00ff) << 8))
35 #define uswap_32(x) \ argument
36 ((((x) & 0xff000000) >> 24) | \
37 (((x) & 0x00ff0000) >> 8) | \
38 (((x) & 0x0000ff00) << 8) | \
39 (((x) & 0x000000ff) << 24))
40 #define _uswap_64(x, sfx) \ argument
41 ((((x) & 0xff00000000000000##sfx) >> 56) | \
42 (((x) & 0x00ff000000000000##sfx) >> 40) | \
43 (((x) & 0x0000ff0000000000##sfx) >> 24) | \
44 (((x) & 0x000000ff00000000##sfx) >> 8) | \
45 (((x) & 0x00000000ff000000##sfx) << 8) | \
46 (((x) & 0x0000000000ff0000##sfx) << 24) | \
47 (((x) & 0x000000000000ff00##sfx) << 40) | \
48 (((x) & 0x00000000000000ff##sfx) << 56))
50 # define uswap_64(x) _uswap_64(x, ull) argument
52 # define uswap_64(x) _uswap_64(x, ) argument
56 # define cpu_to_le16(x) (x) argument
57 # define cpu_to_le32(x) (x) argument
58 # define cpu_to_le64(x) (x) argument
59 # define le16_to_cpu(x) (x) argument
60 # define le32_to_cpu(x) (x) argument
61 # define le64_to_cpu(x) (x) argument
62 # define cpu_to_be16(x) uswap_16(x) argument
63 # define cpu_to_be32(x) uswap_32(x) argument
64 # define cpu_to_be64(x) uswap_64(x) argument
65 # define be16_to_cpu(x) uswap_16(x) argument
66 # define be32_to_cpu(x) uswap_32(x) argument
67 # define be64_to_cpu(x) uswap_64(x) argument
69 # define cpu_to_le16(x) uswap_16(x) argument
70 # define cpu_to_le32(x) uswap_32(x) argument
71 # define cpu_to_le64(x) uswap_64(x) argument
72 # define le16_to_cpu(x) uswap_16(x) argument
73 # define le32_to_cpu(x) uswap_32(x) argument
74 # define le64_to_cpu(x) uswap_64(x) argument
75 # define cpu_to_be16(x) (x) argument
76 # define cpu_to_be32(x) (x) argument
77 # define cpu_to_be64(x) (x) argument
78 # define be16_to_cpu(x) (x) argument
79 # define be32_to_cpu(x) (x) argument
80 # define be64_to_cpu(x) (x) argument