Home
last modified time | relevance | path

Searched refs:RV_REG_FP (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit_comp64.c218 emit_ld(RV_REG_FP, store_offset, RV_REG_SP, ctx); in __build_epilogue()
754 emit_addi(RV_REG_A0, RV_REG_FP, -args_off, ctx); in invoke_bpf_prog()
763 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in invoke_bpf_prog()
888 emit_sd(RV_REG_SP, 0, RV_REG_FP, ctx); in __arch_prepare_bpf_trampoline()
889 emit_addi(RV_REG_FP, RV_REG_SP, 16, ctx); in __arch_prepare_bpf_trampoline()
906 emit_sd(RV_REG_FP, -sreg_off, RV_REG_S1, ctx); in __arch_prepare_bpf_trampoline()
911 emit_sd(RV_REG_FP, -ip_off, RV_REG_T1, ctx); in __arch_prepare_bpf_trampoline()
915 emit_sd(RV_REG_FP, -nregs_off, RV_REG_T1, ctx); in __arch_prepare_bpf_trampoline()
961 emit_sd(RV_REG_FP, -retval_off, RV_REG_A0, ctx); in __arch_prepare_bpf_trampoline()
999 emit_ld(RV_REG_S1, -sreg_off, RV_REG_FP, ctx); in __arch_prepare_bpf_trampoline()
[all …]
H A Dbpf_jit_comp32.c156 emit(rv_lw(RV_REG_FP, stack_adjust - 8, RV_REG_SP), ctx); in __build_epilogue()
189 emit(rv_lw(hi(tmp), hi(reg), RV_REG_FP), ctx); in bpf_get_reg64()
190 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg64()
200 emit(rv_sw(RV_REG_FP, hi(reg), hi(src)), ctx); in bpf_put_reg64()
201 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg64()
209 emit(rv_lw(lo(tmp), lo(reg), RV_REG_FP), ctx); in bpf_get_reg32()
219 emit(rv_sw(RV_REG_FP, lo(reg), lo(src)), ctx); in bpf_put_reg32()
221 emit(rv_sw(RV_REG_FP, hi(reg), RV_REG_ZERO), ctx); in bpf_put_reg32()
1331 emit(rv_sw(RV_REG_SP, stack_adjust - 8, RV_REG_FP), ctx); in bpf_jit_build_prologue()
1341 emit(rv_addi(RV_REG_FP, RV_REG_SP, stack_adjust), ctx); in bpf_jit_build_prologue()
H A Dbpf_jit.h30 RV_REG_FP = 8, /* Saved register/frame pointer */ enumerator
58 return (1 << reg) & (BIT(RV_REG_FP) | in is_creg()