Home
last modified time | relevance | path

Searched refs:cause (Results 1 – 25 of 170) sorted by relevance

1234567

/drivers/dma/idxd/
Dirq.c58 static int process_misc_interrupts(struct idxd_device *idxd, u32 cause) in process_misc_interrupts() argument
66 if (cause & IDXD_INTC_HALT_STATE) in process_misc_interrupts()
69 if (cause & IDXD_INTC_ERR) { in process_misc_interrupts()
104 if (cause & IDXD_INTC_CMD) { in process_misc_interrupts()
109 if (cause & IDXD_INTC_OCCUPY) { in process_misc_interrupts()
114 if (cause & IDXD_INTC_PERFMON_OVFL) { in process_misc_interrupts()
119 val ^= cause; in process_misc_interrupts()
162 u32 cause; in idxd_misc_thread() local
164 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
165 if (cause) in idxd_misc_thread()
[all …]
/drivers/net/ethernet/chelsio/cxgb/
Dsubr.c200 u32 cause = readl(adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler() local
203 if (cause & (1 << p)) { in fpga_phy_intr_handler()
210 writel(cause, adapter->regs + FPGA_GMAC_ADDR_INTERRUPT_CAUSE); in fpga_phy_intr_handler()
219 u32 cause = readl(adapter->regs + A_PL_CAUSE); in fpga_slow_intr() local
222 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
223 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
228 if (cause & FPGA_PCIX_INTERRUPT_GMAC) in fpga_slow_intr()
231 if (cause & FPGA_PCIX_INTERRUPT_TP) { in fpga_slow_intr()
241 if (cause & FPGA_PCIX_INTERRUPT_PCIX) { in fpga_slow_intr()
247 if (cause) in fpga_slow_intr()
[all …]
Dmv88e1xxx.c303 u32 cause; in mv88e1xxx_interrupt_handler() local
307 &cause); in mv88e1xxx_interrupt_handler()
308 cause &= INTR_ENABLE_MASK; in mv88e1xxx_interrupt_handler()
309 if (!cause) in mv88e1xxx_interrupt_handler()
312 if (cause & MV88E1XXX_INTR_LINK_CHNG) { in mv88e1xxx_interrupt_handler()
326 if (cause & MV88E1XXX_INTR_AUTONEG_DONE) in mv88e1xxx_interrupt_handler()
Dtp.c127 u32 cause; in t1_tp_intr_handler() local
135 cause = readl(tp->adapter->regs + A_TP_INT_CAUSE); in t1_tp_intr_handler()
136 writel(cause, tp->adapter->regs + A_TP_INT_CAUSE); in t1_tp_intr_handler()
/drivers/irqchip/
Dirq-riscv-intc.c24 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local
26 if (unlikely(cause >= BITS_PER_LONG)) in riscv_intc_irq()
29 switch (cause) { in riscv_intc_irq()
40 handle_domain_irq(intc_domain, cause, regs); in riscv_intc_irq()
/drivers/net/ethernet/chelsio/cxgb3/
Dmc5.c370 u32 cause = t3_read_reg(adap, A_MC5_DB_INT_CAUSE); in t3_mc5_intr_handler() local
372 if ((cause & F_PARITYERR) && mc5->parity_enabled) { in t3_mc5_intr_handler()
377 if (cause & F_REQQPARERR) { in t3_mc5_intr_handler()
382 if (cause & F_DISPQPARERR) { in t3_mc5_intr_handler()
387 if (cause & F_ACTRGNFULL) in t3_mc5_intr_handler()
389 if (cause & F_NFASRCHFAIL) in t3_mc5_intr_handler()
391 if (cause & F_UNKNOWNCMD) in t3_mc5_intr_handler()
393 if (cause & F_DELACTEMPTY) in t3_mc5_intr_handler()
395 if (cause & MC5_INT_FATAL) in t3_mc5_intr_handler()
398 t3_write_reg(adap, A_MC5_DB_INT_CAUSE, cause); in t3_mc5_intr_handler()
Dt3_hw.c1794 u32 cause = t3_read_reg(adapter, mc7->offset + A_MC7_INT_CAUSE); in mc7_intr_handler() local
1796 if (cause & F_CE) { in mc7_intr_handler()
1806 if (cause & F_UE) { in mc7_intr_handler()
1816 if (G_PE(cause)) { in mc7_intr_handler()
1819 mc7->name, G_PE(cause)); in mc7_intr_handler()
1822 if (cause & F_AE) { in mc7_intr_handler()
1833 if (cause & MC7_INTR_FATAL) in mc7_intr_handler()
1836 t3_write_reg(adapter, mc7->offset + A_MC7_INT_CAUSE, cause); in mc7_intr_handler()
1853 u32 cause = t3_read_reg(adap, A_XGM_INT_CAUSE + mac->offset) & in mac_intr_handler() local
1856 if (cause & V_TXFIFO_PRTY_ERR(M_TXFIFO_PRTY_ERR)) { in mac_intr_handler()
[all …]
Dvsc8211.c324 unsigned int cause; in vsc8211_intr_handler() local
327 err = t3_mdio_read(cphy, MDIO_DEVAD_NONE, VSC8211_INTR_STATUS, &cause); in vsc8211_intr_handler()
331 cause &= INTR_MASK; in vsc8211_intr_handler()
332 if (cause & CFG_CHG_INTR_MASK) in vsc8211_intr_handler()
334 if (cause & (VSC_INTR_RX_FIFO | VSC_INTR_TX_FIFO)) in vsc8211_intr_handler()
Dael1002.c457 int ret, edc_needed, cause = 0; in ael2005_intr_handler() local
487 cause = cphy_cause_module_change; in ael2005_intr_handler()
494 ret |= cause; in ael2005_intr_handler()
768 int ret, edc_needed, cause = 0; in ael2020_intr_handler() local
793 cause = cphy_cause_module_change; in ael2020_intr_handler()
800 ret |= cause; in ael2020_intr_handler()
Daq100x.c108 unsigned int cause, v; in aq100x_intr_handler() local
110 err = t3_mdio_read(phy, MDIO_MMD_VEND1, AQ_IFLAG_GLOBAL, &cause); in aq100x_intr_handler()
/drivers/dma/qcom/
Dhidma_ll.c386 static void hidma_ll_int_handler_internal(struct hidma_lldev *lldev, int cause) in hidma_ll_int_handler_internal() argument
390 if (cause & HIDMA_ERR_INT_MASK) { in hidma_ll_int_handler_internal()
392 cause); in hidma_ll_int_handler_internal()
395 writel(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
408 writel_relaxed(cause, lldev->evca + HIDMA_EVCA_IRQ_CLR_REG); in hidma_ll_int_handler_internal()
429 u32 cause; in hidma_ll_inthandler() local
433 cause = status & enable; in hidma_ll_inthandler()
435 while (cause) { in hidma_ll_inthandler()
436 hidma_ll_int_handler_internal(lldev, cause); in hidma_ll_inthandler()
444 cause = status & enable; in hidma_ll_inthandler()
[all …]
/drivers/net/wireless/marvell/libertas/
Dif_cs.c486 u16 cause; in if_cs_interrupt() local
489 cause = if_cs_read16(card, IF_CS_CARD_INT_CAUSE); in if_cs_interrupt()
490 lbs_deb_cs("cause 0x%04x\n", cause); in if_cs_interrupt()
492 if (cause == 0) { in if_cs_interrupt()
497 if (cause == 0xffff) { in if_cs_interrupt()
503 if (cause & IF_CS_BIT_RX) { in if_cs_interrupt()
511 if (cause & IF_CS_BIT_TX) { in if_cs_interrupt()
516 if (cause & IF_CS_BIT_RESP) { in if_cs_interrupt()
534 if (cause & IF_CS_BIT_EVENT) { in if_cs_interrupt()
542 if_cs_write16(card, IF_CS_CARD_INT_CAUSE, cause & IF_CS_BIT_MASK); in if_cs_interrupt()
Dif_sdio.c1103 u8 cause; in if_sdio_interrupt() local
1107 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1108 if (ret || !cause) in if_sdio_interrupt()
1111 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); in if_sdio_interrupt()
1113 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1122 if (cause & IF_SDIO_H_INT_DNLD) in if_sdio_interrupt()
1126 if (cause & IF_SDIO_H_INT_UPLD) { in if_sdio_interrupt()
/drivers/net/wireless/intel/iwlwifi/
Diwl-csr.h575 #define CSR_MSIX_RX_IVAR(cause) (CSR_MSIX_RX_IVAR_AD_REG + (cause)) argument
576 #define CSR_MSIX_IVAR(cause) (CSR_MSIX_IVAR_AD_REG + (cause)) argument
/drivers/mfd/
Dsi476x-cmd.c174 char *cause; in si476x_core_parse_and_nag_about_error() local
183 cause = "Bad command"; in si476x_core_parse_and_nag_about_error()
187 cause = "Bad argument #1"; in si476x_core_parse_and_nag_about_error()
191 cause = "Bad argument #2"; in si476x_core_parse_and_nag_about_error()
195 cause = "Bad argument #3"; in si476x_core_parse_and_nag_about_error()
199 cause = "Bad argument #4"; in si476x_core_parse_and_nag_about_error()
203 cause = "Chip is busy"; in si476x_core_parse_and_nag_about_error()
207 cause = "Bad internal memory"; in si476x_core_parse_and_nag_about_error()
211 cause = "Bad patch"; in si476x_core_parse_and_nag_about_error()
215 cause = "Bad boot mode"; in si476x_core_parse_and_nag_about_error()
[all …]
/drivers/scsi/csiostor/
Dcsio_hw.c3601 uint32_t cause = csio_rd_reg32(hw, PL_INT_CAUSE_A); in csio_hw_slow_intr_handler() local
3603 if (!(cause & CSIO_GLBL_INTR_MASK)) { in csio_hw_slow_intr_handler()
3608 csio_dbg(hw, "Slow interrupt! cause: 0x%x\n", cause); in csio_hw_slow_intr_handler()
3612 if (cause & CIM_F) in csio_hw_slow_intr_handler()
3615 if (cause & MPS_F) in csio_hw_slow_intr_handler()
3618 if (cause & NCSI_F) in csio_hw_slow_intr_handler()
3621 if (cause & PL_F) in csio_hw_slow_intr_handler()
3624 if (cause & SMB_F) in csio_hw_slow_intr_handler()
3627 if (cause & XGMAC0_F) in csio_hw_slow_intr_handler()
3630 if (cause & XGMAC1_F) in csio_hw_slow_intr_handler()
[all …]
/drivers/tty/serial/jsm/
Djsm_neo.c709 u8 cause; in neo_parse_isr() local
758 cause = readb(&ch->ch_neo_uart->xoffchar1); in neo_parse_isr()
762 port, cause); in neo_parse_isr()
770 if (cause == UART_17158_XON_DETECT) { in neo_parse_isr()
779 else if (cause == UART_17158_XOFF_DETECT) { in neo_parse_isr()
797 cause = readb(&ch->ch_neo_uart->mcr); in neo_parse_isr()
801 if ((cause & 0x4) == 0) { in neo_parse_isr()
802 if (cause & UART_MCR_RTS) in neo_parse_isr()
807 if (cause & UART_MCR_DTR) in neo_parse_isr()
/drivers/misc/sgi-gru/
Dgruhandles.h196 unsigned int cause:3; member
270 unsigned int cause:6; member
367 unsigned int cause:4; member
/drivers/spi/
Dspi-armada-3700.c320 u32 cause; in a3700_spi_interrupt() local
325 cause = spireg_read(a3700_spi, A3700_SPI_INT_STAT_REG); in a3700_spi_interrupt()
327 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt()
332 spireg_write(a3700_spi, A3700_SPI_INT_STAT_REG, cause); in a3700_spi_interrupt()
/drivers/of/unittest-data/
Doverlay_bad_phandle.dts7 // This label should cause an error when the overlay
Doverlay_bad_symbol.dts7 // This label should cause an error when the overlay
/drivers/staging/media/sunxi/
DKconfig9 kernel: saying N will just cause Kconfig to skip all the
/drivers/net/wireless/microchip/
DKconfig9 kernel: saying N will just cause the configurator to skip all the
/drivers/net/wireless/quantenna/
DKconfig9 kernel: saying N will just cause the configurator to skip all the
/drivers/net/wireless/st/
DKconfig9 kernel: saying N will just cause the configurator to skip all the

1234567