/linux/drivers/scsi/aacraid/ |
H A D | sa.c | 37 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()
|
H A D | rx.c | 38 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/scsi/esas2r/ |
H A D | esas2r_int.c | 58 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()
|
H A D | esas2r.h | 1367 u32 intstat; in esas2r_adapter_interrupt_pending() local 1372 intstat = esas2r_read_register_dword(a, MU_INT_STATUS_OUT); in esas2r_adapter_interrupt_pending() 1374 if ((intstat & a->int_mask) == 0) in esas2r_adapter_interrupt_pending() 1379 a->int_stat = intstat; in esas2r_adapter_interrupt_pending()
|
H A D | esas2r_flash.c | 936 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/ |
H A D | dmm32at.c | 405 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()
|
H A D | amplc_pci224.c | 949 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()
|
H A D | amplc_dio200_common.c | 320 unsigned int intstat; in dio200_handle_read_intr() local 339 while ((intstat = (dio200_read8(dev, subpriv->ofs) & in dio200_handle_read_intr() 341 triggered |= intstat; in dio200_handle_read_intr()
|
/linux/drivers/power/supply/ |
H A D | lp8727_charger.c | 142 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/media/pci/mantis/ |
H A D | mantis_i2c.c | 210 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/scsi/aic7xxx/ |
H A D | aic79xx_pci.c | 247 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
|
H A D | aic7xxx_core.c | 254 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 …]
|
H A D | aic79xx_core.c | 269 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 …]
|
/linux/arch/mips/include/asm/sgi/ |
H A D | pi1.h | 43 volatile u8 intstat; member
|
/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-core.c | 610 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()
|
/linux/drivers/net/ethernet/tundra/ |
H A D | tsi108_eth.c | 819 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()
|
/linux/drivers/net/ieee802154/ |
H A D | mrf24j40.c | 1023 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/ |
H A D | dbdma.c | 867 u32 intstat; in dbdma_interrupt() local 873 intstat = dbdma_gptr->ddma_intstat; in dbdma_interrupt() 875 chan_index = __ffs(intstat); in dbdma_interrupt()
|
/linux/drivers/usb/host/ |
H A D | isp116x-hcd.c | 608 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()
|
H A D | isp1362-hcd.c | 1130 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/pinctrl/qcom/ |
H A D | pinctrl-msm.c | 825 unsigned val, val2, intstat; in msm_gpio_update_dual_edge_pos() local 836 intstat = msm_readl_intr_status(pctrl, g); in msm_gpio_update_dual_edge_pos() 837 if (intstat || (val == val2)) in msm_gpio_update_dual_edge_pos()
|
/linux/drivers/message/fusion/ |
H A D | mptbase.c | 4756 u32 intstat=0; in WaitForDoorbellAck() local 4763 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck() 4764 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck() 4771 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck() 4772 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck() 4785 ioc->name, count, intstat); in WaitForDoorbellAck() 4806 u32 intstat=0; in WaitForDoorbellInt() local 4811 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt() 4812 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt() 4819 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt() [all …]
|