Home
last modified time | relevance | path

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

/linux-5.19.10/arch/riscv/net/
Dbpf_jit.h255 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn() argument
257 return (imm31_12 << 12) | (rd << 7) | opcode; in rv_u_insn()
368 static inline u32 rv_lui(u8 rd, u32 imm31_12) in rv_lui() argument
370 return rv_u_insn(imm31_12, rd, 0x37); in rv_lui()
373 static inline u32 rv_auipc(u8 rd, u32 imm31_12) in rv_auipc() argument
375 return rv_u_insn(imm31_12, rd, 0x17); in rv_auipc()