/kernel/linux/linux-5.10/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() 171 if (unlikely(intr_status & DMA_STATUS_AIS)) { in dwmac_dma_interrupt() 172 if (unlikely(intr_status & DMA_STATUS_UNF)) { in dwmac_dma_interrupt() 176 if (unlikely(intr_status & DMA_STATUS_TJT)) in dwmac_dma_interrupt() 179 if (unlikely(intr_status & DMA_STATUS_OVF)) in dwmac_dma_interrupt() 182 if (unlikely(intr_status & DMA_STATUS_RU)) in dwmac_dma_interrupt() 184 if (unlikely(intr_status & DMA_STATUS_RPS)) 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 if (unlikely(intr_status & DMA_CHAN_STATUS_AIS)) { in dwmac4_dma_interrupt() 146 if (unlikely(intr_status & DMA_CHAN_STATUS_RBU)) in dwmac4_dma_interrupt() 148 if (unlikely(intr_status & DMA_CHAN_STATUS_RPS)) in dwmac4_dma_interrupt() 150 if (unlikely(intr_status & DMA_CHAN_STATUS_RWT)) in dwmac4_dma_interrupt() 152 if (unlikely(intr_status & DMA_CHAN_STATUS_ETI)) in dwmac4_dma_interrupt() 154 if (unlikely(intr_status & DMA_CHAN_STATUS_TPS)) { in dwmac4_dma_interrupt() 158 if (unlikely(intr_status & DMA_CHAN_STATUS_FBE)) { in dwmac4_dma_interrupt() 164 if (likely(intr_status & DMA_CHAN_STATUS_NIS)) { in dwmac4_dma_interrupt() 166 if (likely(intr_status & DMA_CHAN_STATUS_RI)) { in dwmac4_dma_interrupt() [all …]
|
D | dwmac1000_core.c | 310 u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); in dwmac1000_irq_status() local 315 intr_status &= ~intr_mask; in dwmac1000_irq_status() 318 if ((intr_status & GMAC_INT_STATUS_MMCTIS)) in dwmac1000_irq_status() 320 if (unlikely(intr_status & GMAC_INT_STATUS_MMCRIS)) in dwmac1000_irq_status() 322 if (unlikely(intr_status & GMAC_INT_STATUS_MMCCSUM)) in dwmac1000_irq_status() 324 if (unlikely(intr_status & GMAC_INT_DISABLE_PMT)) { in dwmac1000_irq_status() 331 if (intr_status & GMAC_INT_STATUS_LPIIS) { in dwmac1000_irq_status() 345 dwmac_pcs_isr(ioaddr, GMAC_PCS_BASE, intr_status, x); in dwmac1000_irq_status() 347 if (intr_status & PCS_RGSMIIIS_IRQ) in dwmac1000_irq_status()
|
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()
|
D | dwxgmac2_dma.c | 328 u32 intr_status = readl(ioaddr + XGMAC_DMA_CH_STATUS(chan)); in dwxgmac2_dma_interrupt() local 333 if (unlikely(intr_status & XGMAC_AIS)) { in dwxgmac2_dma_interrupt() 334 if (unlikely(intr_status & XGMAC_RBU)) { in dwxgmac2_dma_interrupt() 338 if (unlikely(intr_status & XGMAC_TPS)) { in dwxgmac2_dma_interrupt() 342 if (unlikely(intr_status & XGMAC_FBE)) { in dwxgmac2_dma_interrupt() 349 if (likely(intr_status & XGMAC_NIS)) { in dwxgmac2_dma_interrupt() 352 if (likely(intr_status & XGMAC_RI)) { in dwxgmac2_dma_interrupt() 356 if (likely(intr_status & (XGMAC_TI | XGMAC_TBU))) { in dwxgmac2_dma_interrupt() 363 writel(intr_en & intr_status, ioaddr + XGMAC_DMA_CH_STATUS(chan)); in dwxgmac2_dma_interrupt()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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); 1310 u32 intr_status = readl(ioaddr + IntrClear); in intr_handler() local 1314 dev->name, intr_status); in intr_handler() 1316 if (intr_status == 0 || intr_status == (u32) -1) in intr_handler() 1321 if (intr_status & (IntrRxDone | IntrRxEmpty)) { in intr_handler() 1395 if (intr_status & IntrStatsMax) in intr_handler() 1399 if (intr_status & IntrLinkChange) in intr_handler() 1403 if (intr_status & IntrAbnormalSummary) in intr_handler() 1404 netdev_error(dev, intr_status); in intr_handler() [all …]
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/renesas/ |
D | sh_eth.c | 1584 static int sh_eth_rx(struct net_device *ndev, u32 intr_status, int *quota) in sh_eth_rx() argument 1705 if (intr_status & EESR_RDE && !mdp->cd->no_xdfar) { in sh_eth_rx() 1767 static void sh_eth_error(struct net_device *ndev, u32 intr_status) in sh_eth_error() argument 1772 if (intr_status & EESR_TWB) { in sh_eth_error() 1774 if (intr_status & EESR_TABT) { /* Transmit Abort int */ in sh_eth_error() 1780 if (intr_status & EESR_RABT) { in sh_eth_error() 1782 if (intr_status & EESR_RFRMER) { in sh_eth_error() 1788 if (intr_status & EESR_TDE) { in sh_eth_error() 1794 if (intr_status & EESR_TFE) { in sh_eth_error() 1800 if (intr_status & EESR_RDE) { in sh_eth_error() [all …]
|
/kernel/linux/linux-5.10/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()
|
/kernel/linux/linux-5.10/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 | 345 u32 intr_status, status; in cdns_spi_irq() local 348 intr_status = cdns_spi_read(xspi, CDNS_SPI_ISR); in cdns_spi_irq() 349 cdns_spi_write(xspi, CDNS_SPI_ISR, intr_status); in cdns_spi_irq() 351 if (intr_status & CDNS_SPI_IXR_MODF) { in cdns_spi_irq() 359 } else if (intr_status & CDNS_SPI_IXR_TXOW) { in cdns_spi_irq()
|
/kernel/linux/linux-5.10/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 …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/packetengines/ |
D | hamachi.c | 558 static void hamachi_error(struct net_device *dev, int intr_status); 1316 u32 intr_status = readl(ioaddr + InterruptClear); in hamachi_interrupt() local 1320 dev->name, intr_status); in hamachi_interrupt() 1322 if (intr_status == 0) in hamachi_interrupt() 1327 if (intr_status & IntrRxDone) in hamachi_interrupt() 1330 if (intr_status & IntrTxDone){ in hamachi_interrupt() 1370 if (intr_status & in hamachi_interrupt() 1373 hamachi_error(dev, intr_status); in hamachi_interrupt() 1377 dev->name, intr_status); in hamachi_interrupt() 1622 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); 909 u16 intr_status = ioread16(ioaddr + IntrClear); in yellowfin_interrupt() local 913 intr_status); in yellowfin_interrupt() 915 if (intr_status == 0) in yellowfin_interrupt() 919 if (intr_status & (IntrRxDone | IntrEarlyRx)) { in yellowfin_interrupt() 948 if ((intr_status & IntrTxDone) || (yp->tx_tail_desc->tx_errs)) { in yellowfin_interrupt() 1023 if (intr_status & 0x2ee) /* Abnormal error summary. */ in yellowfin_interrupt() 1024 yellowfin_error(dev, intr_status); in yellowfin_interrupt() 1028 intr_status); in yellowfin_interrupt() 1188 static void yellowfin_error(struct net_device *dev, int intr_status) in yellowfin_error() argument [all …]
|
/kernel/linux/linux-5.10/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 1367 u32 intr_status; in xgmac_pmt_interrupt() local 1372 intr_status = __raw_readl(ioaddr + XGMAC_INT_STAT); in xgmac_pmt_interrupt() 1373 if (intr_status & XGMAC_INT_STAT_PMT) { in xgmac_pmt_interrupt() 1383 u32 intr_status; in xgmac_interrupt() local 1389 intr_status = __raw_readl(priv->base + XGMAC_DMA_STATUS); in xgmac_interrupt() 1390 intr_status &= __raw_readl(priv->base + XGMAC_DMA_INTR_ENA); in xgmac_interrupt() 1391 __raw_writel(intr_status, priv->base + XGMAC_DMA_STATUS); in xgmac_interrupt() 1395 if (unlikely(intr_status & DMA_STATUS_AIS)) { in xgmac_interrupt() 1396 if (intr_status & DMA_STATUS_TJT) { in xgmac_interrupt() 1400 if (intr_status & DMA_STATUS_RU) in xgmac_interrupt() [all …]
|
/kernel/linux/linux-5.10/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() 1467 np->intr_status &= ~RxResetDone; in reset_rx() 1472 np->intr_status |= readl(ioaddr + IntrStatus); in reset_rx() 1473 if (np->intr_status & RxResetDone) in reset_rx() 2195 np->intr_status = readl(ioaddr + IntrStatus); in intr_handler() 2197 if (!np->intr_status) in intr_handler() 2203 dev->name, np->intr_status, in intr_handler() 2215 dev->name, np->intr_status, in intr_handler() [all …]
|