Home
last modified time | relevance | path

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

12345678

/drivers/net/ethernet/chelsio/cxgb/
A Dsubr.c194 if (cause & (1 << p)) { in fpga_phy_intr_handler()
213 cause &= ~F_PL_INTR_SGE_DATA; in fpga_slow_intr()
214 if (cause & F_PL_INTR_SGE_ERR) { in fpga_slow_intr()
238 if (cause) in fpga_slow_intr()
674 u32 cause; in t1_elmer0_ext_intr_handler() local
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()
[all …]
A 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()
A 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/net/ethernet/chelsio/cxgb3/
A 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()
A Dt3_hw.c1731 if (cause & F_CE) { in mc7_intr_handler()
1741 if (cause & F_UE) { in mc7_intr_handler()
1751 if (G_PE(cause)) { in mc7_intr_handler()
1757 if (cause & F_AE) { in mc7_intr_handler()
1822 return cause != 0; in mac_intr_handler()
1862 if (!cause) in t3_slow_intr_handler()
1870 if (cause & F_SGE3) in t3_slow_intr_handler()
1878 if (cause & F_CIM) in t3_slow_intr_handler()
1880 if (cause & F_TP1) in t3_slow_intr_handler()
1892 if (cause & F_MPS0) in t3_slow_intr_handler()
[all …]
A 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()
A 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()
A 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/gpu/drm/imagination/
A Dpvr_rogue_mips.h250 #define ROGUE_MIPSFW_C0_CAUSE_EXCCODE(cause) (((cause) & 0x7c) >> 2) argument
253 #define ROGUE_MIPSFW_C0_CAUSE_UNUSABLE_UNIT(cause) (((cause) >> 28) & 0x3) argument
254 #define ROGUE_MIPSFW_C0_CAUSE_PENDING_HWIRQ(cause) (((cause) & 0x3fc00) >> 10) argument
/drivers/dma/idxd/
A Dirq.c445 u32 cause; in idxd_misc_thread() local
447 cause = ioread32(idxd->reg_base + IDXD_INTCAUSE_OFFSET); in idxd_misc_thread()
448 if (!cause) in idxd_misc_thread()
453 if (cause & IDXD_INTC_HALT_STATE) in idxd_misc_thread()
456 if (cause & IDXD_INTC_ERR) { in idxd_misc_thread()
490 if (cause & IDXD_INTC_INT_HANDLE_REVOKED) { in idxd_misc_thread()
507 if (cause & IDXD_INTC_CMD) { in idxd_misc_thread()
512 if (cause & IDXD_INTC_OCCUPY) { in idxd_misc_thread()
517 if (cause & IDXD_INTC_PERFMON_OVFL) { in idxd_misc_thread()
522 if (cause & IDXD_INTC_EVL) { in idxd_misc_thread()
[all …]
/drivers/irqchip/
A Dirq-armada-370-xp.c640 unsigned long cause; in mpic_handle_msi_irq() local
643 cause = readl_relaxed(mpic->per_cpu + MPIC_IN_DRBEL_CAUSE); in mpic_handle_msi_irq()
644 cause &= mpic->msi_doorbell_mask; in mpic_handle_msi_irq()
645 writel(~cause, mpic->per_cpu + MPIC_IN_DRBEL_CAUSE); in mpic_handle_msi_irq()
647 for_each_set_bit(i, &cause, BITS_PER_LONG) in mpic_handle_msi_irq()
657 unsigned long cause; in mpic_handle_ipi_irq() local
661 cause &= IPI_DOORBELL_MASK; in mpic_handle_ipi_irq()
663 for_each_set_bit(i, &cause, IPI_DOORBELL_NR) in mpic_handle_ipi_irq()
674 unsigned long cause; in mpic_handle_cascade_irq() local
680 cause = readl_relaxed(mpic->per_cpu + MPIC_PPI_CAUSE); in mpic_handle_cascade_irq()
[all …]
A Dirq-riscv-intc.c31 unsigned long cause = regs->cause & ~CAUSE_IRQ_FLAG; in riscv_intc_irq() local
33 if (generic_handle_domain_irq(intc_domain, cause)) in riscv_intc_irq()
34 pr_warn_ratelimited("Failed to handle interrupt (cause: %ld)\n", cause); in riscv_intc_irq()
/drivers/dma/qcom/
A Dhidma_ll.c390 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()
450 irqreturn_t hidma_ll_inthandler_msi(int chirq, void *arg, int cause) in hidma_ll_inthandler_msi() argument
[all …]
/drivers/net/wireless/intel/iwlwifi/mld/
A Dlow_latency.c198 enum iwl_mld_low_latency_cause cause) in iwl_mld_vif_set_low_latency() argument
201 mld_vif->low_latency_causes |= cause; in iwl_mld_vif_set_low_latency()
203 mld_vif->low_latency_causes &= ~cause; in iwl_mld_vif_set_low_latency()
209 enum iwl_mld_low_latency_cause cause) in iwl_mld_vif_update_low_latency() argument
215 iwl_mld_vif_set_low_latency(mld_vif, low_latency, cause); in iwl_mld_vif_update_low_latency()
223 iwl_mld_vif_set_low_latency(mld_vif, prev, cause); in iwl_mld_vif_update_low_latency()
/drivers/mfd/
A 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()
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()
219 cause = "Bad property"; in si476x_core_parse_and_nag_about_error()
[all …]
/drivers/net/wireless/intel/iwlwifi/
A Diwl-csr.h606 #define CSR_MSIX_RX_IVAR(cause) (CSR_MSIX_RX_IVAR_AD_REG + (cause)) argument
607 #define CSR_MSIX_IVAR(cause) (CSR_MSIX_IVAR_AD_REG + (cause)) argument
/drivers/scsi/csiostor/
A Dcsio_hw.c3612 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()
3639 if (cause & PCIE_F) in csio_hw_slow_intr_handler()
3642 if (cause & MC_F) in csio_hw_slow_intr_handler()
3651 if (cause & LE_F) in csio_hw_slow_intr_handler()
3654 if (cause & TP_F) in csio_hw_slow_intr_handler()
3657 if (cause & MA_F) in csio_hw_slow_intr_handler()
[all …]
/drivers/tty/serial/jsm/
A Djsm_neo.c698 u8 cause; in neo_parse_isr() local
747 cause = readb(&ch->ch_neo_uart->xoffchar1); in neo_parse_isr()
751 port, cause); in neo_parse_isr()
759 if (cause == UART_17158_XON_DETECT) { in neo_parse_isr()
768 else if (cause == UART_17158_XOFF_DETECT) { in neo_parse_isr()
786 cause = readb(&ch->ch_neo_uart->mcr); in neo_parse_isr()
790 if ((cause & 0x4) == 0) { in neo_parse_isr()
791 if (cause & UART_MCR_RTS) in neo_parse_isr()
796 if (cause & UART_MCR_DTR) in neo_parse_isr()
/drivers/accel/habanalabs/common/
A Dsecurity.c229 u32 cause, addr, block_base; in hl_ack_pb_security_violations() local
233 cause = RREG32(block_base + HL_BLOCK_GLBL_ERR_CAUSE); in hl_ack_pb_security_violations()
234 if (cause) { in hl_ack_pb_security_violations()
237 block_base, cause, addr); in hl_ack_pb_security_violations()
238 WREG32(block_base + HL_BLOCK_GLBL_ERR_CAUSE, cause); in hl_ack_pb_security_violations()
/drivers/misc/sgi-gru/
A Dgruhandles.h196 unsigned int cause:3; member
270 unsigned int cause:6; member
367 unsigned int cause:4; member
/drivers/net/wireless/marvell/libertas/
A Dif_sdio.c1104 u8 cause; in if_sdio_interrupt() local
1108 cause = sdio_readb(card->func, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1109 if (ret || !cause) in if_sdio_interrupt()
1112 lbs_deb_sdio("interrupt: 0x%X\n", (unsigned)cause); in if_sdio_interrupt()
1114 sdio_writeb(card->func, ~cause, IF_SDIO_H_INT_STATUS, &ret); in if_sdio_interrupt()
1123 if (cause & IF_SDIO_H_INT_DNLD) in if_sdio_interrupt()
1127 if (cause & IF_SDIO_H_INT_UPLD) { in if_sdio_interrupt()
/drivers/spi/
A Dspi-armada-3700.c319 u32 cause; in a3700_spi_interrupt() local
324 cause = spireg_read(a3700_spi, A3700_SPI_INT_STAT_REG); in a3700_spi_interrupt()
326 if (!cause || !(a3700_spi->wait_mask & cause)) in a3700_spi_interrupt()
331 spireg_write(a3700_spi, A3700_SPI_INT_STAT_REG, cause); in a3700_spi_interrupt()
/drivers/hid/intel-thc-hid/intel-thc/
A Dintel-thc-dev.c827 u32 cause = 0; in thc_print_txn_error_cause() local
829 regmap_read(dev->thc_regmap, THC_M_PRT_ERR_CAUSE_OFFSET, &cause); in thc_print_txn_error_cause()
831 if (cause & THC_M_PRT_ERR_CAUSE_PRD_ENTRY_ERR) { in thc_print_txn_error_cause()
835 if (cause & THC_M_PRT_ERR_CAUSE_BUF_OVRRUN_ERR) { in thc_print_txn_error_cause()
839 if (cause & THC_M_PRT_ERR_CAUSE_FRAME_BABBLE_ERR) { in thc_print_txn_error_cause()
843 if (cause & THC_M_PRT_ERR_CAUSE_INVLD_DEV_ENTRY) { in thc_print_txn_error_cause()
849 regmap_write(dev->thc_regmap, THC_M_PRT_ERR_CAUSE_OFFSET, cause); in thc_print_txn_error_cause()
853 cause); in thc_print_txn_error_cause()
/drivers/of/unittest-data/
A Doverlay_bad_phandle.dtso6 // This label should cause an error when the overlay
A Doverlay_bad_symbol.dtso6 // This label should cause an error when the overlay

Completed in 67 milliseconds

12345678