Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/arch/riscv/net/
Dbpf_jit.h284 static inline u16 rv_ci_insn(u8 funct3, u32 imm6, u8 rd, u8 op) in rv_ci_insn() argument
288 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); in rv_ci_insn()
322 static inline u16 rv_cb_insn(u8 funct3, u32 imm6, u8 funct2, u8 rd, u8 op) in rv_cb_insn() argument
326 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); in rv_cb_insn()
566 static inline u16 rvc_addi(u8 rd, u32 imm6) in rvc_addi() argument
568 return rv_ci_insn(0, imm6, rd, 0x1); in rvc_addi()
571 static inline u16 rvc_li(u8 rd, u32 imm6) in rvc_li() argument
573 return rv_ci_insn(0x2, imm6, rd, 0x1); in rvc_li()
585 static inline u16 rvc_lui(u8 rd, u32 imm6) in rvc_lui() argument
587 return rv_ci_insn(0x3, imm6, rd, 0x1); in rvc_lui()
[all …]
/kernel/linux/linux-5.10/arch/arm/net/
Dbpf_jit_32.h222 #define ARM_MOV_SI(rd, rm, type, imm6) \ argument
223 (ARM_MOV_R(rd, rm) | (type) << 5 | (imm6) << 7)
243 #define ARM_ORR_SI(rd, rn, rm, type, imm6) \ argument
244 (ARM_ORR_R(rd, rn, rm) | (type) << 5 | (imm6) << 7)
245 #define ARM_ORRS_SI(rd, rn, rm, type, imm6) \ argument
246 (ARM_ORRS_R(rd, rn, rm) | (type) << 5 | (imm6) << 7)
/kernel/linux/linux-5.10/arch/riscv/kernel/
Dmodule.c95 u16 imm6 = (offset & 0x40) << (12 - 11); in apply_r_riscv_rvc_jump_rela() local
101 imm11 | imm10 | imm9_8 | imm7 | imm6 | imm5 | imm4 | imm3_1; in apply_r_riscv_rvc_jump_rela()
/kernel/linux/linux-5.10/arch/arm64/crypto/
Dsha3-ce-core.S35 .macro xar, rd, rn, rm, imm6 argument
36 .inst 0xce800000 | .L\rd | (.L\rn << 5) | ((\imm6) << 10) | (.L\rm << 16)