/Linux-v4.19/drivers/net/ethernet/stmicro/stmmac/ |
D | dwmac_lib.c | 163 u32 intr_status = readl(ioaddr + DMA_STATUS); in dwmac_dma_interrupt() local 167 pr_debug("%s: [CSR5: 0x%08x]\n", __func__, intr_status); in dwmac_dma_interrupt() 168 show_tx_process_state(intr_status); in dwmac_dma_interrupt() 169 show_rx_process_state(intr_status); in dwmac_dma_interrupt() 172 if (unlikely(intr_status & DMA_STATUS_AIS)) { in dwmac_dma_interrupt() 173 if (unlikely(intr_status & DMA_STATUS_UNF)) { in dwmac_dma_interrupt() 177 if (unlikely(intr_status & DMA_STATUS_TJT)) in dwmac_dma_interrupt() 180 if (unlikely(intr_status & DMA_STATUS_OVF)) in dwmac_dma_interrupt() 183 if (unlikely(intr_status & DMA_STATUS_RU)) in dwmac_dma_interrupt() 185 if (unlikely(intr_status & DMA_STATUS_RPS)) in dwmac_dma_interrupt() [all …]
|
D | dwmac4_lib.c | 129 u32 intr_status = readl(ioaddr + DMA_CHAN_STATUS(chan)); in dwmac4_dma_interrupt() local 132 if (unlikely(intr_status & DMA_CHAN_STATUS_AIS)) { in dwmac4_dma_interrupt() 133 if (unlikely(intr_status & DMA_CHAN_STATUS_RBU)) in dwmac4_dma_interrupt() 135 if (unlikely(intr_status & DMA_CHAN_STATUS_RPS)) in dwmac4_dma_interrupt() 137 if (unlikely(intr_status & DMA_CHAN_STATUS_RWT)) in dwmac4_dma_interrupt() 139 if (unlikely(intr_status & DMA_CHAN_STATUS_ETI)) in dwmac4_dma_interrupt() 141 if (unlikely(intr_status & DMA_CHAN_STATUS_TPS)) { in dwmac4_dma_interrupt() 145 if (unlikely(intr_status & DMA_CHAN_STATUS_FBE)) { in dwmac4_dma_interrupt() 151 if (likely(intr_status & DMA_CHAN_STATUS_NIS)) { in dwmac4_dma_interrupt() 153 if (likely(intr_status & DMA_CHAN_STATUS_RI)) { in dwmac4_dma_interrupt() [all …]
|
D | dwmac1000_core.c | 311 u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); in dwmac1000_irq_status() local 316 intr_status &= ~intr_mask; in dwmac1000_irq_status() 319 if ((intr_status & GMAC_INT_STATUS_MMCTIS)) in dwmac1000_irq_status() 321 if (unlikely(intr_status & GMAC_INT_STATUS_MMCRIS)) in dwmac1000_irq_status() 323 if (unlikely(intr_status & GMAC_INT_STATUS_MMCCSUM)) in dwmac1000_irq_status() 325 if (unlikely(intr_status & GMAC_INT_DISABLE_PMT)) { in dwmac1000_irq_status() 332 if (intr_status & GMAC_INT_STATUS_LPIIS) { in dwmac1000_irq_status() 346 dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); in dwmac1000_irq_status() 348 if (intr_status & PCS_RGSMIIIS_IRQ) in dwmac1000_irq_status()
|
D | stmmac_pcs.h | 61 unsigned int intr_status, in dwmac_pcs_isr() argument 66 if (intr_status & PCS_ANE_IRQ) { in dwmac_pcs_isr() 72 if (intr_status & PCS_LINK_IRQ) { in dwmac_pcs_isr()
|
D | dwxgmac2_dma.c | 262 u32 intr_status = readl(ioaddr + XGMAC_DMA_CH_STATUS(chan)); in dwxgmac2_dma_interrupt() local 266 if (unlikely(intr_status & XGMAC_AIS)) { in dwxgmac2_dma_interrupt() 267 if (unlikely(intr_status & XGMAC_TPS)) { in dwxgmac2_dma_interrupt() 271 if (unlikely(intr_status & XGMAC_FBE)) { in dwxgmac2_dma_interrupt() 278 if (likely(intr_status & XGMAC_NIS)) { in dwxgmac2_dma_interrupt() 281 if (likely(intr_status & XGMAC_RI)) { in dwxgmac2_dma_interrupt() 288 if (likely(intr_status & XGMAC_TI)) { in dwxgmac2_dma_interrupt()
|
D | dwmac4_core.c | 569 u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); in dwmac4_irq_status() local 574 intr_status &= intr_enable; in dwmac4_irq_status() 577 if ((intr_status & mmc_tx_irq)) in dwmac4_irq_status() 579 if (unlikely(intr_status & mmc_rx_irq)) in dwmac4_irq_status() 581 if (unlikely(intr_status & mmc_rx_csum_offload_irq)) in dwmac4_irq_status() 584 if (unlikely(intr_status & pmt_irq)) { in dwmac4_irq_status() 590 if (intr_status & lpi_irq) { in dwmac4_irq_status() 608 dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); in dwmac4_irq_status() 609 if (intr_status & PCS_RGSMIIIS_IRQ) in dwmac4_irq_status()
|
/Linux-v4.19/drivers/fpga/ |
D | zynq-fpga.c | 223 u32 intr_status; in zynq_fpga_isr() local 230 intr_status = zynq_fpga_read(priv, INT_STS_OFFSET); in zynq_fpga_isr() 231 if (!(intr_status & IXR_ERROR_FLAGS_MASK) && in zynq_fpga_isr() 232 (intr_status & IXR_DMA_DONE_MASK) && priv->cur_sg) { in zynq_fpga_isr() 397 u32 intr_status; in zynq_fpga_ops_write() local 446 intr_status = zynq_fpga_read(priv, INT_STS_OFFSET); in zynq_fpga_ops_write() 455 if (intr_status & IXR_ERROR_FLAGS_MASK) { in zynq_fpga_ops_write() 462 !((intr_status & IXR_D_P_DONE_MASK) == IXR_D_P_DONE_MASK)) { in zynq_fpga_ops_write() 478 intr_status, in zynq_fpga_ops_write() 498 u32 intr_status; in zynq_fpga_ops_write_complete() local [all …]
|
/Linux-v4.19/drivers/mmc/host/ |
D | mvsdio.c | 351 u32 intr_status, intr_done_mask; in mvsd_irq() local 354 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 356 intr_status, mvsd_read(MVSD_NOR_INTR_EN), in mvsd_irq() 377 (intr_status & host->intr_en & in mvsd_irq() 381 while (s >= 32 && (intr_status & MVSD_NOR_RX_FIFO_8W)) { in mvsd_irq() 385 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 393 while (s >= 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq() 397 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() 399 if (s && s < 4 && (intr_status & MVSD_NOR_RX_READY)) { in mvsd_irq() 405 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS); in mvsd_irq() [all …]
|
/Linux-v4.19/drivers/scsi/qla4xxx/ |
D | ql4_isr.c | 1028 uint32_t intr_status) in qla4_83xx_interrupt_service_routine() argument 1031 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() 1077 uint32_t intr_status) in qla4xxx_interrupt_service_routine() argument 1080 if (intr_status & CSR_SCSI_COMPLETION_INTR) in qla4xxx_interrupt_service_routine() 1084 if (intr_status & CSR_SCSI_PROCESSOR_INTR) { in qla4xxx_interrupt_service_routine() 1125 uint32_t intr_status; in qla4xxx_intr_handler() local 1149 intr_status = CSR_SCSI_COMPLETION_INTR; in qla4xxx_intr_handler() [all …]
|
/Linux-v4.19/drivers/input/serio/ |
D | sun4i-ps2.c | 97 u32 intr_status; in sun4i_ps2_interrupt() local 106 intr_status = readl(drvdata->reg_base + PS2_REG_LSTS); in sun4i_ps2_interrupt() 110 if (intr_status & PS2_LINE_ERROR_BIT) { in sun4i_ps2_interrupt() 111 rxflags = (intr_status & PS2_LINE_ERROR_BIT) ? SERIO_FRAME : 0; in sun4i_ps2_interrupt() 112 rxflags |= (intr_status & PS2_LSTS_PARERR) ? SERIO_PARITY : 0; in sun4i_ps2_interrupt() 113 rxflags |= (intr_status & PS2_LSTS_PARERR) ? SERIO_TIMEOUT : 0; in sun4i_ps2_interrupt() 133 writel(intr_status, drvdata->reg_base + PS2_REG_LSTS); in sun4i_ps2_interrupt()
|
/Linux-v4.19/drivers/iio/adc/ |
D | bcm_iproc_adc.c | 149 u32 intr_status; in iproc_adc_interrupt_thread() local 159 regmap_read(adc_priv->regmap, IPROC_INTERRUPT_STATUS, &intr_status); in iproc_adc_interrupt_thread() 161 intr_status = intr_status & intr_mask; in iproc_adc_interrupt_thread() 162 channel_intr_status = (intr_status & IPROC_ADC_INTR_MASK) >> in iproc_adc_interrupt_thread() 176 u32 intr_status; in iproc_adc_interrupt_handler() local 183 regmap_read(adc_priv->regmap, IPROC_INTERRUPT_STATUS, &intr_status); in iproc_adc_interrupt_handler() 185 intr_status); in iproc_adc_interrupt_handler() 187 intr_channels = (intr_status & IPROC_ADC_INTR_MASK) >> IPROC_ADC_INTR; in iproc_adc_interrupt_handler()
|
/Linux-v4.19/drivers/scsi/bfa/ |
D | bfa_hw_cb.c | 31 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwcb_reginit() 34 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwcb_reginit() 43 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_reqq_ack_msix() 57 bfa->iocfc.bfa_regs.intr_status); in bfa_hwcb_rspq_ack_msix()
|
D | bfa_hw_ct.c | 41 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS); in bfa_hwct_reginit() 44 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS); in bfa_hwct_reginit() 55 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS); in bfa_hwct2_reginit()
|
/Linux-v4.19/drivers/input/touchscreen/ |
D | bcm_iproc_tsc.c | 198 u32 intr_status; in iproc_touchscreen_interrupt() local 205 regmap_read(priv->regmap, INTERRUPT_STATUS, &intr_status); in iproc_touchscreen_interrupt() 206 intr_status &= TS_PEN_INTR_MASK | TS_FIFO_INTR_MASK; in iproc_touchscreen_interrupt() 207 if (intr_status == 0) in iproc_touchscreen_interrupt() 211 regmap_write(priv->regmap, INTERRUPT_STATUS, intr_status); in iproc_touchscreen_interrupt() 213 if (intr_status & TS_PEN_INTR_MASK) { in iproc_touchscreen_interrupt() 228 if (intr_status & TS_FIFO_INTR_MASK) { in iproc_touchscreen_interrupt()
|
/Linux-v4.19/drivers/net/ethernet/adaptec/ |
D | starfire.c | 583 static void netdev_error(struct net_device *dev, int intr_status); 587 static void netdev_error(struct net_device *dev, int intr_status); 1322 u32 intr_status = readl(ioaddr + IntrClear); in intr_handler() local 1326 dev->name, intr_status); in intr_handler() 1328 if (intr_status == 0 || intr_status == (u32) -1) in intr_handler() 1333 if (intr_status & (IntrRxDone | IntrRxEmpty)) { in intr_handler() 1407 if (intr_status & IntrStatsMax) in intr_handler() 1411 if (intr_status & IntrLinkChange) in intr_handler() 1415 if (intr_status & IntrAbnormalSummary) in intr_handler() 1416 netdev_error(dev, intr_status); in intr_handler() [all …]
|
/Linux-v4.19/drivers/net/ethernet/silan/ |
D | sc92031.c | 289 u32 intr_status; member 625 priv->intr_status = 0; in _sc92031_reset() 839 u32 intr_status, intr_mask; in sc92031_tasklet() local 841 intr_status = priv->intr_status; in sc92031_tasklet() 848 if (intr_status & TxOK) in sc92031_tasklet() 851 if (intr_status & RxOK) in sc92031_tasklet() 854 if (intr_status & RxOverflow) in sc92031_tasklet() 857 if (intr_status & TimeOut) { in sc92031_tasklet() 862 if (intr_status & (LinkFail | LinkOK)) in sc92031_tasklet() 880 u32 intr_status, intr_mask; in sc92031_interrupt() local [all …]
|
/Linux-v4.19/drivers/net/ethernet/dec/tulip/ |
D | winbond-840.c | 339 static void netdev_error(struct net_device *dev, int intr_status); 1121 u32 intr_status = ioread32(ioaddr + IntrStatus); in intr_handler() local 1124 iowrite32(intr_status & 0x001ffff, ioaddr + IntrStatus); in intr_handler() 1127 netdev_dbg(dev, "Interrupt, status %04x\n", intr_status); in intr_handler() 1129 if ((intr_status & (NormalIntr|AbnormalIntr)) == 0) in intr_handler() 1134 if (intr_status & (RxIntr | RxNoBuf)) in intr_handler() 1136 if (intr_status & RxNoBuf) in intr_handler() 1139 if (intr_status & (TxNoBuf | TxIntr) && in intr_handler() 1147 if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SystemError | in intr_handler() 1149 netdev_error(dev, intr_status); in intr_handler() [all …]
|
/Linux-v4.19/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1596 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx() argument 1715 if (intr_status & EESR_RDE && !mdp->cd->no_xdfar) { in sh_eth_rx() 1777 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error() argument 1782 if (intr_status & EESR_TWB) { in sh_eth_error() 1784 if (intr_status & EESR_TABT) { /* Transmit Abort int */ in sh_eth_error() 1790 if (intr_status & EESR_RABT) { in sh_eth_error() 1792 if (intr_status & EESR_RFRMER) { in sh_eth_error() 1798 if (intr_status & EESR_TDE) { in sh_eth_error() 1804 if (intr_status & EESR_TFE) { in sh_eth_error() 1810 if (intr_status & EESR_RDE) { in sh_eth_error() [all …]
|
/Linux-v4.19/drivers/input/misc/ |
D | cma3000_d0x.c | 118 int datax, datay, dataz, intr_status; in cma3000_thread_irq() local 121 intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status"); in cma3000_thread_irq() 122 if (intr_status < 0) in cma3000_thread_irq() 126 if (intr_status & CMA3000_INTSTATUS_FFDET) { in cma3000_thread_irq()
|
/Linux-v4.19/drivers/tty/serial/ |
D | sirfsoc_uart.c | 466 unsigned long intr_status; in sirfsoc_uart_isr() local 478 intr_status = rd_regl(port, ureg->sirfsoc_int_st_reg); in sirfsoc_uart_isr() 479 wr_regl(port, ureg->sirfsoc_int_st_reg, intr_status); in sirfsoc_uart_isr() 480 intr_status &= rd_regl(port, ureg->sirfsoc_int_en_reg); in sirfsoc_uart_isr() 481 if (unlikely(intr_status & (SIRFUART_ERR_INT_STAT(uint_st, in sirfsoc_uart_isr() 483 if (intr_status & uint_st->sirfsoc_rxd_brk) { in sirfsoc_uart_isr() 488 if (intr_status & uint_st->sirfsoc_rx_oflow) { in sirfsoc_uart_isr() 492 if (intr_status & uint_st->sirfsoc_frm_err) { in sirfsoc_uart_isr() 496 if (intr_status & uint_st->sirfsoc_parity_err) { in sirfsoc_uart_isr() 503 intr_status &= port->read_status_mask; in sirfsoc_uart_isr() [all …]
|
/Linux-v4.19/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 558 static void hamachi_error(struct net_device *dev, int intr_status); 1307 u32 intr_status = readl(ioaddr + InterruptClear); in hamachi_interrupt() local 1311 dev->name, intr_status); in hamachi_interrupt() 1313 if (intr_status == 0) in hamachi_interrupt() 1318 if (intr_status & IntrRxDone) in hamachi_interrupt() 1321 if (intr_status & IntrTxDone){ in hamachi_interrupt() 1361 if (intr_status & in hamachi_interrupt() 1364 hamachi_error(dev, intr_status); in hamachi_interrupt() 1368 dev->name, intr_status); in hamachi_interrupt() 1611 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); 900 u16 intr_status = ioread16(ioaddr + IntrClear); in yellowfin_interrupt() local 904 intr_status); in yellowfin_interrupt() 906 if (intr_status == 0) in yellowfin_interrupt() 910 if (intr_status & (IntrRxDone | IntrEarlyRx)) { in yellowfin_interrupt() 938 if ((intr_status & IntrTxDone) || (yp->tx_tail_desc->tx_errs)) { in yellowfin_interrupt() 1013 if (intr_status & 0x2ee) /* Abnormal error summary. */ in yellowfin_interrupt() 1014 yellowfin_error(dev, intr_status); in yellowfin_interrupt() 1018 intr_status); in yellowfin_interrupt() 1175 static void yellowfin_error(struct net_device *dev, int intr_status) in yellowfin_error() argument [all …]
|
/Linux-v4.19/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 1376 u32 intr_status; in xgmac_pmt_interrupt() local 1381 intr_status = __raw_readl(ioaddr + XGMAC_INT_STAT); in xgmac_pmt_interrupt() 1382 if (intr_status & XGMAC_INT_STAT_PMT) { in xgmac_pmt_interrupt() 1392 u32 intr_status; in xgmac_interrupt() local 1398 intr_status = __raw_readl(priv->base + XGMAC_DMA_STATUS); in xgmac_interrupt() 1399 intr_status &= __raw_readl(priv->base + XGMAC_DMA_INTR_ENA); in xgmac_interrupt() 1400 __raw_writel(intr_status, priv->base + XGMAC_DMA_STATUS); in xgmac_interrupt() 1404 if (unlikely(intr_status & DMA_STATUS_AIS)) { in xgmac_interrupt() 1405 if (intr_status & DMA_STATUS_TJT) { in xgmac_interrupt() 1409 if (intr_status & DMA_STATUS_RU) in xgmac_interrupt() [all …]
|
/Linux-v4.19/drivers/spi/ |
D | spi-cadence.c | 352 u32 intr_status, status; in cdns_spi_irq() local 355 intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR); in cdns_spi_irq() 356 cdns_spi_write(xspi, CDNS_SPI_ISR, intr_status); in cdns_spi_irq() 358 if (intr_status & CDNS_SPI_IXR_MODF) { in cdns_spi_irq() 366 } else if (intr_status & CDNS_SPI_IXR_TXOW) { in cdns_spi_irq()
|
/Linux-v4.19/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 564 u32 intr_status; member 626 static void netdev_error(struct net_device *dev, int intr_status); 879 np->intr_status = 0; in natsemi_probe1() 1470 np->intr_status &= ~RxResetDone; in reset_rx() 1475 np->intr_status |= readl(ioaddr + IntrStatus); in reset_rx() 1476 if (np->intr_status & RxResetDone) in reset_rx() 2200 np->intr_status = readl(ioaddr + IntrStatus); in intr_handler() 2202 if (!np->intr_status) in intr_handler() 2208 dev->name, np->intr_status, in intr_handler() 2220 dev->name, np->intr_status, in intr_handler() [all …]
|