Home
last modified time | relevance | path

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

/linux-6.6.21/arch/mips/include/asm/
Dbranch.h47 return regs->cp0_cause & CAUSEF_BD; in delay_slot()
52 regs->cp0_cause &= ~CAUSEF_BD; in clear_delay_slot()
57 regs->cp0_cause |= CAUSEF_BD; in set_delay_slot()
Dptrace.h45 unsigned long cp0_cause; member
/linux-6.6.21/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-6.6.21/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-6.6.21/arch/mips/sgi-ip32/
Dip32-berr.c23 int data = regs->cp0_cause & 4; in ip32_be_handler()
/linux-6.6.21/arch/mips/include/uapi/asm/
Dptrace.h47 __u64 cp0_cause; member
/linux-6.6.21/arch/mips/mm/
Dfault.c214 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
269 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in __do_page_fault()
/linux-6.6.21/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-6.6.21/arch/mips/sgi-ip27/
Dip27-berr.c63 int data = regs->cp0_cause & 4; in ip27_be_handler()
/linux-6.6.21/arch/mips/sibyte/swarm/
Dsetup.c60 if (!is_fixup && (regs->cp0_cause & 4)) { in swarm_be_handler()
/linux-6.6.21/arch/mips/kernel/
Dkgdb.c92 { "cause", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_cause) },
291 int trap = (regs->cp0_cause & 0x7c) >> 2; in kgdb_mips_notify()
Dtraps.c266 unsigned int cause = regs->cp0_cause; in __show_regs()
451 int data = regs->cp0_cause & 4; in do_be()
1035 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_bp()
1123 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_tr()
1187 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_ri()
1412 cpid = (regs->cp0_cause >> CAUSEB_CE) & 3; in do_cpu()
1512 current->thread.trap_nr = (regs->cp0_cause >> 2) & 0x1f; in do_msa_fpe()
1665 (regs->cp0_cause & 0x7f) >> 2); in do_reserved()
Dptrace.c91 __put_user((long)regs->cp0_cause, (__s64 __user *)&data->cp0_cause); in ptrace_getregs()
903 REG_OFFSET_NAME(c0_cause, cp0_cause),
1147 tmp = regs->cp0_cause; in 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()
Dptrace32.c128 tmp = regs->cp0_cause; in compat_arch_ptrace()
Dprocess.c888 uregs[MIPS32_EF_CP0_CAUSE] = regs->cp0_cause; in mips_dump_regs32()
910 uregs[MIPS64_EF_CP0_CAUSE] = regs->cp0_cause; in mips_dump_regs64()
Dasm-offsets.c70 OFFSET(PT_CAUSE, pt_regs, cp0_cause); in output_ptreg_defines()
/linux-6.6.21/drivers/watchdog/
Docteon-wdt-main.c219 u64 cp0_cause = read_c0_cause(); in octeon_wdt_nmi_stage3() local
248 octeon_wdt_write_hex(cp0_cause, 16); in octeon_wdt_nmi_stage3()
/linux-6.6.21/arch/mips/mti-malta/
Dmalta-int.c96 regs->cp0_cause, regs->cp0_badvaddr); in corehi_irqdispatch()
/linux-6.6.21/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()
/linux-6.6.21/arch/mips/kvm/
Dentry.c156 UASM_i_SW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_save_scratch()
171 UASM_i_LW(p, tmp, offsetof(struct pt_regs, cp0_cause), frame); in kvm_mips_build_restore_scratch()