Home
last modified time | relevance | path

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

/openbmc/linux/arch/riscv/kernel/
H A Dalternative.c104 void riscv_alternative_fix_offsets(void *alt_ptr, unsigned int len, in riscv_alternative_fix_offsets() argument
111 u32 insn = riscv_instruction_at(alt_ptr + i * sizeof(u32)); in riscv_alternative_fix_offsets()
119 u32 insn2 = riscv_instruction_at(alt_ptr + (i + 1) * sizeof(u32)); in riscv_alternative_fix_offsets()
128 riscv_alternative_fix_auipc_jalr(alt_ptr + i * sizeof(u32), in riscv_alternative_fix_offsets()
137 if ((alt_ptr + i * sizeof(u32) + imm) >= alt_ptr && in riscv_alternative_fix_offsets()
138 (alt_ptr + i * sizeof(u32) + imm) < (alt_ptr + len)) in riscv_alternative_fix_offsets()
141 riscv_alternative_fix_jal(alt_ptr + i * sizeof(u32), in riscv_alternative_fix_offsets()
/openbmc/linux/arch/riscv/include/asm/
H A Dalternative.h37 void riscv_alternative_fix_offsets(void *alt_ptr, unsigned int len,