• Home
  • Raw
  • Download

Lines Matching refs:cause

197 	u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE);  in fpga_phy_intr_handler()  local
200 if (cause & (1 << p)) { in fpga_phy_intr_handler()
207 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
216 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
218 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
219 if (cause & F_PL_INTR_SGE_ERR) in fpga_slow_intr()
222 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
225 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
235 if (cause & FPGA_PCIX_INTERRUPT_PCIX) in fpga_slow_intr()
239 if (cause) in fpga_slow_intr()
240 writel(cause, adapter->regs + A_PL_CAUSE); in fpga_slow_intr()
242 return cause != 0; in fpga_slow_intr()
672 u32 cause; in t1_elmer0_ext_intr_handler() local
674 t1_tpi_read(adapter, A_ELMER0_INT_CAUSE, &cause); in t1_elmer0_ext_intr_handler()
685 if (!(cause & (1 << port_bit))) in t1_elmer0_ext_intr_handler()
696 if (cause & ELMER0_GP_BIT1) { /* Marvell 88E1111 interrupt */ in t1_elmer0_ext_intr_handler()
723 if (cause & ELMER0_GP_BIT6) { /* Marvell 88x2010 interrupt */ in t1_elmer0_ext_intr_handler()
734 "External interrupt cause 0x%x\n", cause); in t1_elmer0_ext_intr_handler()
735 if (cause & ELMER0_GP_BIT1) { /* PMC3393 INTB */ in t1_elmer0_ext_intr_handler()
740 if (cause & ELMER0_GP_BIT5) { /* XPAK MOD_DETECT */ in t1_elmer0_ext_intr_handler()
751 t1_tpi_write(adapter, A_ELMER0_INT_CAUSE, cause); in t1_elmer0_ext_intr_handler()
848 u32 cause = readl(adapter->regs + A_PL_CAUSE); in asic_slow_intr() local
850 cause &= adapter->slow_intr_mask; in asic_slow_intr()
851 if (!cause) in asic_slow_intr()
853 if (cause & F_PL_INTR_SGE_ERR) in asic_slow_intr()
855 if (cause & F_PL_INTR_TP) in asic_slow_intr()
857 if (cause & F_PL_INTR_ESPI) in asic_slow_intr()
859 if (cause & F_PL_INTR_PCIX) in asic_slow_intr()
861 if (cause & F_PL_INTR_EXT) in asic_slow_intr()
865 writel(cause, adapter->regs + A_PL_CAUSE); in asic_slow_intr()