/drivers/scsi/aacraid/ |
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()
|
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()
|
/drivers/rapidio/switches/ |
D | tsi57x.c | 212 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()
|
/drivers/scsi/esas2r/ |
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()
|
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()
|
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()
|
/drivers/power/supply/ |
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()
|
/drivers/staging/comedi/drivers/ |
D | dmm32at.c | 406 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()
|
D | amplc_pci224.c | 951 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()
|
D | amplc_dio200_common.c | 267 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()
|
/drivers/scsi/aic7xxx/ |
D | aic79xx_pci.c | 247 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat); 788 u_int intstat; in ahd_pci_intr() local 792 intstat = ahd_inb(ahd, INTSTAT); in ahd_pci_intr() 794 if ((intstat & SPLTINT) != 0) in ahd_pci_intr() 795 ahd_pci_split_intr(ahd, intstat); in ahd_pci_intr() 797 if ((intstat & PCIINT) == 0) in ahd_pci_intr() 841 ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat) in ahd_pci_split_intr() argument
|
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 …]
|
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 …]
|
/drivers/media/pci/mantis/ |
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()
|
/drivers/tty/serial/ |
D | sb1250-duart.c | 442 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/ |
D | gpio-davinci.c | 41 u32 intstat; member 357 status = readl_relaxed(&g->intstat) & mask; in gpio_irq_handler() 360 writel_relaxed(status, &g->intstat); in gpio_irq_handler()
|
/drivers/media/pci/saa7164/ |
D | saa7164-core.c | 612 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()
|
/drivers/net/ieee802154/ |
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()
|
/drivers/net/ethernet/tundra/ |
D | tsi108_eth.c | 832 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()
|
/drivers/usb/host/ |
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()
|
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()
|
/drivers/block/ |
D | skd_main.c | 1688 u32 intstat; in skd_isr() local 1697 intstat = SKD_READL(skdev, FIT_INT_STATUS_HOST); in skd_isr() 1700 ack &= intstat; in skd_isr() 1702 dev_dbg(&skdev->pdev->dev, "intstat=0x%x ack=0x%x\n", intstat, in skd_isr() 1726 if (intstat & FIT_ISH_COMPLETION_POSTED) { in skd_isr() 1737 if (intstat & FIT_ISH_FW_STATE_CHANGE) { in skd_isr() 1747 if (intstat & FIT_ISH_MSG_FROM_DEV) in skd_isr()
|
/drivers/pinctrl/qcom/ |
D | pinctrl-msm.c | 749 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()
|
/drivers/message/fusion/ |
D | mptbase.c | 4769 u32 intstat=0; in WaitForDoorbellAck() local 4776 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck() 4777 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck() 4784 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck() 4785 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck() 4798 ioc->name, count, intstat); in WaitForDoorbellAck() 4819 u32 intstat=0; in WaitForDoorbellInt() local 4824 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt() 4825 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt() 4832 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt() [all …]
|