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