Lines Matching +defs:val +defs:v
20 static inline void __raw_writeb(u8 val, volatile void __iomem *addr) in __raw_writeb()
26 static inline void __raw_writew(u16 val, volatile void __iomem *addr) in __raw_writew()
32 static inline void __raw_writel(u32 val, volatile void __iomem *addr) in __raw_writel()
39 static inline void __raw_writeq(u64 val, volatile void __iomem *addr) in __raw_writeq()
48 u8 val; in __raw_readb() local
57 u16 val; in __raw_readw() local
66 u32 val; in __raw_readl() local
76 u64 val; in __raw_readq() local
92 #define writeb_cpu(v, c) ((void)__raw_writeb((v), (c))) argument
93 #define writew_cpu(v, c) ((void)__raw_writew((__force u16)cpu_to_le16(v), (c))) argument
94 #define writel_cpu(v, c) ((void)__raw_writel((__force u32)cpu_to_le32(v), (c))) argument
98 #define writeq_cpu(v, c) ((void)__raw_writeq((__force u64)cpu_to_le64(v), (c))) argument
119 #define writeb_relaxed(v, c) ({ __io_rbw(); writeb_cpu((v), (c)); __io_raw(); }) argument
120 #define writew_relaxed(v, c) ({ __io_rbw(); writew_cpu((v), (c)); __io_raw(); }) argument
121 #define writel_relaxed(v, c) ({ __io_rbw(); writel_cpu((v), (c)); __io_raw(); }) argument
125 #define writeq_relaxed(v, c) ({ __io_rbw(); writeq_cpu((v), (c)); __io_raw(); }) argument
135 #define __io_ar(v) RISCV_FENCE(i, ir) argument
143 #define writeb(v, c) ({ __io_bw(); writeb_cpu((v), (c)); __io_aw(); }) argument
144 #define writew(v, c) ({ __io_bw(); writew_cpu((v), (c)); __io_aw(); }) argument
145 #define writel(v, c) ({ __io_bw(); writel_cpu((v), (c)); __io_aw(); }) argument
149 #define writeq(v, c) ({ __io_bw(); writeq_cpu((v), (c)); __io_aw(); }) argument