Searched refs:cause (Results 1 - 200 of 1658) sorted by relevance

123456789

/linux-4.1.27/arch/cris/arch-v10/mm/
H A Dfault.c41 int cause; handle_mmu_bus_fault() local
55 cause = *R_MMU_CAUSE; handle_mmu_bus_fault()
57 address = cause & PAGE_MASK; /* get faulting address */ handle_mmu_bus_fault()
61 page_id = IO_EXTRACT(R_MMU_CAUSE, page_id, cause); handle_mmu_bus_fault()
62 acc = IO_EXTRACT(R_MMU_CAUSE, acc_excp, cause); handle_mmu_bus_fault()
63 inv = IO_EXTRACT(R_MMU_CAUSE, inv_excp, cause); handle_mmu_bus_fault()
66 miss = IO_EXTRACT(R_MMU_CAUSE, miss_excp, cause); handle_mmu_bus_fault()
67 we = IO_EXTRACT(R_MMU_CAUSE, we_excp, cause); handle_mmu_bus_fault()
68 writeac = IO_EXTRACT(R_MMU_CAUSE, wr_rd, cause); handle_mmu_bus_fault()
91 *R_TLB_HI = cause; handle_mmu_bus_fault()
/linux-4.1.27/arch/mips/bcm47xx/
H A Dirq.c36 u32 cause; plat_irq_dispatch() local
38 cause = read_c0_cause() & read_c0_status() & CAUSEF_IP; plat_irq_dispatch()
40 clear_c0_status(cause); plat_irq_dispatch()
42 if (cause & CAUSEF_IP7) plat_irq_dispatch()
44 if (cause & CAUSEF_IP2) plat_irq_dispatch()
46 if (cause & CAUSEF_IP3) plat_irq_dispatch()
48 if (cause & CAUSEF_IP4) plat_irq_dispatch()
50 if (cause & CAUSEF_IP5) plat_irq_dispatch()
52 if (cause & CAUSEF_IP6) plat_irq_dispatch()
/linux-4.1.27/arch/mips/kernel/
H A Dirq-gt641xx.c35 u32 cause; ack_gt641xx_irq() local
38 cause = GT_READ(GT_INTRCAUSE_OFS); ack_gt641xx_irq()
39 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); ack_gt641xx_irq()
40 GT_WRITE(GT_INTRCAUSE_OFS, cause); ack_gt641xx_irq()
59 u32 cause, mask; mask_ack_gt641xx_irq() local
66 cause = GT_READ(GT_INTRCAUSE_OFS); mask_ack_gt641xx_irq()
67 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); mask_ack_gt641xx_irq()
68 GT_WRITE(GT_INTRCAUSE_OFS, cause); mask_ack_gt641xx_irq()
94 u32 cause, mask; gt641xx_irq_dispatch() local
97 cause = GT_READ(GT_INTRCAUSE_OFS); gt641xx_irq_dispatch()
99 cause &= mask; gt641xx_irq_dispatch()
107 if (cause & (1U << i)) { gt641xx_irq_dispatch()
H A Dsync-r4k.c5 * value. This can cause a small timewarp for CPU0. All other CPU's should
H A Dtime.c75 * This function exists in order to cause an error due to a duplicate
/linux-4.1.27/arch/mips/kvm/
H A Dtrap_emul.c45 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_cop_unusable() local
49 if (((cause & CAUSEF_CE) >> CAUSEB_CE) == 1) { kvm_trap_emul_handle_cop_unusable()
57 er = kvm_mips_emulate_fpu_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_cop_unusable()
64 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); kvm_trap_emul_handle_cop_unusable()
93 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_tlb_mod() local
99 kvm_debug("USER/KSEG23 ADDR TLB MOD fault: cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_mod()
100 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_mod()
101 er = kvm_mips_handle_tlbmod(cause, opc, run, vcpu); kvm_trap_emul_handle_tlb_mod()
115 kvm_err("TLB MOD fault not handled, cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_mod()
116 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_mod()
122 kvm_err("Illegal TLB Mod fault address , cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_mod()
123 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_mod()
137 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_tlb_st_miss() local
149 kvm_debug("USER ADDR TLB LD fault: cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_st_miss()
150 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_st_miss()
151 er = kvm_mips_handle_tlbmiss(cause, opc, run, vcpu); kvm_trap_emul_handle_tlb_st_miss()
169 kvm_err("Illegal TLB LD fault address , cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_st_miss()
170 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_st_miss()
184 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_tlb_ld_miss() local
209 er = kvm_mips_handle_tlbmiss(cause, opc, run, vcpu); kvm_trap_emul_handle_tlb_ld_miss()
223 kvm_err("Illegal TLB ST fault address , cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_tlb_ld_miss()
224 cause, opc, badvaddr); kvm_trap_emul_handle_tlb_ld_miss()
238 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_addr_err_st() local
245 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); kvm_trap_emul_handle_addr_err_st()
255 kvm_err("Address Error (STORE): cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_addr_err_st()
256 cause, opc, badvaddr); kvm_trap_emul_handle_addr_err_st()
268 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_addr_err_ld() local
274 er = kvm_mips_emulate_inst(cause, opc, run, vcpu); kvm_trap_emul_handle_addr_err_ld()
284 kvm_err("Address Error (LOAD): cause %#lx, PC: %p, BadVaddr: %#lx\n", kvm_trap_emul_handle_addr_err_ld()
285 cause, opc, badvaddr); kvm_trap_emul_handle_addr_err_ld()
297 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_syscall() local
301 er = kvm_mips_emulate_syscall(cause, opc, run, vcpu); kvm_trap_emul_handle_syscall()
315 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_res_inst() local
319 er = kvm_mips_handle_ri(cause, opc, run, vcpu); kvm_trap_emul_handle_res_inst()
333 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_break() local
337 er = kvm_mips_emulate_bp_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_break()
351 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_trap() local
355 er = kvm_mips_emulate_trap_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_trap()
369 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_msa_fpe() local
373 er = kvm_mips_emulate_msafpe_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_msa_fpe()
387 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_fpe() local
391 er = kvm_mips_emulate_fpe_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_fpe()
412 unsigned long cause = vcpu->arch.host_cp0_cause; kvm_trap_emul_handle_msa_disabled() local
422 er = kvm_mips_emulate_ri_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_msa_disabled()
425 er = kvm_mips_emulate_msadis_exc(cause, opc, run, vcpu); kvm_trap_emul_handle_msa_disabled()
H A Dinterrupt.h50 uint32_t cause);
52 uint32_t cause);
53 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, uint32_t cause);
H A Dinterrupt.c117 uint32_t cause) kvm_mips_irq_deliver_cb()
173 if (cause & CAUSEF_BD) kvm_mips_irq_deliver_cb()
199 uint32_t cause) kvm_mips_irq_clear_cb()
204 void kvm_mips_deliver_interrupts(struct kvm_vcpu *vcpu, uint32_t cause) kvm_mips_deliver_interrupts() argument
215 if (kvm_mips_callbacks->irq_clear(vcpu, priority, cause)) { kvm_mips_deliver_interrupts()
227 if (kvm_mips_callbacks->irq_deliver(vcpu, priority, cause)) { kvm_mips_deliver_interrupts()
116 kvm_mips_irq_deliver_cb(struct kvm_vcpu *vcpu, unsigned int priority, uint32_t cause) kvm_mips_irq_deliver_cb() argument
198 kvm_mips_irq_clear_cb(struct kvm_vcpu *vcpu, unsigned int priority, uint32_t cause) kvm_mips_irq_clear_cb() argument
H A Demulate.c201 enum emulation_result update_pc(struct kvm_vcpu *vcpu, uint32_t cause) update_pc() argument
206 if (cause & CAUSEF_BD) { update_pc()
977 uint32_t cause, struct kvm_run *run, kvm_mips_emulate_CP0()
991 er = update_pc(vcpu, cause); kvm_mips_emulate_CP0()
1316 enum emulation_result kvm_mips_emulate_store(uint32_t inst, uint32_t cause, kvm_mips_emulate_store() argument
1331 er = update_pc(vcpu, cause); kvm_mips_emulate_store()
1428 enum emulation_result kvm_mips_emulate_load(uint32_t inst, uint32_t cause, kvm_mips_emulate_load() argument
1441 vcpu->arch.pending_load_cause = cause; kvm_mips_emulate_load()
1573 uint32_t cause, kvm_mips_emulate_cache()
1589 er = update_pc(vcpu, cause); kvm_mips_emulate_cache()
1653 er = kvm_mips_emulate_tlbmiss_ld(cause, NULL, run, kvm_mips_emulate_cache()
1664 er = kvm_mips_emulate_tlbinv_ld(cause, NULL, kvm_mips_emulate_cache()
1726 enum emulation_result kvm_mips_emulate_inst(unsigned long cause, uint32_t *opc, kvm_mips_emulate_inst() argument
1734 if (cause & CAUSEF_BD) kvm_mips_emulate_inst()
1741 er = kvm_mips_emulate_CP0(inst, opc, cause, run, vcpu); kvm_mips_emulate_inst()
1746 er = kvm_mips_emulate_store(inst, cause, run, vcpu); kvm_mips_emulate_inst()
1753 er = kvm_mips_emulate_load(inst, cause, run, vcpu); kvm_mips_emulate_inst()
1759 er = kvm_mips_emulate_cache(inst, opc, cause, run, vcpu); kvm_mips_emulate_inst()
1773 enum emulation_result kvm_mips_emulate_syscall(unsigned long cause, kvm_mips_emulate_syscall() argument
1787 if (cause & CAUSEF_BD) kvm_mips_emulate_syscall()
1808 enum emulation_result kvm_mips_emulate_tlbmiss_ld(unsigned long cause, kvm_mips_emulate_tlbmiss_ld() argument
1823 if (cause & CAUSEF_BD) kvm_mips_emulate_tlbmiss_ld()
1854 enum emulation_result kvm_mips_emulate_tlbinv_ld(unsigned long cause, kvm_mips_emulate_tlbinv_ld() argument
1870 if (cause & CAUSEF_BD) kvm_mips_emulate_tlbinv_ld()
1900 enum emulation_result kvm_mips_emulate_tlbmiss_st(unsigned long cause, kvm_mips_emulate_tlbmiss_st() argument
1915 if (cause & CAUSEF_BD) kvm_mips_emulate_tlbmiss_st()
1944 enum emulation_result kvm_mips_emulate_tlbinv_st(unsigned long cause, kvm_mips_emulate_tlbinv_st() argument
1959 if (cause & CAUSEF_BD) kvm_mips_emulate_tlbinv_st()
1989 enum emulation_result kvm_mips_handle_tlbmod(unsigned long cause, uint32_t *opc, kvm_mips_handle_tlbmod() argument
2013 er = kvm_mips_emulate_tlbmod(cause, opc, run, vcpu); kvm_mips_handle_tlbmod()
2017 enum emulation_result kvm_mips_emulate_tlbmod(unsigned long cause, kvm_mips_emulate_tlbmod() argument
2032 if (cause & CAUSEF_BD) kvm_mips_emulate_tlbmod()
2059 enum emulation_result kvm_mips_emulate_fpu_exc(unsigned long cause, kvm_mips_emulate_fpu_exc() argument
2072 if (cause & CAUSEF_BD) kvm_mips_emulate_fpu_exc()
2088 enum emulation_result kvm_mips_emulate_ri_exc(unsigned long cause, kvm_mips_emulate_ri_exc() argument
2102 if (cause & CAUSEF_BD) kvm_mips_emulate_ri_exc()
2123 enum emulation_result kvm_mips_emulate_bp_exc(unsigned long cause, kvm_mips_emulate_bp_exc() argument
2137 if (cause & CAUSEF_BD) kvm_mips_emulate_bp_exc()
2158 enum emulation_result kvm_mips_emulate_trap_exc(unsigned long cause, kvm_mips_emulate_trap_exc() argument
2172 if (cause & CAUSEF_BD) kvm_mips_emulate_trap_exc()
2193 enum emulation_result kvm_mips_emulate_msafpe_exc(unsigned long cause, kvm_mips_emulate_msafpe_exc() argument
2207 if (cause & CAUSEF_BD) kvm_mips_emulate_msafpe_exc()
2228 enum emulation_result kvm_mips_emulate_fpe_exc(unsigned long cause, kvm_mips_emulate_fpe_exc() argument
2242 if (cause & CAUSEF_BD) kvm_mips_emulate_fpe_exc()
2263 enum emulation_result kvm_mips_emulate_msadis_exc(unsigned long cause, kvm_mips_emulate_msadis_exc() argument
2277 if (cause & CAUSEF_BD) kvm_mips_emulate_msadis_exc()
2313 enum emulation_result kvm_mips_handle_ri(unsigned long cause, uint32_t *opc, kvm_mips_handle_ri() argument
2328 er = update_pc(vcpu, cause); kvm_mips_handle_ri()
2333 if (cause & CAUSEF_BD) kvm_mips_handle_ri()
2395 return kvm_mips_emulate_ri_exc(cause, opc, run, vcpu); kvm_mips_handle_ri()
2443 static enum emulation_result kvm_mips_emulate_exc(unsigned long cause, kvm_mips_emulate_exc() argument
2448 uint32_t exccode = (cause >> CAUSEB_EXCCODE) & 0x1f; kvm_mips_emulate_exc()
2458 if (cause & CAUSEF_BD) kvm_mips_emulate_exc()
2481 enum emulation_result kvm_mips_check_privilege(unsigned long cause, kvm_mips_check_privilege() argument
2487 uint32_t exccode = (cause >> CAUSEB_EXCCODE) & 0x1f; kvm_mips_check_privilege()
2505 if (((cause & CAUSEF_CE) >> CAUSEB_CE) == 0) kvm_mips_check_privilege()
2520 cause &= ~0xff; kvm_mips_check_privilege()
2521 cause |= (T_ADDR_ERR_LD << CAUSEB_EXCCODE); kvm_mips_check_privilege()
2534 cause &= ~0xff; kvm_mips_check_privilege()
2535 cause |= (T_ADDR_ERR_ST << CAUSEB_EXCCODE); kvm_mips_check_privilege()
2544 cause &= ~0xff; kvm_mips_check_privilege()
2545 cause |= (T_TLB_ST_MISS << CAUSEB_EXCCODE); kvm_mips_check_privilege()
2553 cause &= ~0xff; kvm_mips_check_privilege()
2554 cause |= (T_TLB_LD_MISS << CAUSEB_EXCCODE); kvm_mips_check_privilege()
2565 kvm_mips_emulate_exc(cause, opc, run, vcpu); kvm_mips_check_privilege()
2577 enum emulation_result kvm_mips_handle_tlbmiss(unsigned long cause, kvm_mips_handle_tlbmiss() argument
2583 uint32_t exccode = (cause >> CAUSEB_EXCCODE) & 0x1f; kvm_mips_handle_tlbmiss()
2602 er = kvm_mips_emulate_tlbmiss_ld(cause, opc, run, vcpu); kvm_mips_handle_tlbmiss()
2604 er = kvm_mips_emulate_tlbmiss_st(cause, opc, run, vcpu); kvm_mips_handle_tlbmiss()
2619 er = kvm_mips_emulate_tlbinv_ld(cause, opc, run, kvm_mips_handle_tlbmiss()
2622 er = kvm_mips_emulate_tlbinv_st(cause, opc, run, kvm_mips_handle_tlbmiss()
976 kvm_mips_emulate_CP0(uint32_t inst, uint32_t *opc, uint32_t cause, struct kvm_run *run, struct kvm_vcpu *vcpu) kvm_mips_emulate_CP0() argument
1572 kvm_mips_emulate_cache(uint32_t inst, uint32_t *opc, uint32_t cause, struct kvm_run *run, struct kvm_vcpu *vcpu) kvm_mips_emulate_cache() argument
H A Dmips.c1224 uint32_t cause = vcpu->arch.host_cp0_cause; kvm_mips_handle_exit() local
1225 uint32_t exccode = (cause >> CAUSEB_EXCCODE) & 0x1f; kvm_mips_handle_exit()
1246 kvm_debug("kvm_mips_handle_exit: cause: %#x, PC: %p, kvm_run: %p, kvm_vcpu: %p\n", kvm_mips_handle_exit()
1247 cause, opc, run, vcpu); kvm_mips_handle_exit()
1253 er = kvm_mips_check_privilege(cause, opc, run, vcpu); kvm_mips_handle_exit()
1293 kvm_debug("TLB ST fault: cause %#x, status %#lx, PC: %p, BadVaddr: %#lx\n", kvm_mips_handle_exit()
1294 cause, kvm_read_c0_guest_status(vcpu->arch.cop0), opc, kvm_mips_handle_exit()
1303 kvm_debug("TLB LD fault: cause %#x, PC: %p, BadVaddr: %#lx\n", kvm_mips_handle_exit()
1304 cause, opc, badvaddr); kvm_mips_handle_exit()
1380 kvm_mips_deliver_interrupts(vcpu, cause); kvm_mips_handle_exit()
1398 * vector, as it may well cause an [MSA] FP exception if there kvm_mips_handle_exit()
1573 * exception if cause bits are set in the value being written.
/linux-4.1.27/arch/powerpc/sysdev/
H A Dmv64x60_pic.c272 u32 cause; mv64x60_get_irq() local
277 cause = in_le32(mv64x60_irq_reg_base + MV64X60_IC_CPU0_SELECT_CAUSE); mv64x60_get_irq()
278 if (cause & MV64X60_SELECT_CAUSE_HIGH) { mv64x60_get_irq()
279 cause &= mv64x60_cached_high_mask; mv64x60_get_irq()
281 if (cause & MV64X60_HIGH_GPP_GROUPS) { mv64x60_get_irq()
282 cause = in_le32(mv64x60_gpp_reg_base + mv64x60_get_irq()
284 cause &= mv64x60_cached_gpp_mask; mv64x60_get_irq()
288 cause &= mv64x60_cached_low_mask; mv64x60_get_irq()
291 if (cause) { mv64x60_get_irq()
292 hwirq = (level1 << MV64x60_LEVEL1_OFFSET) | __ilog2(cause); mv64x60_get_irq()
H A Dmv64x60_udbg.c50 int cause = 0; mv64x60_udbg_getc() local
58 out_le32(mpsc_intr_cause, cause & ~MPSC_INTR_CAUSE_RCC); mv64x60_udbg_getc()
/linux-4.1.27/arch/xtensa/include/asm/
H A Dmxregs.h36 #define MIPISET(cause) (0x140 + (cause))
H A Dtraps.h20 extern void * __init trap_set_handler(int cause, void *handler);
H A Dcmpxchg.h105 * where no register reference will cause an overflow.
/linux-4.1.27/include/linux/
H A Dtask_io_accounting.h31 * The number of bytes which this task has caused, or shall cause to be
37 * A task can cause "negative" IO too. If this task truncates some
H A Dgpio-pxa.h9 * Those cases currently cause holes in the GPIO number space, the
H A Dprefetch.h20 prefetch(x) should not cause any kind of exception, prefetch(0) is
H A Dpreempt.h113 * that can cause faults and scheduling migrate into our preempt-protected
/linux-4.1.27/arch/nios2/kernel/
H A Dtraps.c98 * down the cause of the crash will be able to figure show_stack()
131 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) handle_unaligned_c() argument
135 cause >>= 2; handle_unaligned_c()
145 pr_alert(" cause %d\n", cause); handle_unaligned_c()
177 asmlinkage void unhandled_exception(struct pt_regs *regs, int cause) unhandled_exception() argument
181 cause /= 4; unhandled_exception()
184 cause, user_mode(regs) ? "user" : "kernel", addr); unhandled_exception()
H A Dmisaligned.c69 asmlinkage void handle_unaligned_c(struct pt_regs *fp, int cause) handle_unaligned_c() argument
166 cause >>= 2; handle_unaligned_c()
193 pr_err("kernel unaligned access @ %#lx; BADADDR 0x%08x; cause=%d, isn=0x%08x\n", handle_unaligned_c()
195 (unsigned int)addr, cause, handle_unaligned_c()
H A Dearly_printk.c109 * downloading the kernel. This might cause early data to be lost even setup_early_printk()
/linux-4.1.27/security/integrity/
H A Dintegrity_audit.c33 const char *cause, int result, int audit_info) integrity_audit_msg()
50 audit_log_format(ab, " cause="); integrity_audit_msg()
51 audit_log_string(ab, cause); integrity_audit_msg()
31 integrity_audit_msg(int audit_msgno, struct inode *inode, const unsigned char *fname, const char *op, const char *cause, int result, int audit_info) integrity_audit_msg() argument
H A Dintegrity.h178 const char *cause, int result, int info);
182 const char *op, const char *cause, integrity_audit_msg()
180 integrity_audit_msg(int audit_msgno, struct inode *inode, const unsigned char *fname, const char *op, const char *cause, int result, int info) integrity_audit_msg() argument
/linux-4.1.27/drivers/isdn/hisax/
H A Dl3_1tr6.c359 pc->para.cause = p[2]; l3_1tr6_rel()
365 pc->para.cause = 0; l3_1tr6_rel()
369 pc->para.cause = NO_CAUSE; l3_1tr6_rel()
370 l3_1tr6_error(pc, "missing REL cause", skb); l3_1tr6_rel()
389 pc->para.cause = NO_CAUSE; l3_1tr6_rel_ack()
425 pc->para.cause = p[2]; l3_1tr6_disc()
431 pc->para.cause = 0; l3_1tr6_disc()
436 l3_debug(pc->st, "cause not found"); l3_1tr6_disc()
437 pc->para.cause = NO_CAUSE; l3_1tr6_disc()
519 u_char cause = 0x10; l3_1tr6_disconnect_req() local
522 if (pc->para.cause > 0) l3_1tr6_disconnect_req()
523 cause = pc->para.cause; l3_1tr6_disconnect_req()
525 switch (cause & 0x7f) { l3_1tr6_disconnect_req()
530 cause = CAUSE_UserBusy; l3_1tr6_disconnect_req()
533 cause = CAUSE_CallRejected; l3_1tr6_disconnect_req()
541 *p++ = cause | 0x80; l3_1tr6_disconnect_req()
560 pc->para.cause = 0; l3_1tr6_t303()
569 pc->para.cause = 0xE6; l3_1tr6_t304()
581 u_char cause = 0x90; l3_1tr6_t305() local
585 if (pc->para.cause != NO_CAUSE) l3_1tr6_t305()
586 cause = pc->para.cause; l3_1tr6_t305()
588 switch (cause & 0x7f) { l3_1tr6_t305()
593 cause = CAUSE_CallRejected; l3_1tr6_t305()
600 *p++ = cause; l3_1tr6_t305()
614 pc->para.cause = 0xE6; l3_1tr6_t310()
623 pc->para.cause = 0xE6; l3_1tr6_t313()
648 pc->para.cause = CAUSE_LocalProcErr; l3_1tr6_dl_reset()
657 pc->para.cause = 0x1b; /* Destination out of order */ l3_1tr6_dl_release()
H A Dl3dss1.c512 l3dss1_message_cause(struct l3_process *pc, u_char mt, u_char cause) l3dss1_message_cause() argument
523 *p++ = cause | 0x80; l3dss1_message_cause()
545 *p++ = pc->para.cause | 0x80; l3dss1_status_send()
570 switch (pc->para.cause) { l3dss1_msg_without_setup()
580 *p++ = pc->para.cause | 0x80; l3dss1_msg_without_setup()
583 printk(KERN_ERR "HiSax l3dss1_msg_without_setup wrong cause %d\n", l3dss1_msg_without_setup()
584 pc->para.cause); l3dss1_msg_without_setup()
830 pc->para.cause = 97; l3dss1_check_messagetype_validity()
846 pc->para.cause = 96; l3dss1_std_ie_err()
850 pc->para.cause = 99; l3dss1_std_ie_err()
854 pc->para.cause = 100; l3dss1_std_ie_err()
892 pc->para.cause = 31; l3dss1_get_cause()
910 pc->para.cause = *p++; l3dss1_get_cause()
912 if (!(pc->para.cause & 0x80)) l3dss1_get_cause()
973 pc->para.cause = NO_CAUSE; l3dss1_release_cmpl()
1440 pc->para.cause = 100; l3dss1_call_proc()
1449 pc->para.cause = 96; l3dss1_call_proc()
1451 pc->para.cause = 100; l3dss1_call_proc()
1479 pc->para.cause = 100; l3dss1_setup_ack()
1488 pc->para.cause = 96; l3dss1_setup_ack()
1490 pc->para.cause = 100; l3dss1_setup_ack()
1514 u_char cause = 0; l3dss1_disconnect() local
1521 cause = 96; l3dss1_disconnect()
1523 cause = 100; l3dss1_disconnect()
1529 cause = 96; l3dss1_disconnect()
1530 else if ((!cause) && (ERR_IE_UNRECOGNIZED == ret)) l3dss1_disconnect()
1531 cause = 99; l3dss1_disconnect()
1534 if (cause) l3dss1_disconnect()
1538 else if (!cause) l3dss1_disconnect()
1540 if (cause) { l3dss1_disconnect()
1541 l3dss1_message_cause(pc, MT_RELEASE, cause); l3dss1_disconnect()
1655 pc->para.cause = 100; l3dss1_setup()
1663 pc->para.cause = 96; l3dss1_setup()
1676 pc->para.cause = 100; l3dss1_setup()
1690 pc->para.cause = 96; l3dss1_setup()
1692 pc->para.cause = 100; l3dss1_setup()
1699 pc->para.cause = 96; l3dss1_setup()
1763 u_char cause = 16; l3dss1_disconnect_req() local
1765 if (pc->para.cause != NO_CAUSE) l3dss1_disconnect_req()
1766 cause = pc->para.cause; l3dss1_disconnect_req()
1775 *p++ = cause | 0x80; l3dss1_disconnect_req()
1836 u_char cause = 21; l3dss1_reject_req() local
1838 if (pc->para.cause != NO_CAUSE) l3dss1_reject_req()
1839 cause = pc->para.cause; l3dss1_reject_req()
1846 *p++ = cause | 0x80; l3dss1_reject_req()
1863 int ret, cause = 0; l3dss1_release() local
1870 pc->para.cause = NO_CAUSE; l3dss1_release()
1875 cause = 96; l3dss1_release()
1877 cause = 100; l3dss1_release()
1880 cause = 96; l3dss1_release()
1881 else if ((ERR_IE_UNRECOGNIZED == ret) && (!cause)) l3dss1_release()
1882 cause = 99; l3dss1_release()
1883 if (cause) l3dss1_release()
1884 l3dss1_message_cause(pc, MT_RELEASE_COMPLETE, cause); l3dss1_release()
1958 pc->para.cause = 100; l3dss1_progress()
1977 pc->para.cause = 100; l3dss1_progress()
1983 pc->para.cause = 100; l3dss1_progress()
1988 pc->para.cause = 96; l3dss1_progress()
2015 pc->para.cause = 100; l3dss1_notify()
2023 pc->para.cause = 100; l3dss1_notify()
2029 pc->para.cause = 96; l3dss1_notify()
2054 pc->para.cause = 30; /* response to STATUS_ENQUIRY */ l3dss1_status_enq()
2097 { pc->para.cause = -1; l3dss1_redir_req()
2308 pc->para.cause = 28; /* invalid number */ l3dss1_t302()
2333 pc->para.cause = 102; l3dss1_t304()
2346 u_char cause = 16; l3dss1_t305() local
2349 if (pc->para.cause != NO_CAUSE) l3dss1_t305()
2350 cause = pc->para.cause; l3dss1_t305()
2357 *p++ = cause | 0x80; l3dss1_t305()
2373 pc->para.cause = 102; l3dss1_t310()
2383 pc->para.cause = 102; l3dss1_t313()
2409 pc->para.cause = 102; /* Timer expiry */ l3dss1_t318()
2421 pc->para.cause = 102; /* Timer expiry */ l3dss1_t319()
2441 u_char cause = 0, callState = 0; l3dss1_status() local
2447 cause = 96; l3dss1_status()
2449 cause = 100; l3dss1_status()
2456 cause = 100; l3dss1_status()
2458 cause = 100; l3dss1_status()
2460 cause = 96; l3dss1_status()
2461 if (!cause) { /* no error before */ l3dss1_status()
2464 cause = 96; l3dss1_status()
2466 cause = 99; l3dss1_status()
2468 if (cause) { l3dss1_status()
2472 l3_debug(pc->st, "STATUS error(%d/%d)", ret, cause); l3dss1_status()
2473 tmp = pc->para.cause; l3dss1_status()
2474 pc->para.cause = cause; l3dss1_status()
2476 if (cause == 99) l3dss1_status()
2477 pc->para.cause = tmp; l3dss1_status()
2481 cause = pc->para.cause; l3dss1_status()
2482 if (((cause & 0x7f) == 111) && (callState == 0)) { l3dss1_status()
2484 * if received MT_STATUS with cause == 111 and call l3dss1_status()
2545 pc->para.cause = NO_CAUSE; l3dss1_suspend_ack()
2564 pc->para.cause = 96; l3dss1_suspend_rej()
2566 pc->para.cause = 100; l3dss1_suspend_rej()
2622 pc->para.cause = 100; l3dss1_resume_ack()
2630 pc->para.cause = 96; l3dss1_resume_ack()
2656 pc->para.cause = 96; l3dss1_resume_rej()
2658 pc->para.cause = 100; l3dss1_resume_rej()
2732 pc->para.cause = 0x29; /* Temporary failure */ l3dss1_dl_reset()
2742 pc->para.cause = 0x1b; /* Destination out of order */ l3dss1_dl_release()
2761 pc->para.cause = 0x1F; /* normal, unspecified */ l3dss1_dl_reest_status()
3058 * we must send MT_RELEASE_COMPLETE cause 101 dss1up()
3061 proc->para.cause = 101; dss1up()
3074 * we must send MT_RELEASE_COMPLETE cause 81 */ dss1up()
3077 proc->para.cause = 81; dss1up()
3100 proc->para.cause = 101; dss1up()
H A Dl3ni1.c462 l3ni1_message_cause(struct l3_process *pc, u_char mt, u_char cause) l3ni1_message_cause() argument
473 *p++ = cause | 0x80; l3ni1_message_cause()
495 *p++ = pc->para.cause | 0x80; l3ni1_status_send()
520 switch (pc->para.cause) { l3ni1_msg_without_setup()
530 *p++ = pc->para.cause | 0x80; l3ni1_msg_without_setup()
533 printk(KERN_ERR "HiSax l3ni1_msg_without_setup wrong cause %d\n", l3ni1_msg_without_setup()
534 pc->para.cause); l3ni1_msg_without_setup()
780 pc->para.cause = 97; l3ni1_check_messagetype_validity()
796 pc->para.cause = 96; l3ni1_std_ie_err()
800 pc->para.cause = 99; l3ni1_std_ie_err()
804 pc->para.cause = 100; l3ni1_std_ie_err()
842 pc->para.cause = 31; l3ni1_get_cause()
860 pc->para.cause = *p++; l3ni1_get_cause()
862 if (!(pc->para.cause & 0x80)) l3ni1_get_cause()
923 pc->para.cause = NO_CAUSE; l3ni1_release_cmpl()
1294 pc->para.cause = 100; l3ni1_call_proc()
1303 pc->para.cause = 96; l3ni1_call_proc()
1305 pc->para.cause = 100; l3ni1_call_proc()
1333 pc->para.cause = 100; l3ni1_setup_ack()
1342 pc->para.cause = 96; l3ni1_setup_ack()
1344 pc->para.cause = 100; l3ni1_setup_ack()
1368 u_char cause = 0; l3ni1_disconnect() local
1375 cause = 96; l3ni1_disconnect()
1377 cause = 100; l3ni1_disconnect()
1383 cause = 96; l3ni1_disconnect()
1384 else if ((!cause) && (ERR_IE_UNRECOGNIZED == ret)) l3ni1_disconnect()
1385 cause = 99; l3ni1_disconnect()
1388 if (cause) l3ni1_disconnect()
1392 else if (!cause) l3ni1_disconnect()
1394 if (cause) { l3ni1_disconnect()
1395 l3ni1_message_cause(pc, MT_RELEASE, cause); l3ni1_disconnect()
1509 pc->para.cause = 100; l3ni1_setup()
1517 pc->para.cause = 96; l3ni1_setup()
1530 pc->para.cause = 100; l3ni1_setup()
1544 pc->para.cause = 96; l3ni1_setup()
1546 pc->para.cause = 100; l3ni1_setup()
1553 pc->para.cause = 96; l3ni1_setup()
1617 u_char cause = 16; l3ni1_disconnect_req() local
1619 if (pc->para.cause != NO_CAUSE) l3ni1_disconnect_req()
1620 cause = pc->para.cause; l3ni1_disconnect_req()
1629 *p++ = cause | 0x80; l3ni1_disconnect_req()
1692 u_char cause = 21; l3ni1_reject_req() local
1694 if (pc->para.cause != NO_CAUSE) l3ni1_reject_req()
1695 cause = pc->para.cause; l3ni1_reject_req()
1702 *p++ = cause | 0x80; l3ni1_reject_req()
1719 int ret, cause = 0; l3ni1_release() local
1726 pc->para.cause = NO_CAUSE; l3ni1_release()
1731 cause = 96; l3ni1_release()
1733 cause = 100; l3ni1_release()
1736 cause = 96; l3ni1_release()
1737 else if ((ERR_IE_UNRECOGNIZED == ret) && (!cause)) l3ni1_release()
1738 cause = 99; l3ni1_release()
1739 if (cause) l3ni1_release()
1740 l3ni1_message_cause(pc, MT_RELEASE_COMPLETE, cause); l3ni1_release()
1814 pc->para.cause = 100; l3ni1_progress()
1833 pc->para.cause = 100; l3ni1_progress()
1839 pc->para.cause = 100; l3ni1_progress()
1844 pc->para.cause = 96; l3ni1_progress()
1871 pc->para.cause = 100; l3ni1_notify()
1879 pc->para.cause = 100; l3ni1_notify()
1885 pc->para.cause = 96; l3ni1_notify()
1910 pc->para.cause = 30; /* response to STATUS_ENQUIRY */ l3ni1_status_enq()
1953 { pc->para.cause = -1; l3ni1_redir_req()
2168 pc->para.cause = 28; /* invalid number */ l3ni1_t302()
2193 pc->para.cause = 102; l3ni1_t304()
2206 u_char cause = 16; l3ni1_t305() local
2209 if (pc->para.cause != NO_CAUSE) l3ni1_t305()
2210 cause = pc->para.cause; l3ni1_t305()
2217 *p++ = cause | 0x80; l3ni1_t305()
2233 pc->para.cause = 102; l3ni1_t310()
2243 pc->para.cause = 102; l3ni1_t313()
2269 pc->para.cause = 102; /* Timer expiry */ l3ni1_t318()
2281 pc->para.cause = 102; /* Timer expiry */ l3ni1_t319()
2301 u_char cause = 0, callState = 0; l3ni1_status() local
2307 cause = 96; l3ni1_status()
2309 cause = 100; l3ni1_status()
2316 cause = 100; l3ni1_status()
2318 cause = 100; l3ni1_status()
2320 cause = 96; l3ni1_status()
2321 if (!cause) { /* no error before */ l3ni1_status()
2324 cause = 96; l3ni1_status()
2326 cause = 99; l3ni1_status()
2328 if (cause) { l3ni1_status()
2332 l3_debug(pc->st, "STATUS error(%d/%d)", ret, cause); l3ni1_status()
2333 tmp = pc->para.cause; l3ni1_status()
2334 pc->para.cause = cause; l3ni1_status()
2336 if (cause == 99) l3ni1_status()
2337 pc->para.cause = tmp; l3ni1_status()
2341 cause = pc->para.cause; l3ni1_status()
2342 if (((cause & 0x7f) == 111) && (callState == 0)) { l3ni1_status()
2344 * if received MT_STATUS with cause == 111 and call l3ni1_status()
2405 pc->para.cause = NO_CAUSE; l3ni1_suspend_ack()
2424 pc->para.cause = 96; l3ni1_suspend_rej()
2426 pc->para.cause = 100; l3ni1_suspend_rej()
2482 pc->para.cause = 100; l3ni1_resume_ack()
2490 pc->para.cause = 96; l3ni1_resume_ack()
2516 pc->para.cause = 96; l3ni1_resume_rej()
2518 pc->para.cause = 100; l3ni1_resume_rej()
2593 pc->para.cause = 0x29; /* Temporary failure */ l3ni1_dl_reset()
2603 pc->para.cause = 0x1b; /* Destination out of order */ l3ni1_dl_release()
2622 pc->para.cause = 0x1F; /* normal, unspecified */ l3ni1_dl_reest_status()
3014 * we must send MT_RELEASE_COMPLETE cause 101 ni1up()
3017 proc->para.cause = 101; ni1up()
3030 * we must send MT_RELEASE_COMPLETE cause 81 */ ni1up()
3033 proc->para.cause = 81; ni1up()
3056 proc->para.cause = 101; ni1up()
H A Dq931.c14 * Beat Doebeli cause texts, display information element
15 * Karsten Keil cause texts, display information element for 1TR6
449 int i, cause; prcause() local
460 cause = 0x7f & *p++; prcause()
462 /* locate cause value */ prcause()
464 if (cvlist[i].nr == cause) prcause()
467 /* display cause value if it exists */ prcause()
469 dp += sprintf(dp, "Unknown cause type %x!\n", cause); prcause()
471 dp += sprintf(dp, " cause value %x : %s \n", cause, cvlist[i].edescr); prcause()
525 int i, cause; prcause_1tr6() local
529 dp += sprintf(dp, " OK (cause length=0)\n"); prcause_1tr6()
539 cause = 0x7f & *p; prcause_1tr6()
541 /* locate cause value */ prcause_1tr6()
543 if (cause_1tr6[i].nr == cause) prcause_1tr6()
546 /* display cause value if it exists */ prcause_1tr6()
548 dp += sprintf(dp, "Unknown cause type %x!\n", cause); prcause_1tr6()
550 dp += sprintf(dp, " cause value %x : %s \n", cause, cause_1tr6[i].descr); prcause_1tr6()
/linux-4.1.27/arch/mips/bcm63xx/
H A Dirq.c164 u32 cause; plat_irq_dispatch() local
167 cause = read_c0_cause() & read_c0_status() & ST0_IM; plat_irq_dispatch()
169 if (!cause) plat_irq_dispatch()
172 if (cause & CAUSEF_IP7) plat_irq_dispatch()
174 if (cause & CAUSEF_IP0) plat_irq_dispatch()
176 if (cause & CAUSEF_IP1) plat_irq_dispatch()
178 if (cause & CAUSEF_IP2) plat_irq_dispatch()
181 if (cause & CAUSEF_IP3) plat_irq_dispatch()
184 if (cause & CAUSEF_IP3) plat_irq_dispatch()
186 if (cause & CAUSEF_IP4) plat_irq_dispatch()
188 if (cause & CAUSEF_IP5) plat_irq_dispatch()
190 if (cause & CAUSEF_IP6) plat_irq_dispatch()
/linux-4.1.27/arch/x86/math-emu/
H A Dreg_norm.S43 subw $32,EXP(%ebx) /* This can cause an underflow */
52 subw %cx,EXP(%ebx) /* This can cause an underflow */
120 subw $32,EXP(%ebx) /* This can cause an underflow */
129 subw %cx,EXP(%ebx) /* This can cause an underflow */
H A Dreg_u_mul.S97 /* Two denormals can cause an exponent underflow */
H A Dreg_u_div.S97 /* A denormal and a large number can cause an exponent underflow */
205 /* The dividend is greater or equal, would cause overflow */
281 /* The numerator is greater or equal, would cause overflow */
/linux-4.1.27/arch/unicore32/include/asm/
H A Dcache.h21 * unrelated code may cause parts of the buffer to be read into the
H A Dmmu_context.h65 * during process exit or the unmapping of it would cause total havoc.
/linux-4.1.27/arch/mips/include/asm/mach-ath79/
H A Dkernel-entry-init.h17 * and this cause performance issues. Let's go and change it to
/linux-4.1.27/arch/powerpc/boot/
H A Dmpsc.c74 u32 cause = 0; mpsc_getc() local
77 while (!(cause & MPSC_INTR_CAUSE_RCC)) mpsc_getc()
78 cause = in_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE)); mpsc_getc()
83 cause & ~MPSC_INTR_CAUSE_RCC); mpsc_getc()
/linux-4.1.27/arch/avr32/lib/
H A Dio-readsw.S11 * Bad alignment will cause a hardware exception, which is as
/linux-4.1.27/arch/arm/include/asm/
H A Dcache.h13 * unrelated code may cause parts of the buffer to be read into the
H A Dcompiler.h9 * will cause compilation to stop on mismatch.
H A Dcti.h43 * @trig_out_for_irq: triger out number which will cause
59 * @trig_out: triger out number which will cause
H A Dpgtable-2level.h55 * means that a write to a clean page will cause a permission fault, and
62 * page will cause a fault, and handle_pte_fault() will set the young bit
/linux-4.1.27/arch/arm/mach-dove/
H A Dirq.c74 unsigned long cause = readl(PMU_INTERRUPT_CAUSE); pmu_irq_handler() local
76 cause &= readl(PMU_INTERRUPT_MASK); pmu_irq_handler()
77 if (cause == 0) { pmu_irq_handler()
83 if (!(cause & (1 << irq))) pmu_irq_handler()
/linux-4.1.27/arch/arm/mach-footbridge/include/mach/
H A Duncompress.h13 * Note! This could cause problems on the NetWinder
/linux-4.1.27/security/integrity/ima/
H A Dima_appraise.c191 char *cause = "unknown"; ima_appraise_measurement() local
204 cause = "missing-hash"; ima_appraise_measurement()
217 cause = "missing-HMAC"; ima_appraise_measurement()
219 cause = "invalid-HMAC"; ima_appraise_measurement()
228 cause = "IMA-signature-required"; ima_appraise_measurement()
243 cause = "invalid-hash"; ima_appraise_measurement()
258 cause = "invalid-signature"; ima_appraise_measurement()
266 cause = "unknown-ima-data"; ima_appraise_measurement()
279 op, cause, rc, 0); ima_appraise_measurement()
H A Dima_fs.c327 const char *cause = valid_policy ? "completed" : "failed"; ima_release_policy() local
329 pr_info("IMA: policy update %s\n", cause); ima_release_policy()
331 "policy_update", cause, !valid_policy, 0); ima_release_policy()
H A Dima_api.c132 const char *op, const char *cause) ima_add_violation()
153 op, cause, result, 0); ima_add_violation()
131 ima_add_violation(struct file *file, const unsigned char *filename, const char *op, const char *cause) ima_add_violation() argument
/linux-4.1.27/drivers/edac/
H A Dmv64x60_edac.c34 u32 cause; mv64x60_pci_check() local
36 cause = in_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE); mv64x60_pci_check()
37 if (!cause) mv64x60_pci_check()
41 printk(KERN_ERR "Cause register: 0x%08x\n", cause); mv64x60_pci_check()
50 out_le32(pdata->pci_vbase + MV64X60_PCI_ERROR_CAUSE, ~cause); mv64x60_pci_check()
52 if (cause & MV64X60_PCI_PE_MASK) mv64x60_pci_check()
55 if (!(cause & MV64X60_PCI_PE_MASK)) mv64x60_pci_check()
236 u32 cause; mv64x60_sram_check() local
238 cause = in_le32(pdata->sram_vbase + MV64X60_SRAM_ERR_CAUSE); mv64x60_sram_check()
239 if (!cause) mv64x60_sram_check()
243 printk(KERN_ERR "Cause register: 0x%08x\n", cause); mv64x60_sram_check()
263 u32 cause; mv64x60_sram_isr() local
265 cause = in_le32(pdata->sram_vbase + MV64X60_SRAM_ERR_CAUSE); mv64x60_sram_isr()
266 if (!cause) mv64x60_sram_isr()
402 u32 cause; mv64x60_cpu_check() local
404 cause = in_le32(pdata->cpu_vbase[1] + MV64x60_CPU_ERR_CAUSE) & mv64x60_cpu_check()
406 if (!cause) mv64x60_cpu_check()
410 printk(KERN_ERR "Cause register: 0x%08x\n", cause); mv64x60_cpu_check()
430 u32 cause; mv64x60_cpu_isr() local
432 cause = in_le32(pdata->cpu_vbase[1] + MV64x60_CPU_ERR_CAUSE) & mv64x60_cpu_isr()
434 if (!cause) mv64x60_cpu_isr()
/linux-4.1.27/drivers/misc/mei/
H A Dhw-txe.h27 /* Flatten Hierarchy interrupt cause */
45 * @intr_cause: translated interrupt cause
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb/
H A Dsubr.c196 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); fpga_phy_intr_handler() local
199 if (cause & (1 << p)) { for_each_port()
206 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);
215 u32 cause = readl(adapter->regs + A_PL_CAUSE); fpga_slow_intr() local
217 cause &= ~F_PL_INTR_SGE_DATA; fpga_slow_intr()
218 if (cause & F_PL_INTR_SGE_ERR) fpga_slow_intr()
221 if (cause & FPGA_PCIX_INTERRUPT_GMAC) fpga_slow_intr()
224 if (cause & FPGA_PCIX_INTERRUPT_TP) { fpga_slow_intr()
234 if (cause & FPGA_PCIX_INTERRUPT_PCIX) fpga_slow_intr()
238 if (cause) fpga_slow_intr()
239 writel(cause, adapter->regs + A_PL_CAUSE); fpga_slow_intr()
241 return cause != 0; fpga_slow_intr()
671 u32 cause; t1_elmer0_ext_intr_handler() local
673 t1_tpi_read(adapter, A_ELMER0_INT_CAUSE, &cause); t1_elmer0_ext_intr_handler()
684 if (!(cause & (1 << port_bit))) for_each_port()
695 if (cause & ELMER0_GP_BIT1) { /* Marvell 88E1111 interrupt */
705 * Elmer0's interrupt cause isn't useful here because there is
722 if (cause & ELMER0_GP_BIT6) { /* Marvell 88x2010 interrupt */
733 "External interrupt cause 0x%x\n", cause);
734 if (cause & ELMER0_GP_BIT1) { /* PMC3393 INTB */
739 if (cause & ELMER0_GP_BIT5) { /* XPAK MOD_DETECT */
750 t1_tpi_write(adapter, A_ELMER0_INT_CAUSE, cause);
847 u32 cause = readl(adapter->regs + A_PL_CAUSE); asic_slow_intr() local
849 cause &= adapter->slow_intr_mask; asic_slow_intr()
850 if (!cause) asic_slow_intr()
852 if (cause & F_PL_INTR_SGE_ERR) asic_slow_intr()
854 if (cause & F_PL_INTR_TP) asic_slow_intr()
856 if (cause & F_PL_INTR_ESPI) asic_slow_intr()
858 if (cause & F_PL_INTR_PCIX) asic_slow_intr()
860 if (cause & F_PL_INTR_EXT) asic_slow_intr()
864 writel(cause, adapter->regs + A_PL_CAUSE); asic_slow_intr()
H A Dmv88e1xxx.c299 * Loop until cause reads zero. Need to handle bouncing interrupts. mv88e1xxx_interrupt_handler()
302 u32 cause; mv88e1xxx_interrupt_handler() local
306 &cause); mv88e1xxx_interrupt_handler()
307 cause &= INTR_ENABLE_MASK; mv88e1xxx_interrupt_handler()
308 if (!cause) mv88e1xxx_interrupt_handler()
311 if (cause & MV88E1XXX_INTR_LINK_CHNG) { mv88e1xxx_interrupt_handler()
325 if (cause & MV88E1XXX_INTR_AUTONEG_DONE) mv88e1xxx_interrupt_handler()
H A Dtp.c126 u32 cause; t1_tp_intr_handler() local
134 cause = readl(tp->adapter->regs + A_TP_INT_CAUSE); t1_tp_intr_handler()
135 writel(cause, tp->adapter->regs + A_TP_INT_CAUSE); t1_tp_intr_handler()
/linux-4.1.27/arch/nios2/mm/
H A Dfault.c42 asmlinkage void do_page_fault(struct pt_regs *regs, unsigned long cause, do_page_fault() argument
52 cause >>= 2; do_page_fault()
109 switch (cause) { do_page_fault()
186 /* User mode accesses just cause a SIGSEGV */ do_page_fault()
190 "cause %ld\n", current->comm, SIGSEGV, address, cause); do_page_fault()
211 pr_alert("ea = %08lx, ra = %08lx, cause = %ld\n", regs->ea, regs->ra, do_page_fault()
212 cause); do_page_fault()
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Dbug.h9 * It will cause a message with the file name and line number to be printed,
10 * and then cause an oops. The message is actually printed by handle_BUG()
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/
H A Dmc5.c370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); t3_mc5_intr_handler() local
372 if ((cause & F_PARITYERR) && mc5->parity_enabled) { t3_mc5_intr_handler()
377 if (cause & F_REQQPARERR) { t3_mc5_intr_handler()
382 if (cause & F_DISPQPARERR) { t3_mc5_intr_handler()
387 if (cause & F_ACTRGNFULL) t3_mc5_intr_handler()
389 if (cause & F_NFASRCHFAIL) t3_mc5_intr_handler()
391 if (cause & F_UNKNOWNCMD) t3_mc5_intr_handler()
393 if (cause & F_DELACTEMPTY) t3_mc5_intr_handler()
395 if (cause & MC5_INT_FATAL) t3_mc5_intr_handler()
398 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); t3_mc5_intr_handler()
H A Dvsc8211.c324 unsigned int cause; vsc8211_intr_handler() local
327 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &cause); vsc8211_intr_handler()
331 cause &= INTR_MASK; vsc8211_intr_handler()
332 if (cause & CFG_CHG_INTR_MASK) vsc8211_intr_handler()
334 if (cause & (VSC_INTR_RX_FIFO | VSC_INTR_TX_FIFO)) vsc8211_intr_handler()
H A Dt3_hw.c1760 u32 cause = t3_read_reg(adapter, mc7->offset + A_MC7_INT_CAUSE); mc7_intr_handler() local
1762 if (cause & F_CE) { mc7_intr_handler()
1772 if (cause & F_UE) { mc7_intr_handler()
1782 if (G_PE(cause)) { mc7_intr_handler()
1785 mc7->name, G_PE(cause)); mc7_intr_handler()
1788 if (cause & F_AE) { mc7_intr_handler()
1799 if (cause & MC7_INTR_FATAL) mc7_intr_handler()
1802 t3_write_reg(adapter, mc7->offset + A_MC7_INT_CAUSE, cause); mc7_intr_handler()
1819 u32 cause = t3_read_reg(adap, A_XGM_INT_CAUSE + mac->offset) & mac_intr_handler() local
1822 if (cause & V_TXFIFO_PRTY_ERR(M_TXFIFO_PRTY_ERR)) { mac_intr_handler()
1826 if (cause & V_RXFIFO_PRTY_ERR(M_RXFIFO_PRTY_ERR)) { mac_intr_handler()
1830 if (cause & F_TXFIFO_UNDERRUN) mac_intr_handler()
1832 if (cause & F_RXFIFO_OVERFLOW) mac_intr_handler()
1834 if (cause & V_SERDES_LOS(M_SERDES_LOS)) mac_intr_handler()
1836 if (cause & F_XAUIPCSCTCERR) mac_intr_handler()
1838 if (cause & F_XAUIPCSALIGNCHANGE) mac_intr_handler()
1840 if (cause & F_XGM_INT) { mac_intr_handler()
1849 if (cause & XGM_INTR_FATAL) mac_intr_handler()
1852 t3_write_reg(adap, A_XGM_INT_CAUSE + mac->offset, cause); mac_intr_handler()
1853 return cause != 0; mac_intr_handler()
1861 u32 i, cause = t3_read_reg(adapter, A_T3DBG_INT_CAUSE); t3_phy_intr_handler() local
1869 if (cause & (1 << adapter_info(adapter)->gpio_intr[i])) { for_each_port()
1881 t3_write_reg(adapter, A_T3DBG_INT_CAUSE, cause);
1890 u32 cause = t3_read_reg(adapter, A_PL_INT_CAUSE0); t3_slow_intr_handler() local
1892 cause &= adapter->slow_intr_mask; t3_slow_intr_handler()
1893 if (!cause) t3_slow_intr_handler()
1895 if (cause & F_PCIM0) { t3_slow_intr_handler()
1901 if (cause & F_SGE3) t3_slow_intr_handler()
1903 if (cause & F_MC7_PMRX) t3_slow_intr_handler()
1905 if (cause & F_MC7_PMTX) t3_slow_intr_handler()
1907 if (cause & F_MC7_CM) t3_slow_intr_handler()
1909 if (cause & F_CIM) t3_slow_intr_handler()
1911 if (cause & F_TP1) t3_slow_intr_handler()
1913 if (cause & F_ULP2_RX) t3_slow_intr_handler()
1915 if (cause & F_ULP2_TX) t3_slow_intr_handler()
1917 if (cause & F_PM1_RX) t3_slow_intr_handler()
1919 if (cause & F_PM1_TX) t3_slow_intr_handler()
1921 if (cause & F_CPL_SWITCH) t3_slow_intr_handler()
1923 if (cause & F_MPS0) t3_slow_intr_handler()
1925 if (cause & F_MC5A) t3_slow_intr_handler()
1927 if (cause & F_XGMAC0_0) t3_slow_intr_handler()
1929 if (cause & F_XGMAC0_1) t3_slow_intr_handler()
1931 if (cause & F_T3DBG) t3_slow_intr_handler()
1935 t3_write_reg(adapter, A_PL_INT_CAUSE0, cause); t3_slow_intr_handler()
H A Dael1002.c457 int ret, edc_needed, cause = 0; ael2005_intr_handler() local
487 cause = cphy_cause_module_change; ael2005_intr_handler()
494 ret |= cause; ael2005_intr_handler()
768 int ret, edc_needed, cause = 0; ael2020_intr_handler() local
793 cause = cphy_cause_module_change; ael2020_intr_handler()
800 ret |= cause; ael2020_intr_handler()
H A Daq100x.c108 unsigned int cause, v; aq100x_intr_handler() local
110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause); aq100x_intr_handler()
/linux-4.1.27/arch/xtensa/kernel/
H A Dtraps.c84 int cause; member in struct:__anon3224
323 void * __init trap_set_handler(int cause, void *handler) trap_set_handler() argument
326 EXC_TABLE_DEFAULT / 4 + cause]; trap_set_handler()
327 set_handler(EXC_TABLE_DEFAULT / 4 + cause, handler); trap_set_handler()
365 for(i = 0; dispatch_init_table[i].cause >= 0; i++) { trap_init()
368 int cause = dispatch_init_table[i].cause; trap_init() local
372 set_handler (EXC_TABLE_DEFAULT/4 + cause, handler); trap_init()
374 set_handler (EXC_TABLE_FAST_USER/4 + cause, handler); trap_init()
376 set_handler (EXC_TABLE_FAST_KERNEL/4 + cause, handler); trap_init()
/linux-4.1.27/fs/xfs/
H A Dxfs_sysctl.h37 xfs_sysctl_val_t panic_mask; /* bitmask to cause panic on errors. */
61 * 1 Report EFSCORRUPTED errors that will cause a filesystem shutdown
63 * additional errors that are known to not cause shutdowns)
/linux-4.1.27/arch/mips/sni/
H A Da20r.c204 u32 cause, status; a20r_hwint() local
209 cause = read_c0_cause(); a20r_hwint()
211 irq = ffs(((cause & status) >> 8) & 0xf8); a20r_hwint()
/linux-4.1.27/arch/mips/fw/arc/
H A Dpromlib.c16 * kernel, this shouldn't cause any harm regardless what MIPS processor you
/linux-4.1.27/arch/mips/include/asm/
H A Dkvm_host.h623 uint32_t cause);
625 uint32_t cause);
673 extern enum emulation_result kvm_mips_handle_tlbmiss(unsigned long cause,
678 extern enum emulation_result kvm_mips_handle_tlbmod(unsigned long cause,
703 enum emulation_result update_pc(struct kvm_vcpu *vcpu, uint32_t cause);
705 extern enum emulation_result kvm_mips_emulate_inst(unsigned long cause,
710 extern enum emulation_result kvm_mips_emulate_syscall(unsigned long cause,
715 extern enum emulation_result kvm_mips_emulate_tlbmiss_ld(unsigned long cause,
720 extern enum emulation_result kvm_mips_emulate_tlbinv_ld(unsigned long cause,
725 extern enum emulation_result kvm_mips_emulate_tlbmiss_st(unsigned long cause,
730 extern enum emulation_result kvm_mips_emulate_tlbinv_st(unsigned long cause,
735 extern enum emulation_result kvm_mips_emulate_tlbmod(unsigned long cause,
740 extern enum emulation_result kvm_mips_emulate_fpu_exc(unsigned long cause,
745 extern enum emulation_result kvm_mips_handle_ri(unsigned long cause,
750 extern enum emulation_result kvm_mips_emulate_ri_exc(unsigned long cause,
755 extern enum emulation_result kvm_mips_emulate_bp_exc(unsigned long cause,
760 extern enum emulation_result kvm_mips_emulate_trap_exc(unsigned long cause,
765 extern enum emulation_result kvm_mips_emulate_msafpe_exc(unsigned long cause,
770 extern enum emulation_result kvm_mips_emulate_fpe_exc(unsigned long cause,
775 extern enum emulation_result kvm_mips_emulate_msadis_exc(unsigned long cause,
794 enum emulation_result kvm_mips_check_privilege(unsigned long cause,
801 uint32_t cause,
806 uint32_t cause,
810 uint32_t cause,
814 uint32_t cause,
/linux-4.1.27/include/linux/platform_data/
H A Domap-wd-timer.h28 * @read_reset_sources - fn ptr for the SoC to indicate the last reset cause
/linux-4.1.27/arch/mips/oprofile/
H A Dop_model_loongson3.c137 uint32_t cause, handled = IRQ_NONE; loongson3_perfcount_handler() local
140 cause = read_c0_cause(); loongson3_perfcount_handler()
141 if (!(cause & CAUSEF_PCI)) loongson3_perfcount_handler()
165 if (!(cause & CAUSEF_TI)) loongson3_perfcount_handler()
/linux-4.1.27/arch/parisc/include/asm/
H A Dprefetch.h9 * to gr0 but not in a way that Linux can use. If the load would cause an
/linux-4.1.27/arch/avr32/include/asm/
H A Dcache.h10 * unrelated code may cause parts of the buffer to be read into the
/linux-4.1.27/arch/arm/mach-bcm/
H A Dbcm_5301x.c35 /* Others should cause a fault */ bcm5301x_abort_handler()
/linux-4.1.27/arch/arc/include/asm/
H A Dkprobes.h51 int kprobe_fault_handler(struct pt_regs *regs, unsigned long cause);
/linux-4.1.27/arch/arm/plat-orion/
H A Dgpio.c337 * Level IRQ handlers: DATA_IN is used directly as cause register.
347 * cause register.
349 * EDGE cause mask
351 * -----| |----- ---- to main cause reg
413 u32 cause, type; gpio_irq_handler() local
419 cause = readl(GPIO_DATA_IN(ochip)) & readl(GPIO_LEVEL_MASK(ochip)); gpio_irq_handler()
420 cause |= readl(GPIO_EDGE_CAUSE(ochip)) & readl(GPIO_EDGE_MASK(ochip)); gpio_irq_handler()
427 if (!(cause & (1 << i))) gpio_irq_handler()
450 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; orion_gpio_dbg_show() local
458 cause = readl_relaxed(GPIO_EDGE_CAUSE(ochip)); orion_gpio_dbg_show()
494 seq_printf(s, " (%s)\n", cause & msk ? "pending" : "clear "); orion_gpio_dbg_show()
/linux-4.1.27/arch/mips/lasat/
H A Dinterrupt.c87 unsigned int cause = read_c0_cause(); plat_irq_dispatch() local
90 if (cause & CAUSEF_IP7) { /* R4000 count / compare IRQ */ plat_irq_dispatch()
/linux-4.1.27/arch/m68k/mm/
H A Dhwtest.c8 * that isn't present would cause a bus error. We set up a
21 * error would cause another bus error while fetching the exception
/linux-4.1.27/arch/mn10300/include/asm/
H A Dserial-regs.h70 #define SC01ICR_TD 0x20 /* transmit DMA trigger cause */
71 #define SC01ICR_TI 0x10 /* transmit interrupt cause */
73 #define SC01ICR_RI 0x01 /* receive interrupt cause */
151 #define SC2ICR_TD 0x20 /* transmit DMA trigger cause */
152 #define SC2ICR_TI 0x10 /* transmit interrupt cause */
154 #define SC2ICR_RI 0x01 /* receive interrupt cause */
H A Dcpu-regs.h74 #define FPCR_EC_I 0x00000400 /* inexact result FPU exception cause */
75 #define FPCR_EC_U 0x00000800 /* underflow FPU exception cause */
76 #define FPCR_EC_O 0x00001000 /* overflow FPU exception cause */
77 #define FPCR_EC_Z 0x00002000 /* zero divide FPU exception cause */
78 #define FPCR_EC_V 0x00004000 /* invalid operand FPU exception cause */
289 #define MMUFCR __SYSREGC(0xc000009c, u32) /* MMU exception cause */
290 #define MMUFCR_IFC __SYSREGC(0xc000009c, u16) /* MMU instruction excep cause */
291 #define MMUFCR_DFC __SYSREGC(0xc000009e, u16) /* MMU data exception cause */
H A Dirqflags.h63 * we make sure arch_irq_enable() doesn't cause priority inversion
/linux-4.1.27/arch/alpha/mm/
H A Dfault.c68 * cause:
85 long cause, struct pt_regs *regs) do_page_fault()
97 if (cause == 0) { do_page_fault()
135 if (cause < 0) { do_page_fault()
138 } else if (!cause) { do_page_fault()
208 die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16); do_page_fault()
84 do_page_fault(unsigned long address, unsigned long mmcsr, long cause, struct pt_regs *regs) do_page_fault() argument
/linux-4.1.27/drivers/gpio/
H A Dgpio-mvebu.c30 * the normal cause/edge mask/level mask registers when the global
31 * interrupts are used, but adds per-CPU cause/edge mask/level mask
65 /* The Armada XP has per-CPU registers for interrupt cause, interrupt
381 * Level IRQ handlers: DATA_IN is used directly as cause register.
391 * cause register.
393 * EDGE cause mask
395 * -----| |----- ---- to main cause reg
465 u32 cause, type; mvebu_gpio_irq_handler() local
473 cause = readl_relaxed(mvebu_gpioreg_data_in(mvchip)) & mvebu_gpio_irq_handler()
475 cause |= readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)) & mvebu_gpio_irq_handler()
483 if (!(cause & (1 << i))) mvebu_gpio_irq_handler()
509 u32 out, io_conf, blink, in_pol, data_in, cause, edg_msk, lvl_msk; mvebu_gpio_dbg_show() local
517 cause = readl_relaxed(mvebu_gpioreg_edge_cause(mvchip)); mvebu_gpio_dbg_show()
553 seq_printf(s, " (%s)\n", cause & msk ? "pending" : "clear "); mvebu_gpio_dbg_show()
/linux-4.1.27/arch/blackfin/include/asm/
H A Ddef_LPBlackfin.h157 #define SEQSTAT_EXCAUSE0_P 0x00000000 /* Last exception cause bit 0 */
158 #define SEQSTAT_EXCAUSE1_P 0x00000001 /* Last exception cause bit 1 */
159 #define SEQSTAT_EXCAUSE2_P 0x00000002 /* Last exception cause bit 2 */
160 #define SEQSTAT_EXCAUSE3_P 0x00000003 /* Last exception cause bit 3 */
161 #define SEQSTAT_EXCAUSE4_P 0x00000004 /* Last exception cause bit 4 */
162 #define SEQSTAT_EXCAUSE5_P 0x00000005 /* Last exception cause bit 5 */
170 #define SEQSTAT_HWERRCAUSE0_P 0x0000000E /* Last hw error cause bit 0 */
171 #define SEQSTAT_HWERRCAUSE1_P 0x0000000F /* Last hw error cause bit 1 */
172 #define SEQSTAT_HWERRCAUSE2_P 0x00000010 /* Last hw error cause bit 2 */
173 #define SEQSTAT_HWERRCAUSE3_P 0x00000011 /* Last hw error cause bit 3 */
174 #define SEQSTAT_HWERRCAUSE4_P 0x00000012 /* Last hw error cause bit 4 */
176 /* Exception cause */
188 /* Last hw error cause */
198 /* Last hw error cause */
H A Dpda.h33 * the exception cause to ensure we don't miss a
/linux-4.1.27/arch/mips/mti-malta/
H A Dmalta-int.c453 unsigned long cause, ocause; malta_be_handler() local
456 cause = cm_error & CM_GCR_ERROR_CAUSE_ERRTYPE_MSK; malta_be_handler()
457 if (cause != 0) { malta_be_handler()
458 cause >>= CM_GCR_ERROR_CAUSE_ERRTYPE_SHF; malta_be_handler()
459 if (cause < 16) { malta_be_handler()
493 causes[cause], buf); malta_be_handler()
497 /* reprime cause register */ malta_be_handler()
/linux-4.1.27/arch/sparc/kernel/
H A Dpci_psycho.c87 * interrogate the IOMMU state to see if it is the cause.
118 #define PSYCHO_UEAFSR_PPIO 0x8000000000000000UL /* Primary PIO is cause */
119 #define PSYCHO_UEAFSR_PDRD 0x4000000000000000UL /* Primary DVMA read is cause */
120 #define PSYCHO_UEAFSR_PDWR 0x2000000000000000UL /* Primary DVMA write is cause */
121 #define PSYCHO_UEAFSR_SPIO 0x1000000000000000UL /* Secondary PIO is cause */
122 #define PSYCHO_UEAFSR_SDRD 0x0800000000000000UL /* Secondary DVMA read is cause */
123 #define PSYCHO_UEAFSR_SDWR 0x0400000000000000UL /* Secondary DVMA write is cause*/
196 #define PSYCHO_CEAFSR_PPIO 0x8000000000000000UL /* Primary PIO is cause */
197 #define PSYCHO_CEAFSR_PDRD 0x4000000000000000UL /* Primary DVMA read is cause */
198 #define PSYCHO_CEAFSR_PDWR 0x2000000000000000UL /* Primary DVMA write is cause */
199 #define PSYCHO_CEAFSR_SPIO 0x1000000000000000UL /* Secondary PIO is cause */
200 #define PSYCHO_CEAFSR_SDRD 0x0800000000000000UL /* Secondary DVMA read is cause */
201 #define PSYCHO_CEAFSR_SDWR 0x0400000000000000UL /* Secondary DVMA write is cause*/
H A Dsbus.c258 #define SYSIO_UEAFSR_PPIO 0x8000000000000000UL /* Primary PIO cause */
259 #define SYSIO_UEAFSR_PDRD 0x4000000000000000UL /* Primary DVMA read cause */
260 #define SYSIO_UEAFSR_PDWR 0x2000000000000000UL /* Primary DVMA write cause */
261 #define SYSIO_UEAFSR_SPIO 0x1000000000000000UL /* Secondary PIO is cause */
262 #define SYSIO_UEAFSR_SDRD 0x0800000000000000UL /* Secondary DVMA read cause */
263 #define SYSIO_UEAFSR_SDWR 0x0400000000000000UL /* Secondary DVMA write cause*/
331 #define SYSIO_CEAFSR_PPIO 0x8000000000000000UL /* Primary PIO cause */
332 #define SYSIO_CEAFSR_PDRD 0x4000000000000000UL /* Primary DVMA read cause */
333 #define SYSIO_CEAFSR_PDWR 0x2000000000000000UL /* Primary DVMA write cause */
334 #define SYSIO_CEAFSR_SPIO 0x1000000000000000UL /* Secondary PIO cause */
335 #define SYSIO_CEAFSR_SDRD 0x0800000000000000UL /* Secondary DVMA read cause */
336 #define SYSIO_CEAFSR_SDWR 0x0400000000000000UL /* Secondary DVMA write cause*/
/linux-4.1.27/sound/soc/kirkwood/
H A Dkirkwood-dma.c48 unsigned long mask, status, cause; kirkwood_dma_irq() local
53 cause = readl(priv->io + KIRKWOOD_ERR_CAUSE); kirkwood_dma_irq()
54 if (unlikely(cause)) { kirkwood_dma_irq()
56 __func__, cause); kirkwood_dma_irq()
57 writel(cause, priv->io + KIRKWOOD_ERR_CAUSE); kirkwood_dma_irq()
/linux-4.1.27/drivers/net/wireless/libertas/
H A Dif_cs.c203 * needs to be set almost in union with "host int cause". The following
215 * With the host int cause register can the host (that is, Linux) cause
264 * we handle this via the card int cause register.
270 * The card int cause register is used by the card/firmware to notify us
512 u16 cause; if_cs_interrupt() local
516 /* Ask card interrupt cause register if there is something for us */ if_cs_interrupt()
517 cause = if_cs_read16(card, IF_CS_CARD_INT_CAUSE); if_cs_interrupt()
518 lbs_deb_cs("cause 0x%04x\n", cause); if_cs_interrupt()
520 if (cause == 0) { if_cs_interrupt()
525 if (cause == 0xffff) { if_cs_interrupt()
531 if (cause & IF_CS_BIT_RX) { if_cs_interrupt()
539 if (cause & IF_CS_BIT_TX) { if_cs_interrupt()
544 if (cause & IF_CS_BIT_RESP) { if_cs_interrupt()
562 if (cause & IF_CS_BIT_EVENT) { if_cs_interrupt()
569 /* Clear interrupt cause */ if_cs_interrupt()
570 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, cause & IF_CS_BIT_MASK); if_cs_interrupt()
768 * Clear any interrupt cause that happened while sending if_cs_prog_firmware()
H A Dif_sdio.c1079 * is because mmc_remove_host() will cause the device to be instantly if_sdio_reset_card_worker()
1144 u8 cause; if_sdio_interrupt() local
1150 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); if_sdio_interrupt()
1151 if (ret || !cause) if_sdio_interrupt()
1154 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); if_sdio_interrupt()
1156 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); if_sdio_interrupt()
1165 if (cause & IF_SDIO_H_INT_DNLD) if_sdio_interrupt()
1169 if (cause & IF_SDIO_H_INT_UPLD) { if_sdio_interrupt()
H A Dif_spi.h68 #define IF_SPI_CARD_INT_CAUSE_REG 0x44 /* Card interrupt cause reg */
75 #define IF_SPI_HOST_INT_CAUSE_REG 0x58 /* Host interrupt cause reg */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h180 * Returns Zero on success, non-zero error code on failure (will cause
197 * Returns Zero on success, non-zero error code on failure (will cause
214 * Returns Zero on success, non-zero error code on failure (will cause
231 * Returns Zero on success, non-zero error code on failure (will cause
248 * Returns Zero on success, non-zero error code on failure (will cause
264 * Returns Zero on success, non-zero error code on failure (will cause
/linux-4.1.27/arch/sh/kernel/
H A Dtraps.c65 * - userspace errors just cause EFAULT to be returned, resulting in SEGV
66 * - kernel/userspace interfaces cause a jump to an appropriate handler
/linux-4.1.27/arch/m68k/fpsp040/
H A Dsacos.S92 fbgt t_operr |cause an operr exception
104 fadds #0x00800000,%fp0 |cause an inexact exception to be put
H A Dsasin.S90 fbgt t_operr |cause an operr exception
H A Dscosh.S34 | However, invoking exp(|X|) may cause premature overflow.
H A Dssinh.S34 | However, invoking exp(|X|) may cause premature overflow.
/linux-4.1.27/arch/arm/mach-omap2/
H A Dclockdomains2430_data.c127 * could cause trouble
141 * could cause trouble
H A Dsdrc.c151 * can cause random memory corruption omap2_sdrc_init()
/linux-4.1.27/drivers/isdn/pcbit/
H A Dedss1.h77 unsigned short cause; member in union:callb_data::__anon5335
H A Dcapi.h56 extern int capi_disc_req(ushort callref, struct sk_buff **skb, u_char cause);
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dworkarounds.h23 /* Bit-bashed I2C reads cause performance drop */
/linux-4.1.27/drivers/pci/
H A Dirq.c58 pci_note_irq_problem(pdev, "unknown cause (not MSI or ACPI)"); pci_lost_interrupt()
/linux-4.1.27/drivers/firmware/efi/libstub/
H A DMakefile4 # things like ftrace and stack-protector are likely to cause trouble if left
/linux-4.1.27/arch/x86/include/asm/trace/
H A Dirq_vectors.h76 * itself can cause irq_work, which would lead to an infinite loop;
/linux-4.1.27/drivers/watchdog/
H A Dpnx833x_wdt.c238 int ret, cause; watchdog_init() local
241 cause = PNX833X_REG(PNX833X_RESET); watchdog_init()
242 /*If bit 31 is set then watchdog was cause of reset.*/ watchdog_init()
243 if (cause & 0x80000000) { watchdog_init()
/linux-4.1.27/fs/jffs2/
H A Dsymlink.c61 * since the only way that may cause f->target to be changed is iput() operation. jffs2_follow_link()
/linux-4.1.27/include/uapi/linux/
H A Drose.h75 unsigned char cause; member in struct:rose_cause_struct
H A Dsecurebits.h26 set*uid to gain/lose privilege, transitions to/from uid 0 cause
H A Dxfrm.h262 XFRM_AE_CR=16, /* Event cause is replay update */
263 XFRM_AE_CE=32, /* Event cause is timer expiry */
264 XFRM_AE_CU=64, /* Event cause is policy update */
H A Dfalloc.h39 * with fallocate. Flag FALLOC_FL_KEEP_SIZE should cause the inode
H A Dx25.h141 unsigned char cause; member in struct:x25_causediag
/linux-4.1.27/arch/powerpc/platforms/82xx/
H A Dpq2.c30 /* Clear the ME,EE,IR & DR bits in MSR to cause checkstop */ pq2_restart()
/linux-4.1.27/arch/mips/lantiq/falcon/
H A Dreset.c20 /* reset cause mask */
/linux-4.1.27/arch/mips/sgi-ip32/
H A Dip32-setup.c36 * This is taken care of in here 'cause they say using Arc later on is
/linux-4.1.27/arch/powerpc/kernel/
H A Depapr_hcalls.S42 * only interrupt will cause us to return to LR due to
H A Didle_e500.S35 * any real interrupt will cause us to return to LR due to
/linux-4.1.27/arch/powerpc/lib/
H A Dvmx-helper.c33 * context. So on page faults, we just fail which will cause enter_vmx_usercopy()
/linux-4.1.27/arch/arm64/include/asm/
H A Dcache.h27 * unrelated code may cause parts of the buffer to be read into the
H A Dcompiler.h26 * cause compilation to stop on mismatch. (for details, see gcc PR 15089)
H A Dcpu_ops.h38 * reason, which will cause the hot unplug to be aborted. Called
/linux-4.1.27/arch/hexagon/include/uapi/asm/
H A Duser.h56 unsigned long cause; member in struct:user_regs_struct
/linux-4.1.27/Documentation/prctl/
H A Ddisable-tsc-ctxt-sw-stress-test.c7 * Warning: this test will cause a very high load for a few seconds
H A Ddisable-tsc-on-off-stress-test.c7 * Warning: this test will cause a very high load for a few seconds
/linux-4.1.27/kernel/irq/
H A Dmigration.c39 * cause some ioapics to mal-function. irq_move_masked_irq()
/linux-4.1.27/drivers/misc/sgi-gru/
H A Dgruhandles.h209 unsigned int cause:3; member in struct:gru_tlb_global_handle
283 unsigned int cause:6; member in struct:gru_tlb_fault_handle
337 /* TFH cause bits */
380 unsigned int cause:4; member in struct:gru_context_configuration_handle
413 /* CCH Exception cause */
/linux-4.1.27/drivers/staging/fsl-mc/bus/
H A Ddpmcp.h185 * overall interrupt state. if the interrupt is disabled no causes will cause
220 * masking/unmasking each cause independently
237 * masking/unmasking each cause independently
252 * @status: Returned interrupts status - one bit per cause:
269 * @status: Bits to clear (W1C) - one bit per cause:
/linux-4.1.27/arch/s390/kernel/
H A Duprobes.c51 static int check_per_event(unsigned short cause, unsigned long control, check_per_event() argument
60 if ((control & 0x20200000) && (cause & 0x2000)) check_per_event()
62 if (cause & 0x8000) { check_per_event()
98 if (check_per_event(current->thread.per_event.cause, arch_uprobe_post_xol()
249 current->thread.per_event.cause = PER_EVENT_STORE >> 16; sim_stor_event()
H A Dsuspend.c23 * does not cause any harm but the overindication of the change bits
24 * would cause trouble.
/linux-4.1.27/net/rose/
H A Drose_subr.c165 *dptr++ = rose->cause; rose_write_internal()
530 void rose_disconnect(struct sock *sk, int reason, int cause, int diagnostic) rose_disconnect() argument
542 if (cause != -1) rose_disconnect()
543 rose->cause = cause; rose_disconnect()
H A Drose_link.c239 void rose_transmit_clear_request(struct rose_neigh *neigh, unsigned int lci, unsigned char cause, unsigned char diagnostic) rose_transmit_clear_request() argument
258 *dptr++ = cause; rose_transmit_clear_request()
/linux-4.1.27/drivers/isdn/sc/
H A Dinterrupt.c98 pr_debug("%s: Connect message: line %d: status %d: cause 0x%x\n", interrupt_handler()
144 pr_debug("%s: disconnect message: line %d: status %d: cause 0x%x\n", interrupt_handler()
/linux-4.1.27/drivers/ide/
H A Dcy82c693.c23 * trial and error! By using a to low value will cause DMA timeouts
24 * and drop IDE performance, and by using a to high value will cause
/linux-4.1.27/drivers/net/phy/
H A Dsmsc.c101 * is present, it will respond to the pulses, which will cause the ENERGYON bit
102 * to be set and will cause the EDPD mode to be exited.
/linux-4.1.27/drivers/scsi/
H A Dqlogicfas408.h72 cause the deassertion to be early by 1/2 clock. Bits 5&4 control
80 int qabort; /* Flag to cause an abort */
/linux-4.1.27/drivers/net/wireless/ath/wil6210/
H A Dtrace.h122 TP_printk("cause 0x%08x : %s", __entry->x,
135 TP_printk("cause 0x%08x", __entry->x)
H A Dinterrupt.c25 * There is ISR pseudo-cause register,
237 * moderation is not used. Interrupt moderation may cause RX wil6210_irq_rx()
431 /* Discover real IRQ cause */ wil6210_thread_irq()
512 /* Discover real IRQ cause wil6210_hardirq()
/linux-4.1.27/arch/mips/cavium-octeon/executive/
H A Dcvmx-helper-jtag.c44 * can cause chip damage.
127 * chain. Updating invalid values can possibly cause chip damage.
H A Dcvmx-spi.c192 * Returns Zero on success, non-zero error code on failure (will cause
308 * Returns Zero on success, non-zero error code on failure (will cause
427 * Returns Zero on success, non-zero error code on failure (will cause
505 * Returns Zero on success, non-zero error code on failure (will cause
574 * Returns Zero on success, non-zero error code on failure (will cause
630 * Returns Zero on success, non-zero error code on failure (will cause
/linux-4.1.27/drivers/usb/atm/
H A Dusbatm.h90 /* init device ... can sleep, or cause probe() failure */
100 /* init ATM device ... can sleep, or cause ATM initialization failure */
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dopal-hmi.c54 "SCOM has set a reserved FIR bit to cause recovery", print_hmi_event_info()
55 "Debug trigger has set a reserved FIR bit to cause recovery", print_hmi_event_info()
/linux-4.1.27/arch/s390/include/asm/
H A Dptrace.h91 * PER event contains information about the cause of the last PER exception.
94 unsigned short cause; /* PER code, ATMID and AI */ member in struct:per_event
/linux-4.1.27/arch/blackfin/kernel/cplb-nompu/
H A Dcplbmgr.c217 int cause = seqstat & 0x3f; cplb_hdr() local
219 switch (cause) { cplb_hdr()
/linux-4.1.27/arch/blackfin/kernel/
H A Dfixed_code.S145 * call panic, so just cause a unhandled exception, this should cause
H A Dtime.c149 /* [#2663] hack to filter junk RTC values that would cause time_init()
/linux-4.1.27/arch/hexagon/mm/
H A Dvm_fault.c48 void do_page_fault(unsigned long address, long cause, struct pt_regs *regs) do_page_fault() argument
88 switch (cause) { do_page_fault()
/linux-4.1.27/arch/arm/mach-tegra/
H A Dplatsmp.c51 * the flow controller state is cleared (which will cause the tegra20_boot_secondary()
61 * power-gate the CPU this will cause the flow controller to tegra20_boot_secondary()
/linux-4.1.27/arch/arm/mach-cns3xxx/
H A Dcns3420vb.c133 * resetting twice would cause the 1st controller been reset. csn3xxx_usb_power_on()
154 * resetting twice would cause the 1st controller been reset. csn3xxx_usb_power_off()
H A Dcore.c302 * resetting twice would cause the 1st controller been reset. csn3xxx_usb_power_on()
323 * resetting twice would cause the 1st controller been reset. csn3xxx_usb_power_off()
/linux-4.1.27/include/asm-generic/
H A Dbug.h172 * meaningless for !SMP or may even cause failures.
203 * A simple "0" would cause gcc to give a "statement has no effect"
/linux-4.1.27/drivers/staging/iio/adc/
H A Dad7606_ring.c63 * electrostatic discharge, could cause an extra read ad7606_poll_bh_to_ring()
/linux-4.1.27/arch/powerpc/include/asm/
H A Ddelay.h45 * @condition when the loop terminates. This allows you to determine the cause
H A Dsstep.h26 /* Emulate instructions that cause a transfer of control. */
/linux-4.1.27/net/x25/
H A Dx25_subr.c231 *dptr++ = x25->causediag.cause; x25_write_internal()
349 void x25_disconnect(struct sock *sk, int reason, unsigned char cause, x25_disconnect() argument
360 x25->causediag.cause = cause; x25_disconnect()
H A Dx25_link.c171 unsigned char cause) x25_transmit_clear_request()
189 *dptr++ = cause; x25_transmit_clear_request()
170 x25_transmit_clear_request(struct x25_neigh *nb, unsigned int lci, unsigned char cause) x25_transmit_clear_request() argument
/linux-4.1.27/sound/oss/
H A DMakefile10 # Please leave it as is, cause the link order is significant !
H A Dpas2_pcm.c393 void pas_pcm_interrupt(unsigned char status, int cause) pas_pcm_interrupt() argument
395 if (cause == 1) pas_pcm_interrupt()
/linux-4.1.27/tools/testing/selftests/powerpc/
H A Dharness.c80 printf("!! child died by unknown cause\n"); run_test()
/linux-4.1.27/tools/testing/selftests/x86/
H A Dentry_from_vm86.c110 /* SYSENTER -- should cause #GP or #UD depending on CPU */ main()
/linux-4.1.27/drivers/isdn/act2000/
H A Dcapi.h61 struct cause { /* Cause information */ struct in union:actcapi_infoel
68 } cause; member in union:actcapi_infoel
228 __u8 cause; member in struct:actcapi_msg::__anon5151::disconnect_req
/linux-4.1.27/arch/powerpc/platforms/85xx/
H A Dsocrates_fpga_pic.c71 uint32_t cause; socrates_fpga_pic_get_irq() local
84 cause = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(i)); socrates_fpga_pic_get_irq()
87 if (cause >> (i + 16)) socrates_fpga_pic_get_irq()
/linux-4.1.27/arch/powerpc/sysdev/ge/
H A Dge_pic.c230 u32 cause, mask, active; gef_pic_get_irq() local
234 cause = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_STATUS); gef_pic_get_irq()
238 active = cause & mask; gef_pic_get_irq()
/linux-4.1.27/arch/arc/kernel/
H A Dirq.c221 * cause IRQ priorities to get upside down. e.g. it could allow arch_local_irq_enable()
223 * theory, it can also cause the dreaded L1-L2-L1 scenario arch_local_irq_enable()
238 * re-enabling both may cause whaco L1-L2-L1 scenario arch_local_irq_enable()
/linux-4.1.27/kernel/
H A Dlatencytop.c25 * if the "same" latency cause is hit twice, this will be tracked as one entry
31 * A latency cause is identified by a stringified backtrace at the point that
33 * identify the cause of the latency in human readable form.
H A Ddma.c34 * If you don't, you may cause allocation requests to fail unnecessarily.
H A Dcpu_pm.c87 * cause some blocks in the same power domain as the cpu to reset.
145 * state that may cause some blocks in the same power domain to reset.
/linux-4.1.27/drivers/staging/fsl-mc/include/
H A Ddpbp.h199 * overall interrupt state. if the interrupt is disabled no causes will cause
234 * masking/unmasking each cause independently
251 * masking/unmasking each cause independently
266 * @status: Returned interrupts status - one bit per cause:
283 * @status: Bits to clear (W1C) - one bit per cause:
/linux-4.1.27/drivers/staging/unisys/common-spar/include/channels/
H A Ddiagchannel.h95 #define CAUSE_MASK 0x0FF0000 /* mask out all but the cause in byte 2 */
221 * Levels of cause for diagnostic events, in order from least to greatest cause
238 /* A cause value "DIAG_CAUSE_FILE_XFER" together with a severity value of
240 * the Diag partition. This cause-severity combination will be used by Logger
/linux-4.1.27/drivers/mfd/
H A Dsi476x-cmd.c183 char *cause; si476x_core_parse_and_nag_about_error() local
192 cause = "Bad command"; si476x_core_parse_and_nag_about_error()
196 cause = "Bad argument #1"; si476x_core_parse_and_nag_about_error()
200 cause = "Bad argument #2"; si476x_core_parse_and_nag_about_error()
204 cause = "Bad argument #3"; si476x_core_parse_and_nag_about_error()
208 cause = "Bad argument #4"; si476x_core_parse_and_nag_about_error()
212 cause = "Chip is busy"; si476x_core_parse_and_nag_about_error()
216 cause = "Bad internal memory"; si476x_core_parse_and_nag_about_error()
220 cause = "Bad patch"; si476x_core_parse_and_nag_about_error()
224 cause = "Bad boot mode"; si476x_core_parse_and_nag_about_error()
228 cause = "Bad property"; si476x_core_parse_and_nag_about_error()
232 cause = "Unknown"; si476x_core_parse_and_nag_about_error()
237 "[Chip error status]: %s\n", cause); si476x_core_parse_and_nag_about_error()
/linux-4.1.27/drivers/input/serio/
H A Dhp_sdc_mlc.c337 "This is bad. Could cause an oops.\n"); hp_sdc_mlc_init()
350 "This is bad. Could cause an oops.\n"); hp_sdc_mlc_exit()
354 "This is bad. Could cause an oops.\n"); hp_sdc_mlc_exit()
/linux-4.1.27/arch/sh/kernel/cpu/sh4/
H A Dfpu.c176 * Returns 1 when it's handled (should not cause exception).
416 /* Set the FPSCR flag as well as cause bits - simply BUILD_TRAP_HANDLER()
417 * replicate the cause */ BUILD_TRAP_HANDLER()
/linux-4.1.27/drivers/md/
H A Ddm-bio-prison.h20 * where they can't cause any mischief. Bios are put in a cell identified
/linux-4.1.27/drivers/hwmon/
H A Dsch56xx-common.c223 /* Read LSB first, this will cause the matching MSB to be latched */ sch56xx_read_virtual_reg16()
241 /* Read MSB first, this will cause the matching LSN to be latched */ sch56xx_read_virtual_reg12()
329 * This will only cause a system reset if the 0-1 flank happens when watchdog_start()
331 * not cause a reset, nor will the timer expiring a second time. watchdog_start()
/linux-4.1.27/drivers/mtd/chips/
H A Dfwh_lock.h50 * map offset could cause problems. fwh_xxlock_oneblock()
/linux-4.1.27/drivers/parport/
H A Dparport_atari.c9 * and 1 input status line (BUSY) able to cause an interrupt.
/linux-4.1.27/arch/sparc/include/asm/
H A Dbackoff.h18 * When we spin, we try to use an operation that will cause the
/linux-4.1.27/arch/tile/include/asm/
H A Dcmpxchg.h25 /* Nonexistent functions intended to cause compile errors. */
/linux-4.1.27/drivers/bluetooth/
H A Dbtintel.c66 * and that in turn can cause problems with Bluetooth operation. btintel_check_bdaddr()
/linux-4.1.27/drivers/tty/serial/cpm_uart/
H A Dcpm_uart_cpm1.c97 /* was hostalloc but changed cause it blows away the */ cpm_uart_allocbuf()
/linux-4.1.27/drivers/usb/musb/
H A Dblackfin.h46 * digging out the root cause, we will change this number accordingly.
/linux-4.1.27/drivers/video/backlight/
H A Dep93xx_bl.c81 * drivers/video/ep93xx-fb.c) and doing so will cause the second ep93xxbl_probe()
/linux-4.1.27/fs/quota/
H A Dnetlink.c56 * the fs to free some data could cause deadlocks. */ quota_send_warning()
/linux-4.1.27/fs/nfs/
H A Dcallback.h204 * nfs41: Callbacks are expected to not cause substantial latency,
/linux-4.1.27/include/xen/interface/
H A Dsched.h89 * With id == 0, setup a domain watchdog timer to cause domain shutdown
/linux-4.1.27/arch/mips/include/asm/sn/
H A Dnmi.h73 unsigned long cause; member in struct:reg_struct
/linux-4.1.27/arch/mips/pci/
H A Dops-gt64xxx_pci0.c51 /* Clear cause register bits */ gt64xxx_pci0_pcibios_config_access()
/linux-4.1.27/arch/mips/sgi-ip22/
H A Dip28-berr.c209 static inline const char *cause_excode_text(int cause) cause_excode_text() argument
232 return txt[(cause & 0x7c) >> 2]; cause_excode_text()
391 /* Any cause other than "Interrupt" (ExcCode 0) is fatal. */ ip28_be_interrupt()
395 /* Any cause other than "Bus error interrupt" (IP6) is weird. */ ip28_be_interrupt()
/linux-4.1.27/arch/powerpc/mm/
H A Dmmu_context_hash64.c71 * when using slices as it could cause problem promoting slices init_new_context()
/linux-4.1.27/arch/cris/mm/
H A Dtlb.c26 * handler that uses vmalloced memory might cause a TLB load in the middle
/linux-4.1.27/arch/hexagon/kernel/
H A Dvm_events.c82 printk(KERN_EMERG "elr: \t0x%08lx cause: 0x%08lx user_mode: %d\n", show_regs()
H A Dptrace.c92 ONEXT(&dummy, cause); genregs_get()
142 INEXT(&bucket, cause); genregs_set()
/linux-4.1.27/arch/m68k/include/asm/
H A Ddelay.h21 * for bus cycles to finish. Also fp/a6 isn't likely to cause a
/linux-4.1.27/arch/m68k/lib/
H A Dmulsi3.S25 compiled with GCC to produce an executable, this does not cause
/linux-4.1.27/arch/metag/include/asm/
H A Dpgtable-bits.h19 /* Write combine bit - this can cause writes to occur out of order */
/linux-4.1.27/arch/arm/mach-imx/
H A Dsystem.c116 * ID: 752271: Double linefill feature can cause data corruption imx_init_l2cache()
/linux-4.1.27/net/rds/
H A Dib_sysctl.c60 * will cause credits to be added before protocol negotiation.
/linux-4.1.27/security/selinux/ss/
H A Dstatus.c22 * It enables to notify applications a few events that will cause reset
/linux-4.1.27/tools/testing/selftests/timers/
H A Draw_skew.c124 printf("WARNING: ADJ_OFFSET in progress, this will cause inaccurate results\n"); main()
H A Dleap-a-day.c18 * time by 24 hours every ~16 seconds, it may cause application
117 /* Clear maxerror, as it can cause UNSYNC to be set */ clear_time_state()
/linux-4.1.27/drivers/net/ethernet/samsung/sxgbe/
H A Dsxgbe_dma.c227 /* check for actual cause */ sxgbe_tx_dma_int_status()
299 /* check for actual cause */ sxgbe_rx_dma_int_status()
/linux-4.1.27/arch/tile/include/arch/
H A Dtrio_pcie_intfc.h191 * PORT_CREDIT.NPH value will cause READS to never be sent. If the
201 * PORT_CREDIT.PH value will cause WRITES to never be sent. If the
/linux-4.1.27/drivers/usb/gadget/udc/
H A Dmv_u3d.h165 u32 intrcause; /* interrupt cause register */
184 u32 linkerrorcause; /* link error cause register */
/linux-4.1.27/arch/blackfin/kernel/cplb-mpu/
H A Dcplbmgr.c302 int cause = seqstat & 0x3f; cplb_hdr() local
304 switch (cause) { cplb_hdr()
/linux-4.1.27/arch/hexagon/include/asm/
H A Delf.h163 DEST.cause = pt_cause(REGS); \
204 /* Hrm is this going to cause problems for changing PAGE_SIZE? */
/linux-4.1.27/arch/ia64/lib/
H A Dstrlen.S45 // load, on the other hand, will cause the translation to be inserted
162 // code will cause of kernel fault.

Completed in 4813 milliseconds

123456789