Home
last modified time | relevance | path

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

/linux/arch/riscv/net/
H A Dbpf_jit.h305 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); in rv_ci_insn()
343 imm = ((imm6 & 0x20) << 7) | ((imm6 & 0x1f) << 2); in rv_cb_insn()
645 static inline u16 rvc_addi(u8 rd, u32 imm6) in rvc_addi() argument
647 return rv_ci_insn(0, imm6, rd, 0x1); in rvc_addi()
650 static inline u16 rvc_li(u8 rd, u32 imm6) in rvc_li() argument
652 return rv_ci_insn(0x2, imm6, rd, 0x1); in rvc_li()
664 static inline u16 rvc_lui(u8 rd, u32 imm6) in rvc_lui() argument
666 return rv_ci_insn(0x3, imm6, rd, 0x1); in rvc_lui()
671 return rv_cb_insn(0x4, imm6, 0, rd, 0x1); in rvc_srli()
706 return rv_ci_insn(0, imm6, rd, 0x2); in rvc_slli()
[all …]
/linux/arch/arm/net/
H A Dbpf_jit_32.h225 #define ARM_MOV_SI(rd, rm, type, imm6) \ argument
226 (ARM_MOV_R(rd, rm) | (type) << 5 | (imm6) << 7)
246 #define ARM_ORR_SI(rd, rn, rm, type, imm6) \ argument
247 (ARM_ORR_R(rd, rn, rm) | (type) << 5 | (imm6) << 7)
248 #define ARM_ORRS_SI(rd, rn, rm, type, imm6) \ argument
249 (ARM_ORRS_R(rd, rn, rm) | (type) << 5 | (imm6) << 7)
/linux/arch/arm64/crypto/
H A Dsha3-ce-core.S35 .macro xar, rd, rn, rm, imm6
36 .inst 0xce800000 | .L\rd | (.L\rn << 5) | ((\imm6) << 10) | (.L\rm << 16)
/linux/arch/riscv/kernel/
H A Dmodule.c143 u16 imm6 = (offset & 0x40) << (12 - 11); in apply_r_riscv_rvc_jump_rela() local
149 imm11 | imm10 | imm9_8 | imm7 | imm6 | imm5 | imm4 | imm3_1); in apply_r_riscv_rvc_jump_rela()