Lines Matching refs:intstat
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()
794 if ((intstat & SEQINT) != 0) in ahc_intr()
795 ahc_handle_seqint(ahc, intstat); in ahc_intr()
797 if ((intstat & SCSIINT) != 0) in ahc_intr()
798 ahc_handle_scsiint(ahc, intstat); in ahc_intr()
977 ahc_handle_seqint(struct ahc_softc *ahc, u_int intstat) in ahc_handle_seqint() argument
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()
1514 intstat, ahc_inb(ahc, SCSISIGI)); in ahc_handle_seqint()
1527 ahc_handle_scsiint(struct ahc_softc *ahc, u_int intstat) in ahc_handle_scsiint() argument
5555 int intstat; in ahc_pause_and_flushwork() local
5575 intstat = ahc_inb(ahc, INTSTAT); in ahc_pause_and_flushwork()
5576 if ((intstat & INT_PEND) == 0) { in ahc_pause_and_flushwork()
5578 intstat = ahc_inb(ahc, INTSTAT); in ahc_pause_and_flushwork()
5581 && (intstat != 0xFF || (ahc->features & AHC_REMOVABLE) == 0) in ahc_pause_and_flushwork()
5582 && ((intstat & INT_PEND) != 0 in ahc_pause_and_flushwork()