Home
last modified time | relevance | path

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

/linux/arch/riscv/include/asm/
H A Dfence.h5 #define RISCV_FENCE_ASM(p, s) "\tfence " #p "," #s "\n" macro
7 ({ __asm__ __volatile__ (RISCV_FENCE_ASM(p, s) : : : "memory"); })
10 #define RISCV_ACQUIRE_BARRIER RISCV_FENCE_ASM(r, rw)
11 #define RISCV_RELEASE_BARRIER RISCV_FENCE_ASM(rw, w)
12 #define RISCV_FULL_BARRIER RISCV_FENCE_ASM(rw, rw)
/linux/tools/arch/riscv/include/asm/
H A Dfence.h9 #define RISCV_FENCE_ASM(p, s) "\tfence " #p "," #s "\n" macro
11 ({ __asm__ __volatile__ (RISCV_FENCE_ASM(p, s) : : : "memory"); })