Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 728) sorted by relevance

12345678910>>...30

/linux/arch/mips/kernel/
A Dirq-gt641xx.c22 u32 cause; in ack_gt641xx_irq() local
25 cause = GT_READ(GT_INTRCAUSE_OFS); in ack_gt641xx_irq()
26 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in ack_gt641xx_irq()
27 GT_WRITE(GT_INTRCAUSE_OFS, cause); in ack_gt641xx_irq()
46 u32 cause, mask; in mask_ack_gt641xx_irq() local
53 cause = GT_READ(GT_INTRCAUSE_OFS); in mask_ack_gt641xx_irq()
55 GT_WRITE(GT_INTRCAUSE_OFS, cause); in mask_ack_gt641xx_irq()
81 u32 cause, mask; in gt641xx_irq_dispatch() local
84 cause = GT_READ(GT_INTRCAUSE_OFS); in gt641xx_irq_dispatch()
86 cause &= mask; in gt641xx_irq_dispatch()
[all …]
A Dmips-cm.c376 int ocause, cause; in mips_cm_error_report() local
388 cause = FIELD_GET(CM_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
391 if (!cause) in mips_cm_error_report()
394 if (cause < 16) { in mips_cm_error_report()
405 } else if (cause < 24) { in mips_cm_error_report()
440 cm2_causes[cause], buf); in mips_cm_error_report()
447 cause = FIELD_GET(CM3_GCR_ERROR_CAUSE_ERRTYPE, cm_error); in mips_cm_error_report()
450 if (!cause) in mips_cm_error_report()
463 if (cause == 1 || cause == 3) { /* Tag ECC */ in mips_cm_error_report()
484 } else if (cause == 2) { in mips_cm_error_report()
[all …]
/linux/arch/riscv/mm/
A Dfault.c184 switch (cause) { in access_error()
215 unsigned long addr, cause; in do_page_fault() local
220 cause = regs->cause; in do_page_fault()
226 if (kprobe_page_fault(regs, cause)) in do_page_fault()
265 tsk->thread.bad_cause = cause; in do_page_fault()
280 if (cause == EXC_STORE_PAGE_FAULT) in do_page_fault()
288 tsk->thread.bad_cause = cause; in do_page_fault()
295 tsk->thread.bad_cause = cause; in do_page_fault()
300 tsk->thread.bad_cause = cause; in do_page_fault()
313 tsk->thread.bad_cause = cause; in do_page_fault()
[all …]
/linux/arch/mips/bcm47xx/
A Dirq.c36 u32 cause; in plat_irq_dispatch() local
38 cause = read_c0_cause() & read_c0_status() & CAUSEF_IP; in plat_irq_dispatch()
40 clear_c0_status(cause); in plat_irq_dispatch()
42 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
44 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
46 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
48 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
50 if (cause & CAUSEF_IP5) in plat_irq_dispatch()
52 if (cause & CAUSEF_IP6) in plat_irq_dispatch()
/linux/drivers/dma/idxd/
A Dirq.c66 if (cause & IDXD_INTC_HALT_STATE) in process_misc_interrupts()
69 if (cause & IDXD_INTC_ERR) { in process_misc_interrupts()
104 if (cause & IDXD_INTC_CMD) { in process_misc_interrupts()
109 if (cause & IDXD_INTC_OCCUPY) { in process_misc_interrupts()
114 if (cause & IDXD_INTC_PERFMON_OVFL) { in process_misc_interrupts()
119 val ^= cause; in process_misc_interrupts()
162 u32 cause; in idxd_misc_thread() local
165 if (cause) in idxd_misc_thread()
168 while (cause) { in idxd_misc_thread()
169 rc = process_misc_interrupts(idxd, cause); in idxd_misc_thread()
[all …]
/linux/security/integrity/ima/
A Dima_appraise.c269 *cause = "invalid-hash"; in xattr_verify()
294 *cause = "invalid-signature"; in xattr_verify()
302 *cause = "unknown-ima-data"; in xattr_verify()
327 *cause = "invalid-signature"; in modsig_verify()
383 const char *cause = "unknown"; in ima_appraise_measurement() local
423 cause = "missing-HMAC"; in ima_appraise_measurement()
427 cause = "invalid-fail-immutable"; in ima_appraise_measurement()
430 cause = "invalid-HMAC"; in ima_appraise_measurement()
438 &cause); in ima_appraise_measurement()
462 op, cause, rc, 0); in ima_appraise_measurement()
[all …]
/linux/arch/mips/kvm/
A Dvz.c258 u32 cause) in kvm_vz_irq_deliver_cb() argument
287 u32 cause) in kvm_vz_irq_clear_cb() argument
366 u32 cause) in _kvm_vz_restore_stimer() argument
375 write_gc0_cause(cause); in _kvm_vz_restore_stimer()
404 write_gc0_cause(cause); in _kvm_vz_restore_htimer()
426 u32 cause, compare; in kvm_vz_restore_timer() local
486 *out_cause = cause; in _kvm_vz_save_htimer()
828 if (cause & CAUSEF_BD) in kvm_trap_vz_no_handler()
1224 if (cause & CAUSEF_BD) in kvm_trap_vz_handle_gpsi()
1305 if (cause & CAUSEF_BD) in kvm_trap_vz_handle_gsfc()
[all …]
A Dinterrupt.c24 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, u32 cause) in kvm_mips_deliver_interrupts() argument
35 kvm_mips_callbacks->irq_clear(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
44 kvm_mips_callbacks->irq_deliver(vcpu, priority, cause); in kvm_mips_deliver_interrupts()
/linux/drivers/net/ethernet/chelsio/cxgb/
A Dsubr.c203 if (cause & (1 << p)) { in fpga_phy_intr_handler()
222 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
223 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
247 if (cause) in fpga_slow_intr()
683 u32 cause; in t1_elmer0_ext_intr_handler() local
863 if (!cause) in asic_slow_intr()
865 if (cause & F_PL_INTR_SGE_ERR) { in asic_slow_intr()
869 if (cause & F_PL_INTR_TP) in asic_slow_intr()
871 if (cause & F_PL_INTR_ESPI) in asic_slow_intr()
873 if (cause & F_PL_INTR_PCIX) { in asic_slow_intr()
[all …]
A Dmv88e1xxx.c303 u32 cause; in mv88e1xxx_interrupt_handler() local
307 &cause); in mv88e1xxx_interrupt_handler()
308 cause &= INTR_ENABLE_MASK; in mv88e1xxx_interrupt_handler()
309 if (!cause) in mv88e1xxx_interrupt_handler()
312 if (cause & MV88E1XXX_INTR_LINK_CHNG) { in mv88e1xxx_interrupt_handler()
326 if (cause & MV88E1XXX_INTR_AUTONEG_DONE) in mv88e1xxx_interrupt_handler()
/linux/arch/xtensa/kernel/
A Dtraps.c84 int cause; member
374 #define set_handler(type, cause, handler) \ argument
379 per_cpu(exc_table, cpu).type[cause] = (handler);\
384 void * __init trap_set_handler(int cause, void *handler) in trap_set_handler() argument
386 void *previous = per_cpu(exc_table, 0).default_handler[cause]; in trap_set_handler()
388 set_handler(default_handler, cause, handler); in trap_set_handler()
435 for(i = 0; dispatch_init_table[i].cause >= 0; i++) { in trap_init()
437 int cause = dispatch_init_table[i].cause; in trap_init() local
441 set_handler(default_handler, cause, handler); in trap_init()
443 set_handler(fast_user_handler, cause, handler); in trap_init()
[all …]
/linux/drivers/irqchip/
A Dirq-riscv-intc.c24 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local
26 if (unlikely(cause >= BITS_PER_LONG)) in riscv_intc_irq()
29 switch (cause) { in riscv_intc_irq()
40 generic_handle_domain_irq(intc_domain, cause); in riscv_intc_irq()
/linux/arch/nios2/kernel/
A Dtraps.c122 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) in handle_unaligned_c() argument
126 cause >>= 2; in handle_unaligned_c()
136 pr_alert(" cause %d\n", cause); in handle_unaligned_c()
168 asmlinkage void unhandled_exception(struct pt_regs *regs, int cause) in unhandled_exception() argument
172 cause /= 4; in unhandled_exception()
175 cause, user_mode(regs) ? "user" : "kernel", addr); in unhandled_exception()
/linux/arch/mips/bcm63xx/
A Dirq.c163 u32 cause; in plat_irq_dispatch() local
168 if (!cause) in plat_irq_dispatch()
171 if (cause & CAUSEF_IP7) in plat_irq_dispatch()
173 if (cause & CAUSEF_IP0) in plat_irq_dispatch()
175 if (cause & CAUSEF_IP1) in plat_irq_dispatch()
177 if (cause & CAUSEF_IP2) in plat_irq_dispatch()
180 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
183 if (cause & CAUSEF_IP3) in plat_irq_dispatch()
185 if (cause & CAUSEF_IP4) in plat_irq_dispatch()
187 if (cause & CAUSEF_IP5) in plat_irq_dispatch()
[all …]
/linux/drivers/net/ethernet/chelsio/cxgb3/
A Dmc5.c370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local
372 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler()
377 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler()
382 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler()
387 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler()
389 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler()
391 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler()
393 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler()
395 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler()
398 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
A Dt3_hw.c1731 if (cause & F_CE) { in mc7_intr_handler()
1741 if (cause & F_UE) { in mc7_intr_handler()
1751 if (G_PE(cause)) { in mc7_intr_handler()
1757 if (cause & F_AE) { in mc7_intr_handler()
1822 return cause != 0; in mac_intr_handler()
1862 if (!cause) in t3_slow_intr_handler()
1870 if (cause & F_SGE3) in t3_slow_intr_handler()
1878 if (cause & F_CIM) in t3_slow_intr_handler()
1880 if (cause & F_TP1) in t3_slow_intr_handler()
1892 if (cause & F_MPS0) in t3_slow_intr_handler()
[all …]
/linux/security/integrity/
A Dintegrity_audit.c30 const char *cause, int result, int audit_info) in integrity_audit_msg() argument
32 integrity_audit_message(audit_msgno, inode, fname, op, cause, in integrity_audit_msg()
38 const char *cause, int result, int audit_info, in integrity_audit_message() argument
54 audit_log_format(ab, " op=%s cause=%s comm=", op, cause); in integrity_audit_message()
/linux/arch/alpha/mm/
A Dfault.c86 long cause, struct pt_regs *regs) in do_page_fault() argument
98 if (cause == 0) { in do_page_fault()
137 if (cause < 0) { in do_page_fault()
140 } else if (!cause) { in do_page_fault()
206 die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16); in do_page_fault()
/linux/arch/nios2/mm/
A Dfault.c43 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause, in do_page_fault() argument
53 cause >>= 2; in do_page_fault()
112 switch (cause) { in do_page_fault()
181 "cause %ld\n", current->comm, SIGSEGV, address, cause); in do_page_fault()
203 cause); in do_page_fault()
/linux/Documentation/devicetree/bindings/watchdog/
A Dmen-a021-wdt.txt9 4: Watchdog reset cause bit 0
10 5: Watchdog reset cause bit 1
11 6: Watchdog reset cause bit 2
/linux/drivers/dma/qcom/
A Dhidma_ll.c390 if (cause & HIDMA_ERR_INT_MASK) { in hidma_ll_int_handler_internal()
392 cause); in hidma_ll_int_handler_internal()
395 writel(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
408 writel_relaxed(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
429 u32 cause; in hidma_ll_inthandler() local
433 cause = status & enable; in hidma_ll_inthandler()
435 while (cause) { in hidma_ll_inthandler()
436 hidma_ll_int_handler_internal(lldev, cause); in hidma_ll_inthandler()
444 cause = status & enable; in hidma_ll_inthandler()
450 irqreturn_t hidma_ll_inthandler_msi(int chirq, void *arg, int cause) in hidma_ll_inthandler_msi() argument
[all …]
/linux/arch/mips/sgi-ip30/
A Dip30-irq.c46 u64 pending, mask, cause, error_irqs, err_reg; in ip30_error_irq() local
52 cause = heart_read(&heart_regs->cause); in ip30_error_irq()
75 if (cause) { in ip30_error_irq()
77 cpu, pending, mask, cause); in ip30_error_irq()
79 if (cause & HC_COR_MEM_ERR) { in ip30_error_irq()
/linux/drivers/net/wireless/marvell/libertas/
A Dif_cs.c486 u16 cause; in if_cs_interrupt() local
489 cause = if_cs_read16(card, IF_CS_CARD_INT_CAUSE); in if_cs_interrupt()
490 lbs_deb_cs("cause 0x%04x\n", cause); in if_cs_interrupt()
492 if (cause == 0) { in if_cs_interrupt()
497 if (cause == 0xffff) { in if_cs_interrupt()
503 if (cause & IF_CS_BIT_RX) { in if_cs_interrupt()
511 if (cause & IF_CS_BIT_TX) { in if_cs_interrupt()
516 if (cause & IF_CS_BIT_RESP) { in if_cs_interrupt()
534 if (cause & IF_CS_BIT_EVENT) { in if_cs_interrupt()
542 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, cause & IF_CS_BIT_MASK); in if_cs_interrupt()
/linux/sound/soc/kirkwood/
A Dkirkwood-dma.c44 unsigned long mask, status, cause; in kirkwood_dma_irq() local
49 cause = readl(priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()
50 if (unlikely(cause)) { in kirkwood_dma_irq()
52 __func__, cause); in kirkwood_dma_irq()
53 writel(cause, priv->io + KIRKWOOD_ERR_CAUSE); in kirkwood_dma_irq()
/linux/arch/riscv/kernel/
A Dtraps.c45 ret = notify_die(DIE_OOPS, str, regs, 0, regs->cause, SIGSEGV); in die()
79 current->thread.bad_cause = regs->cause; in do_trap_error()
170 current->thread.bad_cause = regs->cause; in do_trap_break()
175 else if (notify_die(DIE_TRAP, "EBREAK", regs, 0, regs->cause, SIGTRAP) in do_trap_break()

Completed in 39 milliseconds

12345678910>>...30