Searched refs:intr_status (Results 1 - 25 of 34) sorted by relevance

12

/drivers/net/ethernet/stmicro/stmmac/
H A Ddwmac_lib.c153 u32 intr_status = readl(ioaddr + DMA_STATUS); local
155 DWMAC_LIB_DBG(KERN_INFO "%s: [CSR5: 0x%08x]\n", __func__, intr_status);
158 show_tx_process_state(intr_status);
159 show_rx_process_state(intr_status);
162 if (unlikely(intr_status & DMA_STATUS_AIS)) {
164 if (unlikely(intr_status & DMA_STATUS_UNF)) {
169 if (unlikely(intr_status & DMA_STATUS_TJT)) {
173 if (unlikely(intr_status & DMA_STATUS_OVF)) {
177 if (unlikely(intr_status & DMA_STATUS_RU)) {
181 if (unlikely(intr_status
[all...]
H A Ddwmac1000_core.c192 u32 intr_status = readl(ioaddr + GMAC_INT_STATUS); local
195 if ((intr_status & mmc_tx_irq))
198 if (unlikely(intr_status & mmc_rx_irq))
201 if (unlikely(intr_status & mmc_rx_csum_offload_irq))
204 if (unlikely(intr_status & pmt_irq)) {
/drivers/scsi/bfa/
H A Dbfa_hw_cb.c30 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS);
33 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS);
42 bfa->iocfc.bfa_regs.intr_status);
56 bfa->iocfc.bfa_regs.intr_status);
H A Dbfa_hw_ct.c40 bfa_regs->intr_status = (kva + HOSTFN0_INT_STATUS);
43 bfa_regs->intr_status = (kva + HOSTFN1_INT_STATUS);
54 bfa_regs->intr_status = (kva + CT2_HOSTFN_INT_STATUS);
/drivers/mmc/host/
H A Dmvsdio.c349 u32 intr_status, intr_done_mask; local
352 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS);
354 intr_status, mvsd_read(MVSD_NOR_INTR_EN),
361 (intr_status & host->intr_en &
365 while (s >= 32 && (intr_status & MVSD_NOR_RX_FIFO_8W)) {
369 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS);
377 while (s >= 4 && (intr_status & MVSD_NOR_RX_READY)) {
381 intr_status = mvsd_read(MVSD_NOR_INTR_STATUS);
383 if (s && s < 4 && (intr_status & MVSD_NOR_RX_READY)) {
389 intr_status
[all...]
/drivers/scsi/qla4xxx/
H A Dql4_isr.c810 uint32_t intr_status)
813 if (intr_status & HSRX_RISC_IOCB_INT)
817 if (intr_status & HSRX_RISC_MB_INT)
834 uint32_t intr_status)
837 if (intr_status & CSR_SCSI_COMPLETION_INTR)
841 if (intr_status & CSR_SCSI_PROCESSOR_INTR) {
882 uint32_t intr_status; local
906 intr_status = CSR_SCSI_COMPLETION_INTR;
908 intr_status = readl(&ha->reg->ctrl_status);
910 if ((intr_status
809 qla4_8xxx_interrupt_service_routine(struct scsi_qla_host *ha, uint32_t intr_status) argument
833 qla4xxx_interrupt_service_routine(struct scsi_qla_host * ha, uint32_t intr_status) argument
978 uint32_t intr_status; local
1068 uint32_t intr_status; local
[all...]
H A Dql4_glbl.h70 uint32_t intr_status);
125 uint32_t intr_status);
/drivers/tty/serial/
H A Dsirfsoc_uart.c241 unsigned long intr_status; local
248 intr_status = rd_regl(port, SIRFUART_INT_STATUS);
249 wr_regl(port, SIRFUART_INT_STATUS, intr_status);
250 intr_status &= rd_regl(port, SIRFUART_INT_EN);
251 if (unlikely(intr_status & (SIRFUART_ERR_INT_STAT))) {
252 if (intr_status & SIRFUART_RXD_BREAK) {
255 uart_insert_char(port, intr_status,
259 if (intr_status & SIRFUART_RX_OFLOW)
261 if (intr_status & SIRFUART_FRM_ERR) {
265 if (intr_status
[all...]
/drivers/net/ethernet/silan/
H A Dsc92031.c291 u32 intr_status; member in struct:sc92031_priv
627 priv->intr_status = 0;
841 u32 intr_status, intr_mask; local
843 intr_status = priv->intr_status;
850 if (intr_status & TxOK)
853 if (intr_status & RxOK)
856 if (intr_status & RxOverflow)
859 if (intr_status & TimeOut) {
864 if (intr_status
882 u32 intr_status, intr_mask; local
[all...]
/drivers/input/misc/
H A Dcma3000_d0x.c118 int datax, datay, dataz, intr_status; local
121 intr_status = CMA3000_READ(data, CMA3000_INTSTATUS, "interrupt status");
122 if (intr_status < 0)
126 if (intr_status & CMA3000_INTSTATUS_FFDET) {
/drivers/staging/ste_rmi4/
H A Dsynaptics_i2c_rmi4.c449 unsigned char intr_status[4]; local
464 intr_status,
479 if (intr_status[rfi->index_to_intr_reg] &
898 unsigned char intr_status[4]; local
994 rmi4_data->fn01_data_base_addr + 1, intr_status,
1063 unsigned char intr_status; local
1072 &intr_status,
1079 (intr_status & ~TOUCHPAD_CTRL_INTR));
1097 unsigned char intr_status; local
1108 &intr_status,
[all...]
/drivers/net/ethernet/dec/tulip/
H A Dwinbond-840.c339 static void netdev_error(struct net_device *dev, int intr_status);
1127 u32 intr_status = ioread32(ioaddr + IntrStatus); local
1130 iowrite32(intr_status & 0x001ffff, ioaddr + IntrStatus);
1133 netdev_dbg(dev, "Interrupt, status %04x\n", intr_status);
1135 if ((intr_status & (NormalIntr|AbnormalIntr)) == 0)
1140 if (intr_status & (RxIntr | RxNoBuf))
1142 if (intr_status & RxNoBuf)
1145 if (intr_status & (TxNoBuf | TxIntr) &&
1153 if (intr_status & (AbnormalIntr | TxFIFOUnderflow | SystemError |
1155 netdev_error(dev, intr_status);
1289 netdev_error(struct net_device *dev, int intr_status) argument
[all...]
/drivers/net/ethernet/adaptec/
H A Dstarfire.c596 static void netdev_error(struct net_device *dev, int intr_status);
600 static void netdev_error(struct net_device *dev, int intr_status);
1319 u32 intr_status = readl(ioaddr + IntrClear); local
1323 dev->name, intr_status);
1325 if (intr_status == 0 || intr_status == (u32) -1)
1330 if (intr_status & (IntrRxDone | IntrRxEmpty)) {
1404 if (intr_status & IntrStatsMax)
1408 if (intr_status & IntrLinkChange)
1412 if (intr_status
1561 u32 intr_status; local
1690 netdev_error(struct net_device *dev, int intr_status) argument
[all...]
/drivers/media/video/
H A Dvino.h127 volatile u32 intr_status; member in struct:sgi_vino
/drivers/net/ethernet/packetengines/
H A Dhamachi.c558 static void hamachi_error(struct net_device *dev, int intr_status);
1317 u32 intr_status = readl(ioaddr + InterruptClear); local
1321 dev->name, intr_status);
1323 if (intr_status == 0)
1328 if (intr_status & IntrRxDone)
1331 if (intr_status & IntrTxDone){
1371 if (intr_status &
1374 hamachi_error(dev, intr_status);
1378 dev->name, intr_status);
1621 static void hamachi_error(struct net_device *dev, int intr_status) argument
[all...]
H A Dyellowfin.c353 static void yellowfin_error(struct net_device *dev, int intr_status);
908 u16 intr_status = ioread16(ioaddr + IntrClear); local
912 intr_status);
914 if (intr_status == 0)
918 if (intr_status & (IntrRxDone | IntrEarlyRx)) {
946 if ((intr_status & IntrTxDone) || (yp->tx_tail_desc->tx_errs)) {
1021 if (intr_status & 0x2ee) /* Abnormal error summary. */
1022 yellowfin_error(dev, intr_status);
1026 intr_status);
1180 static void yellowfin_error(struct net_device *dev, int intr_status) argument
[all...]
/drivers/net/ethernet/calxeda/
H A Dxgmac.c1364 u32 intr_status; local
1369 intr_status = readl(ioaddr + XGMAC_INT_STAT);
1370 if (intr_status & XGMAC_INT_STAT_PMT) {
1380 u32 intr_status; local
1387 intr_status = readl(priv->base + XGMAC_DMA_STATUS);
1388 intr_status &= readl(priv->base + XGMAC_DMA_INTR_ENA);
1389 writel(intr_status, priv->base + XGMAC_DMA_STATUS);
1393 if (unlikely(intr_status & DMA_STATUS_AIS)) {
1394 if (intr_status & DMA_STATUS_TJT) {
1398 if (intr_status
[all...]
/drivers/net/ethernet/dlink/
H A Dsundance.c433 static void netdev_error(struct net_device *dev, int intr_status);
434 static void netdev_error(struct net_device *dev, int intr_status);
1174 int intr_status = ioread16(ioaddr + IntrStatus); local
1175 iowrite16(intr_status, ioaddr + IntrStatus);
1179 dev->name, intr_status);
1181 if (!(intr_status & DEFAULT_INTR))
1186 if (intr_status & (IntrRxDMADone)) {
1193 if (intr_status & (IntrTxDone | IntrDrvRqst)) {
1298 if (intr_status & (IntrPCIErr | LinkChange | StatsMax))
1299 netdev_error(dev, intr_status);
1436 netdev_error(struct net_device *dev, int intr_status) argument
[all...]
/drivers/net/ethernet/renesas/
H A Dsh_eth.c1013 static void sh_eth_error(struct net_device *ndev, int intr_status) argument
1020 if (intr_status & EESR_ECI) {
1054 if (intr_status & EESR_TWB) {
1056 if (intr_status & EESR_TABT) /* Transmit Abort int */
1062 if (intr_status & EESR_RABT) {
1064 if (intr_status & EESR_RFRMER) {
1072 if (intr_status & EESR_TDE) {
1079 if (intr_status & EESR_TFE) {
1086 if (intr_status & EESR_RDE) {
1096 if (intr_status
1140 u32 intr_status = 0; local
[all...]
/drivers/scsi/ufs/
H A Dufshcd.c1435 * @intr_status: contains interrupts generated by the controller
1437 static void ufshcd_sl_intr(struct ufs_hba *hba, u32 intr_status) argument
1439 hba->errors = UFSHCD_ERROR_MASK & intr_status;
1443 if (intr_status & UIC_COMMAND_COMPL)
1446 if (intr_status & UTP_TASK_REQ_COMPL)
1449 if (intr_status & UTP_TRANSFER_REQ_COMPL)
1463 u32 intr_status; local
1468 intr_status = readl(hba->mmio_base + REG_INTERRUPT_STATUS);
1470 if (intr_status) {
1471 ufshcd_sl_intr(hba, intr_status);
[all...]
/drivers/net/wireless/zd1211rw/
H A Dzd_rf_uw2453.c313 u16 intr_status; local
408 r = zd_ioread16_locked(chip, &intr_status, UW2453_INTR_REG);
412 if (!(intr_status & 0xf)) {
/drivers/net/ethernet/natsemi/
H A Dnatsemi.c563 u32 intr_status; member in struct:netdev_private
625 static void netdev_error(struct net_device *dev, int intr_status);
879 np->intr_status = 0;
1470 np->intr_status &= ~RxResetDone;
1475 np->intr_status |= readl(ioaddr + IntrStatus);
1476 if (np->intr_status & RxResetDone)
2187 np->intr_status = readl(ioaddr + IntrStatus);
2189 if (!np->intr_status)
2195 dev->name, np->intr_status,
2207 dev->name, np->intr_status,
2385 netdev_error(struct net_device *dev, int intr_status) argument
[all...]
/drivers/net/ethernet/via/
H A Dvia-rhine.c537 u32 intr_status; local
539 intr_status = ioread16(ioaddr + IntrStatus);
542 intr_status |= ioread8(ioaddr + IntrStatus2) << 16;
543 return intr_status;
1960 u32 intr_status; local
1966 intr_status = rhine_get_events(rp);
1968 if ((intr_status & IntrTxErrSummary) == 0) {
1988 intr_status);
1998 u32 intr_status; local
2005 intr_status
[all...]
/drivers/net/ethernet/
H A Dfealnx.c1450 u32 intr_status = ioread32(ioaddr + ISR); local
1453 iowrite32(intr_status, ioaddr + ISR);
1457 intr_status);
1459 if (!(intr_status & np->imrvalue))
1466 // if (intr_status & FBE)
1473 if (intr_status & TUNF)
1476 if (intr_status & CNTOVF) {
1486 if (intr_status & (RI | RBU)) {
1487 if (intr_status & RI)
1574 "status=0x%4.4x.\n", dev->name, intr_status);
[all...]
/drivers/net/ethernet/brocade/bna/
H A Dbna_enet.c257 bna_err_handler(struct bna *bna, u32 intr_status) argument
259 if (BNA_IS_HALT_INTR(bna, intr_status))
266 bna_mbox_handler(struct bna *bna, u32 intr_status) argument
268 if (BNA_IS_ERR_INTR(bna, intr_status)) {
269 bna_err_handler(bna, intr_status);
272 if (BNA_IS_MBOX_INTR(bna, intr_status))
1336 u32 intr_status; \
1337 bna_intr_status_get((_ioceth)->bna, intr_status); \

Completed in 588 milliseconds

12