Home
last modified time | relevance | path

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

/linux/arch/riscv/kernel/
H A Dmodule.c184 u32 imm11_5 = (v & 0xfe0) << (31 - 11); in apply_r_riscv_pcrel_lo12_s_rela() local
187 return riscv_insn_rmw(location, 0x1fff07f, imm11_5 | imm4_0); in apply_r_riscv_pcrel_lo12_s_rela()
219 u32 imm11_5 = (lo12 & 0xfe0) << (31 - 11); in apply_r_riscv_lo12_s_rela() local
222 return riscv_insn_rmw(location, 0x1fff07f, imm11_5 | imm4_0); in apply_r_riscv_lo12_s_rela()
/linux/arch/riscv/net/
H A Dbpf_jit.h256 u8 imm11_5 = imm11_0 >> 5, imm4_0 = imm11_0 & 0x1f; in rv_s_insn() local
258 return (imm11_5 << 25) | (rs2 << 20) | (rs1 << 15) | (funct3 << 12) | in rv_s_insn()