Home
last modified time | relevance | path

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

/arch/arm/kernel/
Dphys2virt.S80 @ as imm4:i:imm3:imm8)
84 @ MOVW | 1 1 1 1 0 | i | 1 0 0 1 0 0 | imm4 || 0 | imm3 | Rd | imm8 |
94 @ order bits, which can be patched into imm8 directly (and i:imm3
99 @ MOV | 1 1 1 1 0 | i | 0 0 0 1 0 0 1 1 1 1 || 0 | imm3 | Rd | imm8 |
100 @ MVN | 1 1 1 1 0 | i | 0 0 0 1 1 0 1 1 1 1 || 0 | imm3 | Rd | imm8 |
105 ubfx r6, r6, #21, #8 @ put bits 28:21 into the MOVW imm8 field
/arch/riscv/net/
Dbpf_jit.h631 static inline u16 rvc_lwsp(u8 rd, u32 imm8) in rvc_lwsp() argument
635 imm = ((imm8 & 0xc0) >> 6) | (imm8 & 0x3c); in rvc_lwsp()
659 static inline u16 rvc_swsp(u32 imm8, u8 rs2) in rvc_swsp() argument
663 imm = (imm8 & 0x3c) | ((imm8 & 0xc0) >> 6); in rvc_swsp()
758 static inline u16 rvc_ld(u8 rd, u32 imm8, u8 rs1) in rvc_ld() argument
762 imm_hi = (imm8 & 0x38) >> 3; in rvc_ld()
763 imm_lo = (imm8 & 0xc0) >> 6; in rvc_ld()
767 static inline u16 rvc_sd(u8 rs1, u32 imm8, u8 rs2) in rvc_sd() argument
771 imm_hi = (imm8 & 0x38) >> 3; in rvc_sd()
772 imm_lo = (imm8 & 0xc0) >> 6; in rvc_sd()
/arch/riscv/kernel/
Dmodule.c76 u16 imm8 = (offset & 0x100) << (12 - 8); in apply_r_riscv_rcv_branch_rela() local
83 imm8 | imm7_6 | imm5 | imm4_3 | imm2_1; in apply_r_riscv_rcv_branch_rela()
/arch/arm/net/
Dbpf_jit_32.c321 static u32 arm_bpf_ldst_imm8(u32 op, u8 rt, u8 rn, s16 imm8) in arm_bpf_ldst_imm8() argument
324 if (imm8 >= 0) in arm_bpf_ldst_imm8()
327 imm8 = -imm8; in arm_bpf_ldst_imm8()
328 return op | (imm8 & 0xf0) << 4 | (imm8 & 0x0f); in arm_bpf_ldst_imm8()