Lines Matching refs:cause

191 	u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);  in fpga_phy_intr_handler()  local
194 if (cause & (1 << p)) { in fpga_phy_intr_handler()
201 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
210 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
213 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
214 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
219 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
222 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
232 if (cause & FPGA_PCIX_INTERRUPT_PCIX) { in fpga_slow_intr()
238 if (cause) in fpga_slow_intr()
239 writel(cause, adapter->regs + A_PL_CAUSE); in fpga_slow_intr()
244 return cause == 0 ? IRQ_NONE : IRQ_HANDLED; in fpga_slow_intr()
674 u32 cause; in t1_elmer0_ext_intr_handler() local
676 t1_tpi_read(adapter, A_ELMER0_INT_CAUSE, &cause); in t1_elmer0_ext_intr_handler()
687 if (!(cause & (1 << port_bit))) in t1_elmer0_ext_intr_handler()
698 if (cause & ELMER0_GP_BIT1) { /* Marvell 88E1111 interrupt */ in t1_elmer0_ext_intr_handler()
725 if (cause & ELMER0_GP_BIT6) { /* Marvell 88x2010 interrupt */ in t1_elmer0_ext_intr_handler()
736 "External interrupt cause 0x%x\n", cause); in t1_elmer0_ext_intr_handler()
737 if (cause & ELMER0_GP_BIT1) { /* PMC3393 INTB */ in t1_elmer0_ext_intr_handler()
742 if (cause & ELMER0_GP_BIT5) { /* XPAK MOD_DETECT */ in t1_elmer0_ext_intr_handler()
753 t1_tpi_write(adapter, A_ELMER0_INT_CAUSE, cause); in t1_elmer0_ext_intr_handler()
850 u32 cause = readl(adapter->regs + A_PL_CAUSE); in asic_slow_intr() local
853 cause &= adapter->slow_intr_mask; in asic_slow_intr()
854 if (!cause) in asic_slow_intr()
856 if (cause & F_PL_INTR_SGE_ERR) { in asic_slow_intr()
860 if (cause & F_PL_INTR_TP) in asic_slow_intr()
862 if (cause & F_PL_INTR_ESPI) in asic_slow_intr()
864 if (cause & F_PL_INTR_PCIX) { in asic_slow_intr()
868 if (cause & F_PL_INTR_EXT) { in asic_slow_intr()
881 writel(cause, adapter->regs + A_PL_CAUSE); in asic_slow_intr()