Go to the documentation of this file.
10 #include <linux/compiler.h>
11 #include <linux/types.h>
12 #include <asm/byteorder.h>
14 #define DECLARE_BFIN_RAW_READX(size, type, asm, asm_sign) \
15 static inline type __raw_read##size(const volatile void __iomem *addr) \
19 __asm__ __volatile__ ( \
22 "%0 = "#asm" [%2] "#asm_sign";" \
24 : "=d"(val), "=d"(tmp) \
30 #define __raw_readb __raw_readb
32 #define __raw_readw __raw_readw
34 #define __raw_readl __raw_readl
67 #define mmiowb() do { SSYNC(); wmb(); } while (0)