Home
last modified time | relevance | path

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

/Linux-v6.1/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
/Linux-v6.1/arch/riscv/net/
Dbpf_jit.h669 static inline u16 rvc_lwsp(u8 rd, u32 imm8) in rvc_lwsp() argument
673 imm = ((imm8 & 0xc0) >> 6) | (imm8 & 0x3c); in rvc_lwsp()
697 static inline u16 rvc_swsp(u32 imm8, u8 rs2) in rvc_swsp() argument
701 imm = (imm8 & 0x3c) | ((imm8 & 0xc0) >> 6); in rvc_swsp()
826 static inline u16 rvc_ld(u8 rd, u32 imm8, u8 rs1) in rvc_ld() argument
830 imm_hi = (imm8 & 0x38) >> 3; in rvc_ld()
831 imm_lo = (imm8 & 0xc0) >> 6; in rvc_ld()
835 static inline u16 rvc_sd(u8 rs1, u32 imm8, u8 rs2) in rvc_sd() argument
839 imm_hi = (imm8 & 0x38) >> 3; in rvc_sd()
840 imm_lo = (imm8 & 0xc0) >> 6; in rvc_sd()
/Linux-v6.1/arch/riscv/kernel/
Dmodule.c77 u16 imm8 = (offset & 0x100) << (12 - 8); in apply_r_riscv_rvc_branch_rela() local
84 imm8 | imm7_6 | imm5 | imm4_3 | imm2_1; in apply_r_riscv_rvc_branch_rela()
/Linux-v6.1/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()
/Linux-v6.1/drivers/net/ethernet/netronome/nfp/bpf/
Djit.c488 u8 areg, u8 bmask, u8 breg, u8 shift, bool imm8, in __emit_ld_field() argument
498 FIELD_PREP(OP_LDF_I8, imm8) | in __emit_ld_field()