Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/net/
H A Dbpf_jit.h264 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()