Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit.h310 static inline u16 rv_cl_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rd, in rv_cl_insn() argument
313 return (funct3 << 13) | (imm_hi << 10) | ((rs1 & 0x7) << 7) | in rv_cl_insn()
317 static inline u16 rv_cs_insn(u8 funct3, u32 imm_hi, u8 rs1, u32 imm_lo, u8 rs2, in rv_cs_insn() argument
320 return (funct3 << 13) | (imm_hi << 10) | ((rs1 & 0x7) << 7) | in rv_cs_insn()
635 u32 imm_hi, imm_lo; in rvc_lw() local
637 imm_hi = (imm7 & 0x38) >> 3; in rvc_lw()
639 return rv_cl_insn(0x2, imm_hi, rs1, imm_lo, rd, 0x0); in rvc_lw()
644 u32 imm_hi, imm_lo; in rvc_sw() local
646 imm_hi = (imm7 & 0x38) >> 3; in rvc_sw()
648 return rv_cs_insn(0x6, imm_hi, rs1, imm_lo, rs2, 0x0); in rvc_sw()
[all …]
H A Dbpf_jit_comp32.c136 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument
140 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()
1316 s32 imm_hi = insn1.imm; in bpf_jit_emit_insn() local
1319 emit_imm64(rd, imm_hi, imm_lo, ctx); in bpf_jit_emit_insn()
/linux/arch/parisc/net/
H A Dbpf_jit_comp32.c170 static void emit_imm64(const s8 *rd, s32 imm_hi, s32 imm_lo, in emit_imm64() argument
173 emit_imm(hi(rd), imm_hi, ctx); in emit_imm64()