/linux/arch/mips/kernel/ |
A D | irq-gt641xx.c | 22 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 D | mips-cm.c | 376 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 D | fault.c | 184 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 D | irq.c | 36 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 D | irq.c | 66 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 D | ima_appraise.c | 269 *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 D | vz.c | 258 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 D | interrupt.c | 24 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 D | subr.c | 203 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 D | mv88e1xxx.c | 303 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 D | traps.c | 84 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 D | irq-riscv-intc.c | 24 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 D | traps.c | 122 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 D | irq.c | 163 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 D | mc5.c | 370 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 D | t3_hw.c | 1731 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 D | integrity_audit.c | 30 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 D | fault.c | 86 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 D | fault.c | 43 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 D | men-a021-wdt.txt | 9 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 D | hidma_ll.c | 390 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 D | ip30-irq.c | 46 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 D | if_cs.c | 486 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 D | kirkwood-dma.c | 44 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 D | traps.c | 45 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()
|