Home
last modified time | relevance | path

Searched refs:__io_bw (Results 1 – 2 of 2) sorted by relevance

/Linux-v4.19/arch/riscv/include/asm/
Dio.h167 #define __io_bw() __asm__ __volatile__ ("fence w,o" : : : "memory"); macro
174 #define writeb(v,c) ({ __io_bw(); writeb_cpu((v),(c)); __io_aw(); })
175 #define writew(v,c) ({ __io_bw(); writew_cpu((v),(c)); __io_aw(); })
176 #define writel(v,c) ({ __io_bw(); writel_cpu((v),(c)); __io_aw(); })
180 #define writeq(v,c) ({ __io_bw(); writeq_cpu((v),(c)); __io_aw(); })
271 __io_writes_outs(writes, u8, b, __io_bw(), __io_aw())
272 __io_writes_outs(writes, u16, w, __io_bw(), __io_aw())
273 __io_writes_outs(writes, u32, l, __io_bw(), __io_aw())
292 __io_writes_outs(writes, u64, q, __io_bw(), __io_aw())
/Linux-v4.19/include/asm-generic/
Dio.h42 #ifndef __io_bw
44 #define __io_bw() wmb() macro
46 #define __io_bw() barrier() macro
56 #define __io_pbw() __io_bw()
211 __io_bw(); in writeb()
221 __io_bw(); in writew()
231 __io_bw(); in writel()
242 __io_bw(); in writeq()