Searched refs:RISCV_FENCE (Results 1 - 6 of 6) sorted by relevance

/linux-master/arch/riscv/include/asm/
H A Dbarrier.h22 #define __mb() RISCV_FENCE(iorw, iorw)
23 #define __rmb() RISCV_FENCE(ir, ir)
24 #define __wmb() RISCV_FENCE(ow, ow)
27 #define __smp_mb() RISCV_FENCE(rw, rw)
28 #define __smp_rmb() RISCV_FENCE(r, r)
29 #define __smp_wmb() RISCV_FENCE(w, w)
34 RISCV_FENCE(rw, w); \
42 RISCV_FENCE(r, rw); \
71 #define smp_mb__after_spinlock() RISCV_FENCE(iorw, iorw)
H A Dmmiowb.h10 #define mmiowb() RISCV_FENCE(o, w)
H A Dfence.h5 #define RISCV_FENCE(p, s) \ macro
H A Dio.h50 #define __io_pbr() RISCV_FENCE(io, i)
51 #define __io_par(v) RISCV_FENCE(i, ior)
52 #define __io_pbw() RISCV_FENCE(iow, o)
53 #define __io_paw() RISCV_FENCE(o, io)
H A Dmmio.h135 #define __io_ar(v) RISCV_FENCE(i, ir)
136 #define __io_bw() RISCV_FENCE(w, o)
/linux-master/tools/testing/selftests/rseq/
H A Drseq-riscv.h27 #define RISCV_FENCE(p, s) \ macro
29 #define rseq_smp_mb() RISCV_FENCE(rw, rw)
30 #define rseq_smp_rmb() RISCV_FENCE(r, r)
31 #define rseq_smp_wmb() RISCV_FENCE(w, w)
40 RISCV_FENCE(r, rw); \
48 RISCV_FENCE(rw, w); \

Completed in 221 milliseconds