Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kernel/
H A 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 …]
/openbmc/linux/arch/riscv/include/asm/
H A 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()
/openbmc/u-boot/arch/nds32/cpu/n1213/
H A Dstart.S109 sethi $gp, hi20(_GLOBAL_OFFSET_TABLE_-8)
185 sethi $gp, hi20(_GLOBAL_OFFSET_TABLE_-8)