Home
last modified time | relevance | path

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

/drivers/scsi/aacraid/
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()
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()
/drivers/scsi/esas2r/
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()
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()
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()
/drivers/power/supply/
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()
/drivers/comedi/drivers/
Ddmm32at.c405 unsigned char intstat; in dmm32at_isr() local
414 intstat = inb(dev->iobase + DMM32AT_INTCLK_REG); in dmm32at_isr()
416 if (intstat & DMM32AT_INTCLK_ADINT) { in dmm32at_isr()
497 unsigned char aihi, ailo, fifostat, aistat, intstat, airback; in dmm32at_reset() local
526 intstat = inb(dev->iobase + DMM32AT_INTCLK_REG); in dmm32at_reset()
537 intstat != 0x00 || airback != 0x0c) in dmm32at_reset()
Damplc_pci224.c949 unsigned char intstat, valid_intstat; in pci224_interrupt() local
954 intstat = inb(devpriv->iobase1 + PCI224_INT_SCE) & 0x3F; in pci224_interrupt()
955 if (intstat) { in pci224_interrupt()
958 valid_intstat = devpriv->intsce & intstat; in pci224_interrupt()
960 curenab = devpriv->intsce & ~intstat; in pci224_interrupt()
Damplc_dio200_common.c266 unsigned int intstat; in dio200_handle_read_intr() local
285 while ((intstat = (dio200_read8(dev, subpriv->ofs) & in dio200_handle_read_intr()
287 triggered |= intstat; in dio200_handle_read_intr()
/drivers/scsi/aic7xxx/
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
Daic7xxx_core.c254 static void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
256 u_int intstat);
725 u_int intstat; in ahc_intr() local
744 intstat = CMDCMPLT; in ahc_intr()
746 intstat = ahc_inb(ahc, INTSTAT); in ahc_intr()
749 if ((intstat & INT_PEND) == 0) { in ahc_intr()
763 if (intstat & CMDCMPLT) { in ahc_intr()
786 if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { in ahc_intr()
788 } else if (intstat & BRKADRINT) { in ahc_intr()
790 } else if ((intstat & (SEQINT|SCSIINT)) != 0) { in ahc_intr()
[all …]
Daic79xx_core.c269 static void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
271 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()
1011 if (intstat == 0xFF && (ahd->features & AHD_REMOVABLE) != 0) { in ahd_intr()
1013 } else if (intstat & HWERRINT) { in ahd_intr()
[all …]
/drivers/media/pci/mantis/
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()
/drivers/tty/serial/
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()
/drivers/gpio/
Dgpio-davinci.c40 u32 intstat; member
358 status = readl_relaxed(&g->intstat) & mask; in gpio_irq_handler()
361 writel_relaxed(status, &g->intstat); in gpio_irq_handler()
648 writel_relaxed(GENMASK(31, 0), &g->intstat); in davinci_gpio_save_context()
/drivers/media/pci/saa7164/
Dsaa7164-core.c610 u32 intid, intstat[INT_SIZE/4]; in saa7164_irq() local
635 intstat[i] = saa7164_readl(dev->int_status + (i * 4)); in saa7164_irq()
637 if (intstat[i]) in saa7164_irq()
646 if (intstat[i]) { in saa7164_irq()
653 if (((intstat[i] >> bit) & 0x00000001) == 0) in saa7164_irq()
701 saa7164_writel(dev->int_ack + (i * 4), intstat[i]); in saa7164_irq()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c819 u32 intstat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_poll() local
822 intstat &= TSI108_INT_RXQUEUE0 | TSI108_INT_RXTHRESH | in tsi108_poll()
826 TSI_WRITE(TSI108_EC_INTSTAT, intstat); in tsi108_poll()
846 if (intstat & TSI108_INT_RXERROR) { in tsi108_poll()
861 if (intstat & TSI108_INT_RXOVERRUN) { in tsi108_poll()
/drivers/net/ieee802154/
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()
/drivers/usb/host/
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()
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()
/drivers/pinctrl/qcom/
Dpinctrl-msm.c821 unsigned val, val2, intstat; in msm_gpio_update_dual_edge_pos() local
832 intstat = msm_readl_intr_status(pctrl, g); in msm_gpio_update_dual_edge_pos()
833 if (intstat || (val == val2)) in msm_gpio_update_dual_edge_pos()
/drivers/message/fusion/
Dmptbase.c4760 u32 intstat=0; in WaitForDoorbellAck() local
4767 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4768 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4775 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4776 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4789 ioc->name, count, intstat); in WaitForDoorbellAck()
4810 u32 intstat=0; in WaitForDoorbellInt() local
4815 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt()
4816 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt()
4823 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt()
[all …]