Home
last modified time | relevance | path

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

/linux/arch/arm/kernel/
H A Dinsn.c10 unsigned long s, j1, j2, i1, i2, imm10, imm11; in __arm_gen_branch_thumb2() local
24 imm11 = (offset >> 1) & 0x7ff; in __arm_gen_branch_thumb2()
30 second = 0x9000 | (j1 << 13) | (j2 << 11) | imm11; in __arm_gen_branch_thumb2()
/linux/arch/riscv/kernel/
H A Dmodule.c102 u32 imm11 = (offset & 0x800) >> (11 - 7); in apply_r_riscv_branch_rela() local
106 return riscv_insn_rmw(location, 0x1fff07f, imm12 | imm11 | imm10_5 | imm4_1); in apply_r_riscv_branch_rela()
115 u32 imm11 = (offset & 0x800) << (20 - 11); in apply_r_riscv_jal_rela() local
118 return riscv_insn_rmw(location, 0xfff, imm20 | imm19_12 | imm11 | imm10_1); in apply_r_riscv_jal_rela()
139 u16 imm11 = (offset & 0x800) << (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()