Home
last modified time | relevance | path

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

/Linux-v6.1/arch/riscv/net/
Dbpf_jit.h587 static inline u16 rvc_lw(u8 rd, u32 imm7, u8 rs1) in rvc_lw() argument
591 imm_hi = (imm7 & 0x38) >> 3; in rvc_lw()
592 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_lw()
596 static inline u16 rvc_sw(u8 rs1, u32 imm7, u8 rs2) in rvc_sw() argument
600 imm_hi = (imm7 & 0x38) >> 3; in rvc_sw()
601 imm_lo = ((imm7 & 0x4) >> 1) | ((imm7 & 0x40) >> 6); in rvc_sw()
/Linux-v6.1/arch/riscv/kernel/
Dmodule.c95 u16 imm7 = (offset & 0x80) >> (7 - 6); in apply_r_riscv_rvc_jump_rela() local
102 imm11 | imm10 | imm9_8 | imm7 | imm6 | imm5 | imm4 | imm3_1; in apply_r_riscv_rvc_jump_rela()