/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac_lib.c | 162 u32 intr_status = readl(ioaddr + DMA_STATUS); in dwmac_dma_interrupt() local 166 pr_debug("%s: [CSR5: 0x%08x]\n", __func__, intr_status); in dwmac_dma_interrupt() 167 show_tx_process_state(intr_status); in dwmac_dma_interrupt() 168 show_rx_process_state(intr_status); in dwmac_dma_interrupt() 172 intr_status &= DMA_STATUS_MSK_RX; in dwmac_dma_interrupt() 174 intr_status &= DMA_STATUS_MSK_TX; in dwmac_dma_interrupt() 177 if (unlikely(intr_status & DMA_STATUS_AIS)) { in dwmac_dma_interrupt() 178 if (unlikely(intr_status & DMA_STATUS_UNF)) { in dwmac_dma_interrupt() 182 if (unlikely(intr_status & DMA_STATUS_TJT)) in dwmac_dma_interrupt() 185 if (unlikely(intr_status & DMA_STATUS_OVF)) in dwmac_dma_interrupt() [all …]
|
D | dwmac4_lib.c | 140 u32 intr_status = readl(ioaddr + DMA_CHAN_STATUS(chan)); in dwmac4_dma_interrupt() local 145 intr_status &= DMA_CHAN_STATUS_MSK_RX; in dwmac4_dma_interrupt() 147 intr_status &= DMA_CHAN_STATUS_MSK_TX; in dwmac4_dma_interrupt() 150 if (unlikely(intr_status & DMA_CHAN_STATUS_AIS)) { in dwmac4_dma_interrupt() 151 if (unlikely(intr_status & DMA_CHAN_STATUS_RBU)) in dwmac4_dma_interrupt() 153 if (unlikely(intr_status & DMA_CHAN_STATUS_RPS)) in dwmac4_dma_interrupt() 155 if (unlikely(intr_status & DMA_CHAN_STATUS_RWT)) in dwmac4_dma_interrupt() 157 if (unlikely(intr_status & DMA_CHAN_STATUS_ETI)) in dwmac4_dma_interrupt() 159 if (unlikely(intr_status & DMA_CHAN_STATUS_TPS)) { in dwmac4_dma_interrupt() 163 if (unlikely(intr_status & DMA_CHAN_STATUS_FBE)) { in dwmac4_dma_interrupt() [all …]
|
D | dwmac1000_core.c | 301 u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); in dwmac1000_irq_status() local 306 intr_status &= ~intr_mask; in dwmac1000_irq_status() 309 if ((intr_status & GMAC_INT_STATUS_MMCTIS)) in dwmac1000_irq_status() 311 if (unlikely(intr_status & GMAC_INT_STATUS_MMCRIS)) in dwmac1000_irq_status() 313 if (unlikely(intr_status & GMAC_INT_STATUS_MMCCSUM)) in dwmac1000_irq_status() 315 if (unlikely(intr_status & GMAC_INT_DISABLE_PMT)) { in dwmac1000_irq_status() 322 if (intr_status & GMAC_INT_STATUS_LPIIS) { in dwmac1000_irq_status() 336 dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); in dwmac1000_irq_status() 338 if (intr_status & PCS_RGSMIIIS_IRQ) in dwmac1000_irq_status()
|
D | dwxgmac2_dma.c | 329 u32 intr_status = readl(ioaddr + XGMAC_DMA_CH_STATUS(chan)); in dwxgmac2_dma_interrupt() local 334 intr_status &= XGMAC_DMA_STATUS_MSK_RX; in dwxgmac2_dma_interrupt() 336 intr_status &= XGMAC_DMA_STATUS_MSK_TX; in dwxgmac2_dma_interrupt() 339 if (unlikely(intr_status & XGMAC_AIS)) { in dwxgmac2_dma_interrupt() 340 if (unlikely(intr_status & XGMAC_RBU)) { in dwxgmac2_dma_interrupt() 344 if (unlikely(intr_status & XGMAC_TPS)) { in dwxgmac2_dma_interrupt() 348 if (unlikely(intr_status & XGMAC_FBE)) { in dwxgmac2_dma_interrupt() 355 if (likely(intr_status & XGMAC_NIS)) { in dwxgmac2_dma_interrupt() 358 if (likely(intr_status & XGMAC_RI)) { in dwxgmac2_dma_interrupt() 362 if (likely(intr_status & (XGMAC_TI | XGMAC_TBU))) { in dwxgmac2_dma_interrupt() [all …]
|
D | stmmac_pcs.h | 57 unsigned int intr_status, in dwmac_pcs_isr() argument 62 if (intr_status & PCS_ANE_IRQ) { in dwmac_pcs_isr() 68 if (intr_status & PCS_LINK_IRQ) { in dwmac_pcs_isr()
|
/linux-6.1.9/drivers/fpga/ |
D | zynq-fpga.c | 215 u32 intr_status; in zynq_fpga_isr() local 222 intr_status = zynq_fpga_read(priv, INT_STS_OFFSET); in zynq_fpga_isr() 223 if (!(intr_status & IXR_ERROR_FLAGS_MASK) && in zynq_fpga_isr() 224 (intr_status & IXR_DMA_DONE_MASK) && priv->cur_sg) { in zynq_fpga_isr() 389 u32 intr_status; in zynq_fpga_ops_write() local 438 intr_status = zynq_fpga_read(priv, INT_STS_OFFSET); in zynq_fpga_ops_write() 447 if (intr_status & IXR_ERROR_FLAGS_MASK) { in zynq_fpga_ops_write() 454 !((intr_status & IXR_D_P_DONE_MASK) == IXR_D_P_DONE_MASK)) { in zynq_fpga_ops_write() 470 intr_status, in zynq_fpga_ops_write() 490 u32 intr_status; in zynq_fpga_ops_write_complete() local [all …]
|
/linux-6.1.9/drivers/mmc/host/ |
D | mvsdio.c | 348 u32 intr_status, intr_done_mask; in mvsd_irq() local 351 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 353 intr_status, mvsd_read(MVSD_NOR_INTR_EN), in mvsd_irq() 374 (intr_status & host->intr_en & in mvsd_irq() 378 while (s >= 32 && (intr_status & MVSD_NOR_RX_FIFO_8W)) { in mvsd_irq() 382 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 390 while (s >= 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq() 394 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 396 if (s && s < 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq() 402 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() [all …]
|
/linux-6.1.9/drivers/net/wwan/t7xx/ |
D | t7xx_dpmaif.c | 225 unsigned int intr_status, in t7xx_dpmaif_hw_check_tx_intr() argument 230 value = FIELD_GET(DP_UL_INT_QDONE_MSK, intr_status); in t7xx_dpmaif_hw_check_tx_intr() 240 value = FIELD_GET(DP_UL_INT_EMPTY_MSK, intr_status); in t7xx_dpmaif_hw_check_tx_intr() 244 value = FIELD_GET(DP_UL_INT_MD_NOTREADY_MSK, intr_status); in t7xx_dpmaif_hw_check_tx_intr() 248 value = FIELD_GET(DP_UL_INT_MD_PWR_NOTREADY_MSK, intr_status); in t7xx_dpmaif_hw_check_tx_intr() 252 value = FIELD_GET(DP_UL_INT_ERR_MSK, intr_status); in t7xx_dpmaif_hw_check_tx_intr() 257 iowrite32(intr_status, hw_info->pcie_base + DPMAIF_AP_L2TISAR0); in t7xx_dpmaif_hw_check_tx_intr() 264 unsigned int intr_status, in t7xx_dpmaif_hw_check_rx_intr() argument 268 if (intr_status & DP_DL_INT_SKB_LEN_ERR) in t7xx_dpmaif_hw_check_rx_intr() 271 if (intr_status & DP_DL_INT_BATCNT_LEN_ERR) { in t7xx_dpmaif_hw_check_rx_intr() [all …]
|
D | t7xx_hif_dpmaif.c | 83 struct dpmaif_hw_intr_st_para intr_status; in t7xx_dpmaif_irq_cb() local 88 memset(&intr_status, 0, sizeof(intr_status)); in t7xx_dpmaif_irq_cb() 91 if (t7xx_dpmaif_hw_get_intr_cnt(hw_info, &intr_status, isr_para->dlq_id) < 0) { in t7xx_dpmaif_irq_cb() 98 for (i = 0; i < intr_status.intr_cnt; i++) { in t7xx_dpmaif_irq_cb() 99 switch (intr_status.intr_types[i]) { in t7xx_dpmaif_irq_cb() 101 t7xx_dpmaif_irq_tx_done(dpmaif_ctrl, intr_status.intr_queues[i]); in t7xx_dpmaif_irq_cb() 133 t7xx_dpmaif_irq_rx_done(dpmaif_ctrl, intr_status.intr_queues[i]); in t7xx_dpmaif_irq_cb() 138 intr_status.intr_types[i]); in t7xx_dpmaif_irq_cb()
|
/linux-6.1.9/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 1027 uint32_t intr_status) in qla4_83xx_interrupt_service_routine() argument 1030 if (intr_status) { in qla4_83xx_interrupt_service_routine() 1052 uint32_t intr_status) in qla4_82xx_interrupt_service_routine() argument 1055 if ((intr_status & HSRX_RISC_IOCB_INT) && in qla4_82xx_interrupt_service_routine() 1060 if (intr_status & HSRX_RISC_MB_INT) in qla4_82xx_interrupt_service_routine() 1078 uint32_t intr_status) in qla4xxx_interrupt_service_routine() argument 1081 if (intr_status & CSR_SCSI_COMPLETION_INTR) in qla4xxx_interrupt_service_routine() 1085 if (intr_status & CSR_SCSI_PROCESSOR_INTR) { in qla4xxx_interrupt_service_routine() 1126 uint32_t intr_status; in qla4xxx_intr_handler() local 1150 intr_status = CSR_SCSI_COMPLETION_INTR; in qla4xxx_intr_handler() [all …]
|
/linux-6.1.9/drivers/input/serio/ |
D | sun4i-ps2.c | 98 u32 intr_status; in sun4i_ps2_interrupt() local 107 intr_status = readl(drvdata->reg_base + PS2_REG_LSTS); in sun4i_ps2_interrupt() 111 if (intr_status & PS2_LINE_ERROR_BIT) { in sun4i_ps2_interrupt() 112 rxflags = (intr_status & PS2_LINE_ERROR_BIT) ? SERIO_FRAME : 0; in sun4i_ps2_interrupt() 113 rxflags |= (intr_status & PS2_LSTS_PARERR) ? SERIO_PARITY : 0; in sun4i_ps2_interrupt() 114 rxflags |= (intr_status & PS2_LSTS_PARERR) ? SERIO_TIMEOUT : 0; in sun4i_ps2_interrupt() 134 writel(intr_status, drvdata->reg_base + PS2_REG_LSTS); in sun4i_ps2_interrupt()
|
/linux-6.1.9/drivers/iio/adc/ |
D | bcm_iproc_adc.c | 138 u32 intr_status; in iproc_adc_interrupt_thread() local 148 regmap_read(adc_priv->regmap, IPROC_INTERRUPT_STATUS, &intr_status); in iproc_adc_interrupt_thread() 150 intr_status = intr_status & intr_mask; in iproc_adc_interrupt_thread() 151 channel_intr_status = (intr_status & IPROC_ADC_INTR_MASK) >> in iproc_adc_interrupt_thread() 165 u32 intr_status; in iproc_adc_interrupt_handler() local 172 regmap_read(adc_priv->regmap, IPROC_INTERRUPT_STATUS, &intr_status); in iproc_adc_interrupt_handler() 174 intr_status); in iproc_adc_interrupt_handler() 176 intr_channels = (intr_status & IPROC_ADC_INTR_MASK) >> IPROC_ADC_INTR; in iproc_adc_interrupt_handler()
|
/linux-6.1.9/drivers/scsi/bfa/ |
D | bfa_hw_cb.c | 23 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit() 26 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit() 35 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_reqq_ack_msix() 49 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_rspq_ack_msix()
|
D | bfa_hw_ct.c | 33 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit() 36 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit() 47 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); in bfa_hwct2_reginit()
|
/linux-6.1.9/drivers/net/ethernet/silan/ |
D | sc92031.c | 289 u32 intr_status; member 624 priv->intr_status = 0; in _sc92031_reset() 838 u32 intr_status, intr_mask; in sc92031_tasklet() local 840 intr_status = priv->intr_status; in sc92031_tasklet() 847 if (intr_status & TxOK) in sc92031_tasklet() 850 if (intr_status & RxOK) in sc92031_tasklet() 853 if (intr_status & RxOverflow) in sc92031_tasklet() 856 if (intr_status & TimeOut) { in sc92031_tasklet() 861 if (intr_status & (LinkFail | LinkOK)) in sc92031_tasklet() 878 u32 intr_status, intr_mask; in sc92031_interrupt() local [all …]
|
/linux-6.1.9/drivers/input/touchscreen/ |
D | bcm_iproc_tsc.c | 191 u32 intr_status; in iproc_touchscreen_interrupt() local 198 regmap_read(priv->regmap, INTERRUPT_STATUS, &intr_status); in iproc_touchscreen_interrupt() 199 intr_status &= TS_PEN_INTR_MASK | TS_FIFO_INTR_MASK; in iproc_touchscreen_interrupt() 200 if (intr_status == 0) in iproc_touchscreen_interrupt() 204 regmap_write(priv->regmap, INTERRUPT_STATUS, intr_status); in iproc_touchscreen_interrupt() 206 if (intr_status & TS_PEN_INTR_MASK) { in iproc_touchscreen_interrupt() 221 if (intr_status & TS_FIFO_INTR_MASK) { in iproc_touchscreen_interrupt()
|
/linux-6.1.9/drivers/net/ethernet/adaptec/ |
D | starfire.c | 575 static void netdev_error(struct net_device *dev, int intr_status); 579 static void netdev_error(struct net_device *dev, int intr_status); 1312 u32 intr_status = readl(ioaddr + IntrClear); in intr_handler() local 1316 dev->name, intr_status); in intr_handler() 1318 if (intr_status == 0 || intr_status == (u32) -1) in intr_handler() 1323 if (intr_status & (IntrRxDone | IntrRxEmpty)) { in intr_handler() 1397 if (intr_status & IntrStatsMax) in intr_handler() 1401 if (intr_status & IntrLinkChange) in intr_handler() 1405 if (intr_status & IntrAbnormalSummary) in intr_handler() 1406 netdev_error(dev, intr_status); in intr_handler() [all …]
|
/linux-6.1.9/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 329 static void netdev_error(struct net_device *dev, int intr_status); 1107 u32 intr_status = ioread32(ioaddr + IntrStatus); in intr_handler() local 1110 iowrite32(intr_status & 0x001ffff, ioaddr + IntrStatus); in intr_handler() 1113 netdev_dbg(dev, "Interrupt, status %04x\n", intr_status); in intr_handler() 1115 if ((intr_status & (NormalIntr|AbnormalIntr)) == 0) in intr_handler() 1120 if (intr_status & (RxIntr | RxNoBuf)) in intr_handler() 1122 if (intr_status & RxNoBuf) in intr_handler() 1125 if (intr_status & (TxNoBuf | TxIntr) && in intr_handler() 1133 if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SystemError | in intr_handler() 1135 netdev_error(dev, intr_status); in intr_handler() [all …]
|
/linux-6.1.9/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1586 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx() argument 1707 if (intr_status & EESR_RDE && !mdp->cd->no_xdfar) { in sh_eth_rx() 1769 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error() argument 1774 if (intr_status & EESR_TWB) { in sh_eth_error() 1776 if (intr_status & EESR_TABT) { /* Transmit Abort int */ in sh_eth_error() 1782 if (intr_status & EESR_RABT) { in sh_eth_error() 1784 if (intr_status & EESR_RFRMER) { in sh_eth_error() 1790 if (intr_status & EESR_TDE) { in sh_eth_error() 1796 if (intr_status & EESR_TFE) { in sh_eth_error() 1802 if (intr_status & EESR_RDE) { in sh_eth_error() [all …]
|
/linux-6.1.9/drivers/input/misc/ |
D | cma3000_d0x.c | 107 int datax, datay, dataz, intr_status; in cma3000_thread_irq() local 110 intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); in cma3000_thread_irq() 111 if (intr_status < 0) in cma3000_thread_irq() 115 if (intr_status & CMA3000_INTSTATUS_FFDET) { in cma3000_thread_irq()
|
/linux-6.1.9/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 560 static void hamachi_error(struct net_device *dev, int intr_status); 1320 u32 intr_status = readl(ioaddr + InterruptClear); in hamachi_interrupt() local 1324 dev->name, intr_status); in hamachi_interrupt() 1326 if (intr_status == 0) in hamachi_interrupt() 1331 if (intr_status & IntrRxDone) in hamachi_interrupt() 1334 if (intr_status & IntrTxDone){ in hamachi_interrupt() 1374 if (intr_status & in hamachi_interrupt() 1377 hamachi_error(dev, intr_status); in hamachi_interrupt() 1381 dev->name, intr_status); in hamachi_interrupt() 1626 static void hamachi_error(struct net_device *dev, int intr_status) in hamachi_error() argument [all …]
|
D | yellowfin.c | 353 static void yellowfin_error(struct net_device *dev, int intr_status); 911 u16 intr_status = ioread16(ioaddr + IntrClear); in yellowfin_interrupt() local 915 intr_status); in yellowfin_interrupt() 917 if (intr_status == 0) in yellowfin_interrupt() 921 if (intr_status & (IntrRxDone | IntrEarlyRx)) { in yellowfin_interrupt() 950 if ((intr_status & IntrTxDone) || (yp->tx_tail_desc->tx_errs)) { in yellowfin_interrupt() 1025 if (intr_status & 0x2ee) /* Abnormal error summary. */ in yellowfin_interrupt() 1026 yellowfin_error(dev, intr_status); in yellowfin_interrupt() 1030 intr_status); in yellowfin_interrupt() 1190 static void yellowfin_error(struct net_device *dev, int intr_status) in yellowfin_error() argument [all …]
|
/linux-6.1.9/drivers/spi/ |
D | spi-zynq-qspi.c | 475 u32 intr_status; in zynq_qspi_irq() local 479 intr_status = zynq_qspi_read(xqspi, ZYNQ_QSPI_STATUS_OFFSET); in zynq_qspi_irq() 480 zynq_qspi_write(xqspi, ZYNQ_QSPI_STATUS_OFFSET, intr_status); in zynq_qspi_irq() 482 if ((intr_status & ZYNQ_QSPI_IXR_TXNFULL_MASK) || in zynq_qspi_irq() 483 (intr_status & ZYNQ_QSPI_IXR_RXNEMTY_MASK)) { in zynq_qspi_irq() 489 txempty = !!(intr_status & ZYNQ_QSPI_IXR_TXNFULL_MASK); in zynq_qspi_irq()
|
D | spi-cadence.c | 346 u32 intr_status; in cdns_spi_irq() local 349 intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR); in cdns_spi_irq() 350 cdns_spi_write(xspi, CDNS_SPI_ISR, intr_status); in cdns_spi_irq() 352 if (intr_status & CDNS_SPI_IXR_MODF) { in cdns_spi_irq() 360 } else if (intr_status & CDNS_SPI_IXR_TXOW) { in cdns_spi_irq()
|
/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_interrupts.c | 367 u32 intr_status; in dpu_core_irq_read() local 386 intr_status = DPU_REG_READ(&intr->hw, in dpu_core_irq_read() 389 if (intr_status) in dpu_core_irq_read() 391 intr_status); in dpu_core_irq_read() 398 return intr_status; in dpu_core_irq_read()
|