Go to the documentation of this file.
10 #ifndef __MACH_COMMON_MANGLE_PORT_H
11 #define __MACH_COMMON_MANGLE_PORT_H
25 #if defined(CONFIG_SWAP_IO_SPACE)
27 # define ioswabb(x) (x)
28 # define __mem_ioswabb(x) (x)
29 # define ioswabw(x) le16_to_cpu(x)
30 # define __mem_ioswabw(x) (x)
31 # define ioswabl(x) le32_to_cpu(x)
32 # define __mem_ioswabl(x) (x)
33 # define ioswabq(x) le64_to_cpu(x)
34 # define __mem_ioswabq(x) (x)
38 # define ioswabb(x) (x)
39 # define __mem_ioswabb(x) (x)
40 # define ioswabw(x) (x)
41 # define __mem_ioswabw(x) cpu_to_le16(x)
42 # define ioswabl(x) (x)
43 # define __mem_ioswabl(x) cpu_to_le32(x)
44 # define ioswabq(x) (x)
45 # define __mem_ioswabq(x) cpu_to_le32(x)