Searched refs:GET_RS2S (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/arch/riscv/kernel/ |
H A D | traps_misaligned.c | 138 #define GET_RS2S(insn, regs) (*REG_PTR(RVC_RS2S(insn), 0, regs)) macro 310 val.data_ulong = GET_RS2S(insn, regs); in handle_misaligned_store() 317 val.data_ulong = GET_RS2S(insn, regs); in handle_misaligned_store()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | vcpu_insn.c | 126 #define GET_RS2S(insn, regs) (*REG_PTR(RVC_RS2S(insn), 0, regs)) macro 629 data64 = GET_RS2S(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store() 637 data32 = GET_RS2S(insn, &vcpu->arch.guest_context); in kvm_riscv_vcpu_mmio_store()
|