Home
last modified time | relevance | path

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

/openbmc/linux/arch/powerpc/kernel/
H A Doptprobes.c129 patch_instruction(addr++, ppc_inst(PPC_RAW_LIS(reg, PPC_HI(val)))); in patch_imm32_load_insns()
142 patch_instruction(addr++, ppc_inst(PPC_RAW_ORIS(reg, reg, PPC_HI(val)))); in patch_imm64_load_insns()
H A Dmodule_32.c235 if (patch_location_16(location, PPC_HI(value))) in apply_relocate_add()
/openbmc/linux/arch/powerpc/include/asm/
H A Dppc-opcode.h364 #define PPC_HI(v) (((v) >> 16) & 0xffff) macro
365 #define PPC_HA(v) PPC_HI((v) + 0x8000)