Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit.h271 static inline u32 rv_u_insn(u32 imm31_12, u8 rd, u8 opcode) in rv_u_insn() argument
273 return (imm31_12 << 12) | (rd << 7) | opcode; in rv_u_insn()
384 static inline u32 rv_lui(u8 rd, u32 imm31_12) in rv_lui() argument
386 return rv_u_insn(imm31_12, rd, 0x37); in rv_lui()
389 static inline u32 rv_auipc(u8 rd, u32 imm31_12) in rv_auipc() argument
391 return rv_u_insn(imm31_12, rd, 0x17); in rv_auipc()