Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit.h276 static inline u32 rv_j_insn(u32 imm20_1, u8 rd, u8 opcode) in rv_j_insn() argument
280 imm = (imm20_1 & 0x80000) | ((imm20_1 & 0x3ff) << 9) | in rv_j_insn()
281 ((imm20_1 & 0x400) >> 2) | ((imm20_1 & 0x7f800) >> 11); in rv_j_insn()
469 static inline u32 rv_jal(u8 rd, u32 imm20_1) in rv_jal() argument
471 return rv_j_insn(imm20_1, rd, 0x6f); in rv_jal()