Searched refs:imm20_1 (Results 1 - 2 of 2) sorted by relevance
/kernel/linux/linux-5.10/arch/riscv/net/ |
H A D | bpf_jit.h | 260 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn() argument 264 imm = (imm20_1 & 0x80000) | ((imm20_1 & 0x3ff) << 9) | in rv_j_insn() 265 ((imm20_1 & 0x400) >> 2) | ((imm20_1 & 0x7f800) >> 11); in rv_j_insn() 443 static inline u32 rv_jal(u8 rd, u32 imm20_1) in rv_jal() argument 445 return rv_j_insn(imm20_1, rd, 0x6f); in rv_jal()
|
/kernel/linux/linux-6.6/arch/riscv/net/ |
H A D | bpf_jit.h | 264 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn() argument 268 imm = (imm20_1 & 0x80000) | ((imm20_1 & 0x3ff) << 9) | in rv_j_insn() 269 ((imm20_1 & 0x400) >> 2) | ((imm20_1 & 0x7f800) >> 11); in rv_j_insn() 457 static inline u32 rv_jal(u8 rd, u32 imm20_1) in rv_jal() argument 459 return rv_j_insn(imm20_1, rd, 0x6f); in rv_jal()
|
Completed in 6 milliseconds