Home
last modified time | relevance | path

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

/linux/drivers/scsi/aacraid/
A Dsa.c37 unsigned short intstat, mask; in aac_sa_intr() local
39 intstat = sa_readw(dev, DoorbellReg_p); in aac_sa_intr()
48 if (intstat & mask) { in aac_sa_intr()
49 if (intstat & PrintfReady) { in aac_sa_intr()
53 } else if (intstat & DOORBELL_1) { // dev -> Host Normal Command Ready in aac_sa_intr()
56 } else if (intstat & DOORBELL_2) { // dev -> Host Normal Response Ready in aac_sa_intr()
59 } else if (intstat & DOORBELL_3) { // dev -> Host Normal Command Not Full in aac_sa_intr()
61 } else if (intstat & DOORBELL_4) { // dev -> Host Normal Response Not Full in aac_sa_intr()
A Drx.c38 u8 intstat = rx_readb(dev, MUnit.OISR); in aac_rx_intr_producer() local
46 if (likely(intstat & ~(dev->OIMR))) { in aac_rx_intr_producer()
/linux/drivers/rapidio/switches/
A Dtsi57x.c212 u32 intstat, err_status; in tsi57x_em_handler() local
269 rio_read_config_32(rdev, TSI578_SP_INT_STATUS(portnum), &intstat); in tsi57x_em_handler()
271 rdev->destid, rdev->hopcount, portnum, intstat); in tsi57x_em_handler()
273 if (intstat & 0x10000) { in tsi57x_em_handler()
285 intstat & 0x000700bd); in tsi57x_em_handler()
/linux/drivers/scsi/esas2r/
A Desas2r_int.c58 u32 intstat; in esas2r_polled_interrupt() local
63 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_polled_interrupt()
65 if (intstat & MU_INTSTAT_POST_OUT) { in esas2r_polled_interrupt()
75 if (intstat & MU_INTSTAT_DRBL) { in esas2r_polled_interrupt()
134 u32 intstat; in esas2r_msi_interrupt() local
137 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_msi_interrupt()
139 if (likely(intstat & MU_INTSTAT_POST_OUT)) { in esas2r_msi_interrupt()
149 if (unlikely(intstat & MU_INTSTAT_DRBL)) { in esas2r_msi_interrupt()
A Desas2r.h1368 u32 intstat; in esas2r_adapter_interrupt_pending() local
1373 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_adapter_interrupt_pending()
1375 if ((intstat & a->int_mask) == 0) in esas2r_adapter_interrupt_pending()
1380 a->int_stat = intstat; in esas2r_adapter_interrupt_pending()
A Desas2r_flash.c936 u32 intstat; in esas2r_flash_access() local
956 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_flash_access()
958 if (intstat & MU_INTSTAT_DRBL) { in esas2r_flash_access()
/linux/drivers/comedi/drivers/
A Ddmm32at.c406 unsigned char intstat; in dmm32at_isr() local
415 intstat = inb(dev->iobase + DMM32AT_INTCLK_REG); in dmm32at_isr()
417 if (intstat & DMM32AT_INTCLK_ADINT) { in dmm32at_isr()
498 unsigned char aihi, ailo, fifostat, aistat, intstat, airback; in dmm32at_reset() local
527 intstat = inb(dev->iobase + DMM32AT_INTCLK_REG); in dmm32at_reset()
538 intstat != 0x00 || airback != 0x0c) in dmm32at_reset()
A Damplc_pci224.c951 unsigned char intstat, valid_intstat; in pci224_interrupt() local
956 intstat = inb(devpriv->iobase1 + PCI224_INT_SCE) & 0x3F; in pci224_interrupt()
957 if (intstat) { in pci224_interrupt()
960 valid_intstat = devpriv->intsce & intstat; in pci224_interrupt()
962 curenab = devpriv->intsce & ~intstat; in pci224_interrupt()
A Damplc_dio200_common.c267 unsigned int intstat; in dio200_handle_read_intr() local
286 while ((intstat = (dio200_read8(dev, subpriv->ofs) & in dio200_handle_read_intr()
288 triggered |= intstat; in dio200_handle_read_intr()
/linux/drivers/power/supply/
A Dlp8727_charger.c142 u8 intstat[LP8788_NUM_INTREGS]; in lp8727_init_device() local
145 ret = lp8727_read_bytes(pchg, LP8727_INT1, intstat, LP8788_NUM_INTREGS); in lp8727_init_device()
226 u8 intstat[LP8788_NUM_INTREGS]; in lp8727_delayed_func() local
230 if (lp8727_read_bytes(pchg, LP8727_INT1, intstat, LP8788_NUM_INTREGS)) { in lp8727_delayed_func()
235 idno = intstat[0] & LP8727_IDNO; in lp8727_delayed_func()
236 vbus = intstat[0] & LP8727_VBUS; in lp8727_delayed_func()
/linux/drivers/scsi/aic7xxx/
A Daic79xx_pci.c247 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
786 u_int intstat; in ahd_pci_intr() local
790 intstat = ahd_inb(ahd, INTSTAT); in ahd_pci_intr()
792 if ((intstat & SPLTINT) != 0) in ahd_pci_intr()
793 ahd_pci_split_intr(ahd, intstat); in ahd_pci_intr()
795 if ((intstat & PCIINT) == 0) in ahd_pci_intr()
839 ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat) in ahd_pci_split_intr() argument
A Daic7xxx_core.c256 u_int intstat);
725 u_int intstat; in ahc_intr() local
744 intstat = CMDCMPLT; in ahc_intr()
749 if ((intstat & INT_PEND) == 0) { in ahc_intr()
763 if (intstat & CMDCMPLT) { in ahc_intr()
794 if ((intstat & SEQINT) != 0) in ahc_intr()
797 if ((intstat & SCSIINT) != 0) in ahc_intr()
991 switch (intstat & SEQINT_MASK) { in ahc_handle_seqint()
1019 intstat, scb_index); in ahc_handle_seqint()
1313 if ((intstat & SCSIINT) == 0 in ahc_handle_seqint()
[all …]
A Daic79xx_core.c271 u_int intstat);
947 u_int intstat; in ahd_intr() local
967 intstat = CMDCMPLT; in ahd_intr()
969 intstat = ahd_inb(ahd, INTSTAT); in ahd_intr()
971 if ((intstat & INT_PEND) == 0) in ahd_intr()
974 if (intstat & CMDCMPLT) { in ahd_intr()
993 intstat |= SEQINT; in ahd_intr()
1013 } else if (intstat & HWERRINT) { in ahd_intr()
1019 if ((intstat & SEQINT) != 0) in ahd_intr()
1022 if ((intstat & SCSIINT) != 0) in ahd_intr()
[all …]
/linux/drivers/media/pci/mantis/
A Dmantis_i2c.c210 u32 intstat; in mantis_i2c_init() local
232 intstat = mmread(MANTIS_INT_STAT); in mantis_i2c_init()
234 mmwrite(intstat, MANTIS_INT_STAT); in mantis_i2c_init()
/linux/drivers/tty/serial/
A Dsb1250-duart.c442 unsigned int intstat; in sbd_interrupt() local
446 intstat = read_sbdshr(sport, in sbd_interrupt()
448 intstat &= read_sbdshr(sport, in sbd_interrupt()
450 intstat &= M_DUART_ISR_ALL; in sbd_interrupt()
451 if (!intstat) in sbd_interrupt()
454 if (intstat & M_DUART_ISR_RX) in sbd_interrupt()
456 if (intstat & M_DUART_ISR_IN) in sbd_interrupt()
458 if (intstat & M_DUART_ISR_TX) in sbd_interrupt()
/linux/arch/mips/include/asm/sgi/
A Dpi1.h43 volatile u8 intstat; member
/linux/drivers/gpio/
A Dgpio-davinci.c41 u32 intstat; member
357 status = readl_relaxed(&g->intstat) & mask; in gpio_irq_handler()
360 writel_relaxed(status, &g->intstat); in gpio_irq_handler()
/linux/drivers/media/pci/saa7164/
A Dsaa7164-core.c612 u32 intid, intstat[INT_SIZE/4]; in saa7164_irq() local
637 intstat[i] = saa7164_readl(dev->int_status + (i * 4)); in saa7164_irq()
639 if (intstat[i]) in saa7164_irq()
648 if (intstat[i]) { in saa7164_irq()
655 if (((intstat[i] >> bit) & 0x00000001) == 0) in saa7164_irq()
703 saa7164_writel(dev->int_ack + (i * 4), intstat[i]); in saa7164_irq()
/linux/drivers/net/ieee802154/
A Dmrf24j40.c1023 u8 intstat = devrec->irq_buf[1]; in mrf24j40_intstat_complete() local
1028 if (intstat & BIT_SECIF) in mrf24j40_intstat_complete()
1033 if (intstat & BIT_TXNIF) in mrf24j40_intstat_complete()
1037 if (intstat & BIT_RXIF) in mrf24j40_intstat_complete()
/linux/arch/mips/alchemy/common/
A Ddbdma.c864 u32 intstat; in dbdma_interrupt() local
870 intstat = dbdma_gptr->ddma_intstat; in dbdma_interrupt()
872 chan_index = __ffs(intstat); in dbdma_interrupt()
/linux/drivers/usb/host/
A Disp116x-hcd.c608 u32 intstat = isp116x_read_reg32(isp116x, HCINTSTAT); in isp116x_irq() local
609 isp116x_write_reg32(isp116x, HCINTSTAT, intstat); in isp116x_irq()
610 if (intstat & HCINT_UE) { in isp116x_irq()
619 if (intstat & HCINT_RHSC) in isp116x_irq()
625 if (intstat & HCINT_RD) { in isp116x_irq()
A Disp1362-hcd.c1130 u32 intstat = isp1362_read_reg32(isp1362_hcd, HCINTSTAT); in isp1362_irq() local
1134 DBG(2, "%s: OPR %08x:%08x\n", __func__, intstat, isp1362_hcd->intenb); in isp1362_irq()
1135 intstat &= isp1362_hcd->intenb; in isp1362_irq()
1136 if (intstat & OHCI_INTR_UE) { in isp1362_irq()
1140 if (intstat & OHCI_INTR_RHSC) { in isp1362_irq()
1145 if (intstat & OHCI_INTR_RD) { in isp1362_irq()
1150 isp1362_write_reg32(isp1362_hcd, HCINTSTAT, intstat); in isp1362_irq()
/linux/drivers/net/ethernet/tundra/
A Dtsi108_eth.c832 u32 intstat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_poll() local
835 intstat &= TSI108_INT_RXQUEUE0 | TSI108_INT_RXTHRESH | in tsi108_poll()
839 TSI_WRITE(TSI108_EC_INTSTAT, intstat); in tsi108_poll()
859 if (intstat & TSI108_INT_RXERROR) { in tsi108_poll()
874 if (intstat & TSI108_INT_RXOVERRUN) { in tsi108_poll()
/linux/drivers/pinctrl/qcom/
A Dpinctrl-msm.c749 unsigned val, val2, intstat; in msm_gpio_update_dual_edge_pos() local
760 intstat = msm_readl_intr_status(pctrl, g); in msm_gpio_update_dual_edge_pos()
761 if (intstat || (val == val2)) in msm_gpio_update_dual_edge_pos()
/linux/drivers/message/fusion/
A Dmptbase.c4764 u32 intstat=0; in WaitForDoorbellAck() local
4771 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4772 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4779 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4780 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4793 ioc->name, count, intstat); in WaitForDoorbellAck()
4814 u32 intstat=0; in WaitForDoorbellInt() local
4819 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt()
4820 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt()
4828 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt()
[all …]

Completed in 120 milliseconds