Lines Matching full:cause

196 	u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);  in fpga_phy_intr_handler()  local
199 if (cause & (1 << p)) { in fpga_phy_intr_handler()
206 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
215 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
217 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
218 if (cause & F_PL_INTR_SGE_ERR) in fpga_slow_intr()
221 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
224 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
234 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()
241 return cause != 0; in fpga_slow_intr()
671 u32 cause; in t1_elmer0_ext_intr_handler() local
673 t1_tpi_read(adapter, A_ELMER0_INT_CAUSE, &cause); in t1_elmer0_ext_intr_handler()
684 if (!(cause & (1 << port_bit))) in t1_elmer0_ext_intr_handler()
695 if (cause & ELMER0_GP_BIT1) { /* Marvell 88E1111 interrupt */ in t1_elmer0_ext_intr_handler()
705 * Elmer0's interrupt cause isn't useful here because there is in t1_elmer0_ext_intr_handler()
722 if (cause & ELMER0_GP_BIT6) { /* Marvell 88x2010 interrupt */ in t1_elmer0_ext_intr_handler()
733 "External interrupt cause 0x%x\n", cause); in t1_elmer0_ext_intr_handler()
734 if (cause & ELMER0_GP_BIT1) { /* PMC3393 INTB */ in t1_elmer0_ext_intr_handler()
739 if (cause & ELMER0_GP_BIT5) { /* XPAK MOD_DETECT */ in t1_elmer0_ext_intr_handler()
750 t1_tpi_write(adapter, A_ELMER0_INT_CAUSE, cause); in t1_elmer0_ext_intr_handler()
847 u32 cause = readl(adapter->regs + A_PL_CAUSE); in asic_slow_intr() local
849 cause &= adapter->slow_intr_mask; in asic_slow_intr()
850 if (!cause) in asic_slow_intr()
852 if (cause & F_PL_INTR_SGE_ERR) in asic_slow_intr()
854 if (cause & F_PL_INTR_TP) in asic_slow_intr()
856 if (cause & F_PL_INTR_ESPI) in asic_slow_intr()
858 if (cause & F_PL_INTR_PCIX) in asic_slow_intr()
860 if (cause & F_PL_INTR_EXT) in asic_slow_intr()
864 writel(cause, adapter->regs + A_PL_CAUSE); in asic_slow_intr()