/linux-6.3-rc2/drivers/scsi/aacraid/ |
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()
|
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-6.3-rc2/drivers/scsi/esas2r/ |
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()
|
A D | esas2r.h | 1368 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 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-6.3-rc2/drivers/power/supply/ |
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-6.3-rc2/drivers/comedi/drivers/ |
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()
|
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()
|
A D | amplc_dio200_common.c | 266 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()
|
/linux-6.3-rc2/drivers/media/pci/mantis/ |
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-6.3-rc2/drivers/scsi/aic7xxx/ |
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
|
A D | aic7xxx_core.c | 256 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 D | aic79xx_core.c | 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() 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-6.3-rc2/drivers/tty/serial/ |
A D | sb1250-duart.c | 441 unsigned int intstat; in sbd_interrupt() local 445 intstat = read_sbdshr(sport, in sbd_interrupt() 447 intstat &= read_sbdshr(sport, in sbd_interrupt() 449 intstat &= M_DUART_ISR_ALL; in sbd_interrupt() 450 if (!intstat) in sbd_interrupt() 453 if (intstat & M_DUART_ISR_RX) in sbd_interrupt() 455 if (intstat & M_DUART_ISR_IN) in sbd_interrupt() 457 if (intstat & M_DUART_ISR_TX) in sbd_interrupt()
|
/linux-6.3-rc2/arch/mips/include/asm/sgi/ |
A D | pi1.h | 43 volatile u8 intstat; member
|
/linux-6.3-rc2/drivers/gpio/ |
A D | gpio-davinci.c | 42 u32 intstat; member 355 status = readl_relaxed(&g->intstat) & mask; in gpio_irq_handler() 358 writel_relaxed(status, &g->intstat); in gpio_irq_handler() 648 writel_relaxed(GENMASK(31, 0), &g->intstat); in davinci_gpio_save_context()
|
/linux-6.3-rc2/drivers/media/pci/saa7164/ |
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-6.3-rc2/drivers/net/ethernet/tundra/ |
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-6.3-rc2/drivers/net/ieee802154/ |
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-6.3-rc2/arch/mips/alchemy/common/ |
A D | dbdma.c | 864 u32 intstat; in dbdma_interrupt() local 870 intstat = dbdma_gptr->ddma_intstat; in dbdma_interrupt() 872 chan_index = __ffs(intstat); in dbdma_interrupt()
|
/linux-6.3-rc2/drivers/usb/host/ |
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()
|
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-6.3-rc2/drivers/pinctrl/qcom/ |
A D | pinctrl-msm.c | 796 unsigned val, val2, intstat; in msm_gpio_update_dual_edge_pos() local 807 intstat = msm_readl_intr_status(pctrl, g); in msm_gpio_update_dual_edge_pos() 808 if (intstat || (val == val2)) in msm_gpio_update_dual_edge_pos()
|
/linux-6.3-rc2/drivers/message/fusion/ |
A D | mptbase.c | 4760 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() 4824 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt() [all …]
|