Lines Matching refs:ppc_inst_val
49 return __patch_mem(addr, ppc_inst_val(instr), addr, false); in raw_patch_instruction()
383 return patch_mem(addr, ppc_inst_val(instr), false); in patch_instruction()
409 return patch_mem(addr, ppc_inst_val(instr), false); in patch_instruction()
451 u32 val = ppc_inst_val(instr); in __patch_instructions()
597 switch ((ppc_inst_val(instr) >> 1) & 0x3ff) { in is_conditional_branch()
629 if (ppc_inst_val(instr) & BRANCH_ABSOLUTE) in instr_is_relative_branch()
637 return instr_is_relative_branch(instr) && (ppc_inst_val(instr) & BRANCH_SET_LINK); in instr_is_relative_link_branch()
644 imm = ppc_inst_val(ppc_inst_read(instr)) & 0x3FFFFFC; in branch_iform_target()
650 if ((ppc_inst_val(ppc_inst_read(instr)) & BRANCH_ABSOLUTE) == 0) in branch_iform_target()
660 imm = ppc_inst_val(ppc_inst_read(instr)) & 0xFFFC; in branch_bform_target()
666 if ((ppc_inst_val(ppc_inst_read(instr)) & BRANCH_ABSOLUTE) == 0) in branch_bform_target()
689 ppc_inst_val(ppc_inst_read(src))); in translate_branch()
692 ppc_inst_val(ppc_inst_read(src))); in translate_branch()