Home
last modified time | relevance | path

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

/Linux-v6.6/arch/riscv/kernel/
Dmodule.c110 s32 hi20; in apply_r_riscv_pcrel_hi20_rela() local
119 hi20 = (offset + 0x800) & 0xfffff000; in apply_r_riscv_pcrel_hi20_rela()
120 *location = (*location & 0xfff) | hi20; in apply_r_riscv_pcrel_hi20_rela()
152 s32 hi20; in apply_r_riscv_hi20_rela() local
161 hi20 = ((s32)v + 0x800) & 0xfffff000; in apply_r_riscv_hi20_rela()
162 *location = (*location & 0xfff) | hi20; in apply_r_riscv_hi20_rela()
170 s32 hi20 = ((s32)v + 0x800) & 0xfffff000; in apply_r_riscv_lo12_i_rela() local
171 s32 lo12 = ((s32)v - hi20); in apply_r_riscv_lo12_i_rela()
180 s32 hi20 = ((s32)v + 0x800) & 0xfffff000; in apply_r_riscv_lo12_s_rela() local
181 s32 lo12 = ((s32)v - hi20); in apply_r_riscv_lo12_s_rela()
[all …]
/Linux-v6.6/arch/riscv/include/asm/
Dmodule.h81 u32 hi20 = (offset + 0x800) & 0xfffff000; in emit_plt_entry() local
82 u32 lo12 = (offset - hi20); in emit_plt_entry()
84 OPC_AUIPC | (REG_T0 << 7) | hi20, in emit_plt_entry()