Searched refs:GET_RS2 (Results 1 – 3 of 3) sorted by relevance
/openbmc/linux/arch/riscv/kernel/ |
H A D | traps_misaligned.c | 136 #define GET_RS2(insn, regs) (*REG_PTR(insn, SH_RS2, regs)) macro 297 val.data_ulong = GET_RS2(insn, regs); in handle_misaligned_store()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 124 #define GET_RS2(insn, regs) (*REG_PTR(insn, SH_RS2, regs)) macro 613 data = GET_RS2(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store()
|
/openbmc/qemu/target/riscv/ |
H A D | instmap.h | 320 #define GET_RS2(inst) extract32(inst, 20, 5) macro
|