Home
last modified time | relevance | path

Searched refs:RISCV_FENCE (Results 1 – 8 of 8) sorted by relevance

/linux-6.15/tools/arch/riscv/include/asm/
H A Dbarrier.h17 #define mb() RISCV_FENCE(iorw, iorw)
18 #define rmb() RISCV_FENCE(ir, ir)
19 #define wmb() RISCV_FENCE(ow, ow)
22 #define smp_mb() RISCV_FENCE(rw, rw)
23 #define smp_rmb() RISCV_FENCE(r, r)
24 #define smp_wmb() RISCV_FENCE(w, w)
28 RISCV_FENCE(rw, w); \
35 RISCV_FENCE(r, rw); \
H A Dfence.h10 #define RISCV_FENCE(p, s) \ macro
/linux-6.15/arch/riscv/include/asm/
H A Dbarrier.h23 #define __mb() RISCV_FENCE(iorw, iorw)
24 #define __rmb() RISCV_FENCE(ir, ir)
25 #define __wmb() RISCV_FENCE(ow, ow)
28 #define __smp_mb() RISCV_FENCE(rw, rw)
29 #define __smp_rmb() RISCV_FENCE(r, r)
30 #define __smp_wmb() RISCV_FENCE(w, w)
57 #define smp_mb__after_spinlock() RISCV_FENCE(iorw, iorw)
62 RISCV_FENCE(rw, w); \
70 RISCV_FENCE(r, rw); \
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 Dmmiowb.h10 #define mmiowb() RISCV_FENCE(o, w)
H A Dfence.h6 #define RISCV_FENCE(p, s) \ macro
H A Dmmio.h135 #define __io_ar(v) RISCV_FENCE(i, ir)
136 #define __io_bw() RISCV_FENCE(w, o)
/linux-6.15/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); \