Home
last modified time | relevance | path

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

/drivers/scsi/aacraid/
Dsa.c50 unsigned short intstat, mask; in aac_sa_intr() local
52 intstat = sa_readw(dev, DoorbellReg_p); in aac_sa_intr()
61 if (intstat & mask) { in aac_sa_intr()
62 if (intstat & PrintfReady) { in aac_sa_intr()
66 } else if (intstat & DOORBELL_1) { // dev -> Host Normal Command Ready in aac_sa_intr()
69 } else if (intstat & DOORBELL_2) { // dev -> Host Normal Response Ready in aac_sa_intr()
72 } else if (intstat & DOORBELL_3) { // dev -> Host Normal Command Not Full in aac_sa_intr()
74 } else if (intstat & DOORBELL_4) { // dev -> Host Normal Response Not Full in aac_sa_intr()
Drx.c51 u8 intstat = rx_readb(dev, MUnit.OISR); in aac_rx_intr_producer() local
59 if (likely(intstat & ~(dev->OIMR))) { in aac_rx_intr_producer()
/drivers/rapidio/switches/
Dtsi57x.c217 u32 intstat, err_status; in tsi57x_em_handler() local
274 rio_read_config_32(rdev, TSI578_SP_INT_STATUS(portnum), &intstat); in tsi57x_em_handler()
276 rdev->destid, rdev->hopcount, portnum, intstat); in tsi57x_em_handler()
278 if (intstat & 0x10000) { in tsi57x_em_handler()
290 intstat & 0x000700bd); in tsi57x_em_handler()
/drivers/staging/comedi/drivers/
Ddmm32at.c295 unsigned char aihi, ailo, fifostat, aistat, intstat, airback; in dmm32at_attach() local
344 intstat = dmm_inb(dev, DMM32AT_INTCLOCK); in dmm32at_attach()
351 aistat, intstat, airback); in dmm32at_attach()
354 (aistat != 0x60 || (intstat != 0x00) || airback != 0x0c)) { in dmm32at_attach()
815 unsigned char intstat; in dmm32at_isr() local
826 intstat = dmm_inb(dev, DMM32AT_INTCLOCK); in dmm32at_isr()
828 if (intstat & DMM32AT_ADINT) { in dmm32at_isr()
Damplc_pci224.c1272 unsigned char intstat, valid_intstat; in pci224_interrupt() local
1277 intstat = inb(devpriv->iobase1 + PCI224_INT_SCE) & 0x3F; in pci224_interrupt()
1278 if (intstat) { in pci224_interrupt()
1281 valid_intstat = devpriv->intsce & intstat; in pci224_interrupt()
1283 curenab = devpriv->intsce & ~intstat; in pci224_interrupt()
Damplc_dio200.c732 unsigned intstat; in dio200_handle_read_intr() local
753 while ((intstat = (inb(subpriv->iobase) & subpriv->valid_isns in dio200_handle_read_intr()
755 triggered |= intstat; in dio200_handle_read_intr()
/drivers/scsi/aic7xxx/
Daic79xx_pci.c253 static void ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat);
796 u_int intstat; in ahd_pci_intr() local
800 intstat = ahd_inb(ahd, INTSTAT); in ahd_pci_intr()
802 if ((intstat & SPLTINT) != 0) in ahd_pci_intr()
803 ahd_pci_split_intr(ahd, intstat); in ahd_pci_intr()
805 if ((intstat & PCIINT) == 0) in ahd_pci_intr()
849 ahd_pci_split_intr(struct ahd_softc *ahd, u_int intstat) in ahd_pci_split_intr() argument
Daic7xxx_core.c261 static void ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat);
263 u_int intstat);
732 u_int intstat; in ahc_intr() local
751 intstat = CMDCMPLT; in ahc_intr()
753 intstat = ahc_inb(ahc, INTSTAT); in ahc_intr()
756 if ((intstat & INT_PEND) == 0) { in ahc_intr()
770 if (intstat & CMDCMPLT) { in ahc_intr()
793 if (intstat == 0xFF && (ahc->features & AHC_REMOVABLE) != 0) { in ahc_intr()
795 } else if (intstat & BRKADRINT) { in ahc_intr()
797 } else if ((intstat & (SEQINT|SCSIINT)) != 0) { in ahc_intr()
[all …]
Daic79xx_core.c277 static void ahd_handle_seqint(struct ahd_softc *ahd, u_int intstat);
279 u_int intstat);
955 u_int intstat; in ahd_intr() local
975 intstat = CMDCMPLT; in ahd_intr()
977 intstat = ahd_inb(ahd, INTSTAT); in ahd_intr()
979 if ((intstat & INT_PEND) == 0) in ahd_intr()
982 if (intstat & CMDCMPLT) { in ahd_intr()
1001 intstat |= SEQINT; in ahd_intr()
1019 if (intstat == 0xFF && (ahd->features & AHD_REMOVABLE) != 0) { in ahd_intr()
1021 } else if (intstat & HWERRINT) { in ahd_intr()
[all …]
/drivers/tty/serial/
Dsb1250-duart.c450 unsigned int intstat; in sbd_interrupt() local
454 intstat = read_sbdshr(sport, in sbd_interrupt()
456 intstat &= read_sbdshr(sport, in sbd_interrupt()
458 intstat &= M_DUART_ISR_ALL; in sbd_interrupt()
459 if (!intstat) in sbd_interrupt()
462 if (intstat & M_DUART_ISR_RX) in sbd_interrupt()
464 if (intstat & M_DUART_ISR_IN) in sbd_interrupt()
466 if (intstat & M_DUART_ISR_TX) in sbd_interrupt()
/drivers/media/dvb/mantis/
Dmantis_i2c.c222 u32 intstat, intmask; in mantis_i2c_init() local
244 intstat = mmread(MANTIS_INT_STAT); in mantis_i2c_init()
246 mmwrite(intstat, MANTIS_INT_STAT); in mantis_i2c_init()
/drivers/power/
Dlp8727_charger.c215 u8 intstat[2], idno, vbus; in lp8727_delayed_func() local
219 if (lp8727_read_bytes(pchg, INT1, intstat, 2)) { in lp8727_delayed_func()
224 idno = intstat[0] & IDNO; in lp8727_delayed_func()
225 vbus = intstat[0] & VBUS; in lp8727_delayed_func()
/drivers/gpio/
Dgpio-msm-v2.c218 unsigned val, val2, intstat; in msm_gpio_update_dual_edge_pos() local
227 intstat = readl(GPIO_INTR_STATUS(gpio)) & BIT(INTR_STATUS); in msm_gpio_update_dual_edge_pos()
228 if (intstat || val == val2) in msm_gpio_update_dual_edge_pos()
Dgpio-davinci.c31 u32 intstat; member
270 status = __raw_readl(&g->intstat) & mask; in gpio_irq_handler()
273 __raw_writel(status, &g->intstat); in gpio_irq_handler()
Dgpio-msm-v1.c343 unsigned pol, val, val2, intstat; in msm_gpio_update_both_edge_detect() local
350 intstat = readl(msm_chip->regs.int_status); in msm_gpio_update_both_edge_detect()
352 if (((val ^ val2) & msm_chip->both_edge_detect & ~intstat) == 0) in msm_gpio_update_both_edge_detect()
/drivers/media/video/saa7164/
Dsaa7164-core.c649 u32 intid, intstat[INT_SIZE/4]; in saa7164_irq() local
667 intstat[i] = saa7164_readl(dev->int_status + (i * 4)); in saa7164_irq()
669 if (intstat[i]) in saa7164_irq()
678 if (intstat[i]) { in saa7164_irq()
685 if (((intstat[i] >> bit) & 0x00000001) == 0) in saa7164_irq()
735 saa7164_writel(dev->int_ack + (i * 4), intstat[i]); in saa7164_irq()
/drivers/net/ethernet/tundra/
Dtsi108_eth.c840 u32 intstat = TSI_READ(TSI108_EC_INTSTAT); in tsi108_poll() local
843 intstat &= TSI108_INT_RXQUEUE0 | TSI108_INT_RXTHRESH | in tsi108_poll()
847 TSI_WRITE(TSI108_EC_INTSTAT, intstat); in tsi108_poll()
867 if (intstat & TSI108_INT_RXERROR) { in tsi108_poll()
882 if (intstat & TSI108_INT_RXOVERRUN) { in tsi108_poll()
/drivers/usb/host/
Disp116x-hcd.c607 u32 intstat = isp116x_read_reg32(isp116x, HCINTSTAT); in isp116x_irq() local
608 isp116x_write_reg32(isp116x, HCINTSTAT, intstat); in isp116x_irq()
609 if (intstat & HCINT_UE) { in isp116x_irq()
618 if (intstat & HCINT_RHSC) in isp116x_irq()
624 if (intstat & HCINT_RD) { in isp116x_irq()
Disp1362-hcd.c1134 u32 intstat = isp1362_read_reg32(isp1362_hcd, HCINTSTAT); in isp1362_irq() local
1138 DBG(2, "%s: OPR %08x:%08x\n", __func__, intstat, isp1362_hcd->intenb); in isp1362_irq()
1139 intstat &= isp1362_hcd->intenb; in isp1362_irq()
1140 if (intstat & OHCI_INTR_UE) { in isp1362_irq()
1144 if (intstat & OHCI_INTR_RHSC) { in isp1362_irq()
1149 if (intstat & OHCI_INTR_RD) { in isp1362_irq()
1154 isp1362_write_reg32(isp1362_hcd, HCINTSTAT, intstat); in isp1362_irq()
/drivers/message/fusion/
Dmptbase.c4773 u32 intstat=0; in WaitForDoorbellAck() local
4780 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4781 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4788 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellAck()
4789 if (! (intstat & MPI_HIS_IOP_DOORBELL_STATUS)) in WaitForDoorbellAck()
4802 ioc->name, count, intstat); in WaitForDoorbellAck()
4823 u32 intstat=0; in WaitForDoorbellInt() local
4828 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt()
4829 if (intstat & MPI_HIS_DOORBELL_INTERRUPT) in WaitForDoorbellInt()
4836 intstat = CHIPREG_READ32(&ioc->chip->IntStatus); in WaitForDoorbellInt()
[all …]
/drivers/scsi/
Daic7xxx_old.c3907 aic7xxx_handle_seqint(struct aic7xxx_host *p, unsigned char intstat) in aic7xxx_handle_seqint() argument
3931 switch (intstat & SEQINT_MASK) in aic7xxx_handle_seqint()
4223 p->host_no, channel, target, lun, intstat, scb_index); in aic7xxx_handle_seqint()
4232 " cmd 0x%lx.\n", p->host_no, channel, target, lun, intstat, in aic7xxx_handle_seqint()
4882 p->host_no, channel, target, lun, intstat, in aic7xxx_handle_seqint()
5643 aic7xxx_handle_scsiint(struct aic7xxx_host *p, unsigned char intstat) in aic7xxx_handle_scsiint() argument
6335 unsigned char intstat; in aic7xxx_isr() local
6344 if (!((intstat = aic_inb(p, INTSTAT)) & INT_PEND)) in aic7xxx_isr()
6381 if (intstat & CMDCMPLT) in aic7xxx_isr()
6386 if (intstat & BRKADRINT) in aic7xxx_isr()
[all …]