Home
last modified time | relevance | path

Searched refs:cp0_cause (Results 1 – 24 of 24) sorted by relevance

/Linux-v5.4/arch/mips/include/asm/
Dbranch.h44 return regs->cp0_cause & CAUSEF_BD; in delay_slot()
49 regs->cp0_cause &= ~CAUSEF_BD; in clear_delay_slot()
54 regs->cp0_cause |= CAUSEF_BD; in set_delay_slot()
Dptrace.h45 unsigned long cp0_cause; member
/Linux-v5.4/arch/mips/rb532/
Dirq.c217 unsigned int cp0_cause = read_c0_cause() & read_c0_status(); in plat_irq_dispatch() local
219 if (cp0_cause & CAUSEF_IP7) { in plat_irq_dispatch()
222 ip = (cp0_cause & 0x7c00); in plat_irq_dispatch()
/Linux-v5.4/arch/mips/dec/
Dkn01-berr.c74 int data = regs->cp0_cause & 4; in dec_kn01_be_backend()
76 ((regs->cp0_cause & CAUSEF_BD) != 0); in dec_kn01_be_backend()
/Linux-v5.4/arch/mips/sgi-ip32/
Dip32-berr.c23 int data = regs->cp0_cause & 4; in ip32_be_handler()
/Linux-v5.4/arch/mips/include/uapi/asm/
Dptrace.h47 __u64 cp0_cause; member
/Linux-v5.4/arch/mips/mm/
Dfault.c225 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
280 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/Linux-v5.4/arch/mips/sgi-ip22/
Dip28-berr.c300 cause_excode_text(regs->cp0_cause), in print_buserr()
379 if (regs->cp0_cause & CAUSEF_EXCCODE) in ip28_be_interrupt()
383 if ((regs->cp0_cause & CAUSEF_IP6) != CAUSEF_IP6) in ip28_be_interrupt()
Dip22-berr.c97 (regs->cp0_cause & 4) ? "Data" : "Instruction", in ip22_be_interrupt()
/Linux-v5.4/arch/mips/sgi-ip27/
Dip27-berr.c61 int data = regs->cp0_cause & 4; in ip27_be_handler()
/Linux-v5.4/arch/mips/kernel/
Dtraps.c254 unsigned int cause = regs->cp0_cause; in __show_regs()
444 int data = regs->cp0_cause & 4; in do_be()
990 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1083 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_tr()
1148 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_ri()
1356 cpid = (regs->cp0_cause >> CAUSEB_CE) & 3; in do_cpu()
1457 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_msa_fpe()
1616 (regs->cp0_cause & 0x7f) >> 2); in do_reserved()
Dkgdb.c93 { "cause", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_cause) },
304 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify()
Dptrace32.c129 tmp = regs->cp0_cause; in compat_arch_ptrace()
Dmips-r2-to-r6-emul.c932 regs->cp0_cause |= CAUSEF_BD; in mipsr2_decoder()
1031 regs->cp0_cause |= CAUSEF_BD; in mipsr2_decoder()
1080 regs->cp0_cause |= CAUSEF_BD; in mipsr2_decoder()
1157 regs->cp0_cause |= CAUSEF_BD; in mipsr2_decoder()
2215 regs->cp0_cause &= ~CAUSEF_BD; in mipsr2_decoder()
Dptrace.c86 __put_user((long)regs->cp0_cause, (__s64 __user *)&data->cp0_cause); in ptrace_getregs()
985 REG_OFFSET_NAME(c0_cause, cp0_cause),
1229 tmp = regs->cp0_cause; in arch_ptrace()
Dprocess.c851 uregs[MIPS32_EF_CP0_CAUSE] = regs->cp0_cause; in mips_dump_regs32()
873 uregs[MIPS64_EF_CP0_CAUSE] = regs->cp0_cause; in mips_dump_regs64()
Dasm-offsets.c69 OFFSET(PT_CAUSE, pt_regs, cp0_cause); in output_ptreg_defines()
/Linux-v5.4/arch/mips/sibyte/swarm/
Dsetup.c61 if (!is_fixup && (regs->cp0_cause & 4)) { in swarm_be_handler()
/Linux-v5.4/drivers/watchdog/
Docteon-wdt-main.c216 u64 cp0_cause = read_c0_cause(); in octeon_wdt_nmi_stage3() local
245 octeon_wdt_write_hex(cp0_cause, 16); in octeon_wdt_nmi_stage3()
/Linux-v5.4/arch/mips/mti-malta/
Dmalta-int.c96 regs->cp0_cause, regs->cp0_badvaddr); in corehi_irqdispatch()
/Linux-v5.4/arch/mips/txx9/generic/
Dsetup_tx4927.c69 int data = regs->cp0_cause & 4; in tx4927_be_handler()
Dsetup_tx4938.c71 int data = regs->cp0_cause & 4; in tx4938_be_handler()
Dsetup_tx4939.c75 int data = regs->cp0_cause & 4; in tx4939_be_handler()
/Linux-v5.4/arch/mips/kvm/
Dentry.c161 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_save_scratch()
176 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_restore_scratch()