/arch/mips/bcm47xx/ |
D | irq.c | 33 u32 cause; in plat_irq_dispatch() local 35 cause = read_c0_cause() & read_c0_status() & CAUSEF_IP; in plat_irq_dispatch() 37 clear_c0_status(cause); in plat_irq_dispatch() 39 if (cause & CAUSEF_IP7) in plat_irq_dispatch() 41 if (cause & CAUSEF_IP2) in plat_irq_dispatch() 43 if (cause & CAUSEF_IP3) in plat_irq_dispatch() 45 if (cause & CAUSEF_IP4) in plat_irq_dispatch() 47 if (cause & CAUSEF_IP5) in plat_irq_dispatch() 49 if (cause & CAUSEF_IP6) in plat_irq_dispatch()
|
/arch/mips/kernel/ |
D | irq-gt641xx.c | 35 u32 cause; in ack_gt641xx_irq() local 38 cause = GT_READ(GT_INTRCAUSE_OFS); in ack_gt641xx_irq() 39 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in ack_gt641xx_irq() 40 GT_WRITE(GT_INTRCAUSE_OFS, cause); in ack_gt641xx_irq() 59 u32 cause, mask; in mask_ack_gt641xx_irq() local 66 cause = GT_READ(GT_INTRCAUSE_OFS); in mask_ack_gt641xx_irq() 67 cause &= ~GT641XX_IRQ_TO_BIT(d->irq); in mask_ack_gt641xx_irq() 68 GT_WRITE(GT_INTRCAUSE_OFS, cause); in mask_ack_gt641xx_irq() 94 u32 cause, mask; in gt641xx_irq_dispatch() local 97 cause = GT_READ(GT_INTRCAUSE_OFS); in gt641xx_irq_dispatch() [all …]
|
D | traps.c | 239 unsigned int cause = regs->cp0_cause; in __show_regs() local 322 printk("Cause : %08x\n", cause); in __show_regs() 324 cause = (cause & CAUSEF_EXCCODE) >> CAUSEB_EXCCODE; in __show_regs() 325 if (1 <= cause && cause <= 5) in __show_regs() 1061 u32 cause; in do_watch() local 1067 cause = read_c0_cause(); in do_watch() 1068 cause &= ~(1 << 22); in do_watch() 1069 write_c0_cause(cause); in do_watch()
|
/arch/cris/arch-v10/mm/ |
D | fault.c | 41 int cause; in handle_mmu_bus_fault() local 55 cause = *R_MMU_CAUSE; in handle_mmu_bus_fault() 57 address = cause & PAGE_MASK; /* get faulting address */ in handle_mmu_bus_fault() 61 page_id = IO_EXTRACT(R_MMU_CAUSE, page_id, cause); in handle_mmu_bus_fault() 62 acc = IO_EXTRACT(R_MMU_CAUSE, acc_excp, cause); in handle_mmu_bus_fault() 63 inv = IO_EXTRACT(R_MMU_CAUSE, inv_excp, cause); in handle_mmu_bus_fault() 66 miss = IO_EXTRACT(R_MMU_CAUSE, miss_excp, cause); in handle_mmu_bus_fault() 67 we = IO_EXTRACT(R_MMU_CAUSE, we_excp, cause); in handle_mmu_bus_fault() 68 writeac = IO_EXTRACT(R_MMU_CAUSE, wr_rd, cause); in handle_mmu_bus_fault() 91 *R_TLB_HI = cause; in handle_mmu_bus_fault()
|
/arch/powerpc/sysdev/ |
D | mv64x60_pic.c | 272 u32 cause; in mv64x60_get_irq() local 277 cause = in_le32(mv64x60_irq_reg_base + MV64X60_IC_CPU0_SELECT_CAUSE); in mv64x60_get_irq() 278 if (cause & MV64X60_SELECT_CAUSE_HIGH) { in mv64x60_get_irq() 279 cause &= mv64x60_cached_high_mask; in mv64x60_get_irq() 281 if (cause & MV64X60_HIGH_GPP_GROUPS) { in mv64x60_get_irq() 282 cause = in_le32(mv64x60_gpp_reg_base + in mv64x60_get_irq() 284 cause &= mv64x60_cached_gpp_mask; in mv64x60_get_irq() 288 cause &= mv64x60_cached_low_mask; in mv64x60_get_irq() 291 if (cause) { in mv64x60_get_irq() 292 hwirq = (level1 << MV64x60_LEVEL1_OFFSET) | __ilog2(cause); in mv64x60_get_irq()
|
D | mv64x60_udbg.c | 50 int cause = 0; in mv64x60_udbg_getc() local 58 out_le32(mpsc_intr_cause, cause & ~MPSC_INTR_CAUSE_RCC); in mv64x60_udbg_getc()
|
/arch/alpha/mm/ |
D | fault.c | 85 long cause, struct pt_regs *regs) in do_page_fault() argument 96 if (cause == 0) { in do_page_fault() 132 if (cause < 0) { in do_page_fault() 135 } else if (!cause) { in do_page_fault() 147 fault = handle_mm_fault(mm, vma, address, cause > 0 ? FAULT_FLAG_WRITE : 0); in do_page_fault() 183 die_if_kernel("Oops", regs, cause, (unsigned long*)regs - 16); in do_page_fault()
|
/arch/arm/mach-dove/ |
D | irq.c | 89 unsigned long cause = readl(PMU_INTERRUPT_CAUSE); in pmu_irq_handler() local 91 cause &= readl(PMU_INTERRUPT_MASK); in pmu_irq_handler() 92 if (cause == 0) { in pmu_irq_handler() 98 if (!(cause & (1 << irq))) in pmu_irq_handler()
|
/arch/arm/mach-orion5x/include/mach/ |
D | entry-macro.S | 18 ldr \irqstat, [\base, #0] @ main cause 21 @ find cause bits that are unmasked
|
/arch/mips/bcm63xx/ |
D | irq.c | 241 u32 cause; in plat_irq_dispatch() local 244 cause = read_c0_cause() & read_c0_status() & ST0_IM; in plat_irq_dispatch() 246 if (!cause) in plat_irq_dispatch() 249 if (cause & CAUSEF_IP7) in plat_irq_dispatch() 251 if (cause & CAUSEF_IP2) in plat_irq_dispatch() 254 if (cause & CAUSEF_IP3) in plat_irq_dispatch() 256 if (cause & CAUSEF_IP4) in plat_irq_dispatch() 258 if (cause & CAUSEF_IP5) in plat_irq_dispatch() 260 if (cause & CAUSEF_IP6) in plat_irq_dispatch()
|
/arch/powerpc/boot/ |
D | mpsc.c | 74 u32 cause = 0; in mpsc_getc() local 77 while (!(cause & MPSC_INTR_CAUSE_RCC)) in mpsc_getc() 78 cause = in_le32((u32 *)(mpscintr_base + MPSC_INTR_CAUSE)); in mpsc_getc() 83 cause & ~MPSC_INTR_CAUSE_RCC); in mpsc_getc()
|
/arch/xtensa/kernel/ |
D | traps.c | 82 int cause; member 325 for(i = 0; dispatch_init_table[i].cause >= 0; i++) { in trap_init() 328 int cause = dispatch_init_table[i].cause; in trap_init() local 332 set_handler (EXC_TABLE_DEFAULT/4 + cause, handler); in trap_init() 334 set_handler (EXC_TABLE_FAST_USER/4 + cause, handler); in trap_init() 336 set_handler (EXC_TABLE_FAST_KERNEL/4 + cause, handler); in trap_init()
|
/arch/mips/pmc-sierra/yosemite/ |
D | irq.c | 115 unsigned int cause = read_c0_cause(); in plat_irq_dispatch() local 117 unsigned int pending = cause & status; in plat_irq_dispatch()
|
/arch/hexagon/mm/ |
D | vm_fault.c | 48 void do_page_fault(unsigned long address, long cause, struct pt_regs *regs) in do_page_fault() argument 84 switch (cause) { in do_page_fault() 99 fault = handle_mm_fault(mm, vma, address, (cause > 0)); in do_page_fault()
|
/arch/mips/sni/ |
D | a20r.c | 194 u32 cause, status; in a20r_hwint() local 199 cause = read_c0_cause(); in a20r_hwint() 201 irq = ffs(((cause & status) >> 8) & 0xf8); in a20r_hwint()
|
/arch/powerpc/sysdev/ge/ |
D | ge_pic.c | 230 u32 cause, mask, active; in gef_pic_get_irq() local 234 cause = in_be32(gef_pic_irq_reg_base + GEF_PIC_INTR_STATUS); in gef_pic_get_irq() 238 active = cause & mask; in gef_pic_get_irq()
|
/arch/mips/lasat/ |
D | interrupt.c | 87 unsigned int cause = read_c0_cause(); in plat_irq_dispatch() local 90 if (cause & CAUSEF_IP7) { /* R4000 count / compare IRQ */ in plat_irq_dispatch()
|
/arch/hexagon/include/asm/ |
D | user.h | 74 unsigned long cause; member
|
/arch/mips/mti-malta/ |
D | malta-int.c | 699 unsigned long cause, ocause; in malta_be_handler() local 702 cause = (cm_error & GCMP_GCB_GMEC_ERROR_TYPE_MSK); in malta_be_handler() 703 if (cause != 0) { in malta_be_handler() 704 cause >>= GCMP_GCB_GMEC_ERROR_TYPE_SHF; in malta_be_handler() 705 if (cause < 16) { in malta_be_handler() 739 causes[cause], buf); in malta_be_handler()
|
/arch/mips/include/asm/sn/ |
D | nmi.h | 73 unsigned long cause; member
|
/arch/powerpc/platforms/85xx/ |
D | socrates_fpga_pic.c | 69 uint32_t cause; in socrates_fpga_pic_get_irq() local 82 cause = socrates_fpga_pic_read(FPGA_PIC_IRQMASK(i)); in socrates_fpga_pic_get_irq() 85 if (cause >> (i + 16)) in socrates_fpga_pic_get_irq()
|
/arch/blackfin/kernel/cplb-nompu/ |
D | cplbmgr.c | 192 int cause = seqstat & 0x3f; in cplb_hdr() local 194 switch (cause) { in cplb_hdr()
|
/arch/hexagon/kernel/ |
D | ptrace.c | 77 ONEXT(&dummy, cause); in genregs_get() 123 INEXT(&bucket, cause); in genregs_set()
|
/arch/arm/plat-orion/ |
D | gpio.c | 452 u32 cause, type; in orion_gpio_irq_handler() local 459 cause = readl(GPIO_DATA_IN(ochip)) & readl(GPIO_LEVEL_MASK(ochip)); in orion_gpio_irq_handler() 460 cause |= readl(GPIO_EDGE_CAUSE(ochip)) & readl(GPIO_EDGE_MASK(ochip)); in orion_gpio_irq_handler() 467 if (!(cause & (1 << i))) in orion_gpio_irq_handler()
|
/arch/m32r/ |
D | Kconfig.debug | 9 This option will cause messages to be printed if free stack space
|