Home
last modified time | relevance | path

Searched refs:r_format (Results 1 – 11 of 11) sorted by relevance

/kernel/linux/linux-5.10/arch/mips/kvm/
Ddyntrans.c107 mfc0_inst.r_format.opcode = spec_op; in kvm_mips_trans_mfc0()
108 mfc0_inst.r_format.rd = inst.c0r_format.rt; in kvm_mips_trans_mfc0()
109 mfc0_inst.r_format.func = add_op; in kvm_mips_trans_mfc0()
Demulate.c64 switch (insn.r_format.func) { in kvm_compute_return_epc()
66 arch->gprs[insn.r_format.rd] = epc + 8; in kvm_compute_return_epc()
69 nextpc = arch->gprs[insn.r_format.rs]; in kvm_compute_return_epc()
2330 switch (inst.r_format.opcode) { in kvm_mips_emulate_inst()
2883 if (inst.r_format.opcode == spec3_op && in kvm_mips_handle_ri()
2884 inst.r_format.func == rdhwr_op && in kvm_mips_handle_ri()
2885 inst.r_format.rs == 0 && in kvm_mips_handle_ri()
2886 (inst.r_format.re >> 3) == 0) { in kvm_mips_handle_ri()
2888 int rd = inst.r_format.rd; in kvm_mips_handle_ri()
2889 int rt = inst.r_format.rt; in kvm_mips_handle_ri()
[all …]
Dvz.c1232 switch (inst.r_format.opcode) { in kvm_trap_vz_handle_gpsi()
1256 if (inst.r_format.rs || (inst.r_format.re >> 3)) in kvm_trap_vz_handle_gpsi()
1259 rd = inst.r_format.rd; in kvm_trap_vz_handle_gpsi()
1260 rt = inst.r_format.rt; in kvm_trap_vz_handle_gpsi()
1261 sel = inst.r_format.re & 0x7; in kvm_trap_vz_handle_gpsi()
/kernel/linux/linux-5.10/arch/mips/oprofile/
Dbacktrace.c56 if (ip->r_format.func == jr_op && ip->r_format.rs == 31) in is_end_of_function_marker()
/kernel/linux/linux-5.10/arch/mips/kernel/
Dprocess.c324 if (ip->r_format.opcode != mm_pool32a_op || in is_jump_ins()
325 ip->r_format.func != mm_pool32axf_op) in is_jump_ins()
333 if (ip->r_format.opcode != spec_op) in is_jump_ins()
335 return ip->r_format.func == jalr_op || ip->r_format.func == jr_op; in is_jump_ins()
Dprobes-common.h21 switch (insn.r_format.func) { in __insn_has_delay_slot()
Dbranch.c434 switch (insn.r_format.func) { in __compute_return_epc_for_insn()
436 regs->regs[insn.r_format.rd] = epc + 8; in __compute_return_epc_for_insn()
439 if (NO_R6EMU && insn.r_format.func == jr_op) in __compute_return_epc_for_insn()
441 regs->cp0_epc = regs->regs[insn.r_format.rs]; in __compute_return_epc_for_insn()
Duprobes.c70 switch (inst.r_format.func) { in is_trap_insn()
/kernel/linux/linux-5.10/arch/mips/math-emu/
Dcp1emu.c167 mips32_insn.r_format.opcode = cop1x_op; in microMIPS32_to_MIPS32()
168 mips32_insn.r_format.rs = in microMIPS32_to_MIPS32()
170 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()
172 mips32_insn.r_format.rd = 0; in microMIPS32_to_MIPS32()
173 mips32_insn.r_format.re = insn.mm_fp5_format.fd; in microMIPS32_to_MIPS32()
174 mips32_insn.r_format.func = func; in microMIPS32_to_MIPS32()
253 mips32_insn.r_format.opcode = spec_op; in microMIPS32_to_MIPS32()
254 mips32_insn.r_format.rs = insn.mm_fp4_format.fs; in microMIPS32_to_MIPS32()
255 mips32_insn.r_format.rt = in microMIPS32_to_MIPS32()
257 mips32_insn.r_format.rd = insn.mm_fp4_format.rt; in microMIPS32_to_MIPS32()
[all …]
/kernel/linux/patches/linux-5.10/prebuilts/usr/include/asm-mips/asm/
Dinst.h761 struct r_format { struct
945 struct r_format r_format; member
/kernel/linux/linux-5.10/arch/mips/include/uapi/asm/
Dinst.h657 struct r_format { /* Register format */ struct
1091 struct r_format r_format; member