/freebsd-10-stable/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_interrupts.c | 47 uint32_t isr; local 49 isr = OS_REG_READ(ah, AR_ISR); 50 if (isr == 0xffffffff) { 62 *masked = (isr & (HAL_INT_COMMON - HAL_INT_BNR)) & ahp->ah_maskReg; 64 if (isr & AR_FATAL_INT) 66 if (isr & (AR_ISR_RXOK_INT | AR_ISR_RXERR_INT)) 68 if (isr & (AR_ISR_TXOK_INT | AR_ISR_TXDESC_INT | AR_ISR_TXERR_INT | AR_ISR_TXEOL_INT)) 75 AH_PRIVATE(ah)->ah_fatalState[0] = isr;
|
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_interrupts.c | 51 uint32_t isr; local 53 isr = OS_REG_READ(ah, AR_ISR_RAC); 54 if (isr == 0xffffffff) { 59 *masked = isr & HAL_INT_COMMON; 61 if (isr & AR_ISR_HIUERR) 63 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR)) 65 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL)) 72 if ((isr & AR_ISR_RXORN) && AH_PRIVATE(ah)->ah_rxornIsFatal) { 82 AH_PRIVATE(ah)->ah_fatalState[0] = isr; 90 __func__, isr, AH_PRIVAT [all...] |
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_interrupts.c | 36 uint32_t isr; local 45 isr = OS_REG_READ(ah, AR_INTR_ASYNC_CAUSE); 46 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_MAC_IRQ) != 0) 49 isr = OS_REG_READ(ah, AR_INTR_SYNC_CAUSE); 50 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_SYNC_DEFAULT)) 70 uint32_t isr, isr0, isr1, sync_cause = 0, o_sync_cause = 0; local 86 isr = OS_REG_READ(ah, AR_ISR); 90 isr [all...] |
/freebsd-10-stable/sys/netipsec/ |
H A D | ipsec_output.c | 95 ipsec_process_done(struct mbuf *m, struct ipsecrequest *isr) argument 104 IPSEC_ASSERT(isr != NULL, ("null ISR")); 105 sav = isr->sav; 165 if (isr->next) { 171 return ipsec4_process_packet(m, isr->next, 0, 0); 179 return ipsec6_process_packet(m, isr->next); 268 struct ipsecrequest *isr, 275 if (isr->saidx.proto == IPPROTO_ESP) \ 277 else if (isr->saidx.proto == IPPROTO_AH)\ 284 IPSECREQUEST_LOCK_ASSERT(isr); 266 ipsec_nextisr( struct mbuf *m, struct ipsecrequest *isr, int af, struct secasindex *saidx, int *error ) argument 426 ipsec4_process_packet( struct mbuf *m, struct ipsecrequest *isr, int flags, int tunalready) argument [all...] |
H A D | ipsec.c | 1099 ipsec_get_reqlevel(struct ipsecrequest *isr) argument 1105 IPSEC_ASSERT(isr != NULL && isr->sp != NULL, ("null argument")); 1106 IPSEC_ASSERT(isr->sp->spidx.src.sa.sa_family == isr->sp->spidx.dst.sa.sa_family, 1108 isr->sp->spidx.src.sa.sa_family, 1109 isr->sp->spidx.dst.sa.sa_family)); 1124 switch (((struct sockaddr *)&isr->sp->spidx.src)->sa_family) { 1143 __func__, isr->sp->spidx.src.sa.sa_family); 1149 switch (isr 1205 struct ipsecrequest *isr; local 1346 struct ipsecrequest *isr; local [all...] |
H A D | xform_ipcomp.c | 347 struct ipsecrequest *isr, 360 sav = isr->sav; 373 return ipsec_process_done(m, isr); 457 tc->tc_isr = isr; 488 struct ipsecrequest *isr; local 498 isr = tc->tc_isr; 499 IPSECREQUEST_LOCK(isr); 501 /* With the isr lock released SA pointer can be updated. */ 502 if (sav != isr->sav) { 516 IPSECREQUEST_UNLOCK(isr); 345 ipcomp_output( struct mbuf *m, struct ipsecrequest *isr, struct mbuf **mp, int skip, int protoff ) argument [all...] |
H A D | key_debug.c | 480 struct ipsecrequest *isr; local 481 for (isr = sp->req; isr != NULL; isr = isr->next) { 483 printf(" level=%u\n", isr->level); 484 kdebug_secasindex(&isr->saidx); 486 if (isr->sav != NULL) 487 kdebug_secasv(isr->sav);
|
/freebsd-10-stable/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_interrupts.c | 57 uint32_t isr, isr0, isr1; local 61 isr = OS_REG_READ(ah, AR_ISR); 63 if (isr & AR_ISR_BCNMISC) { 76 isr = OS_REG_READ(ah, AR_ISR_RAC); 77 if (isr == 0xffffffff) { 82 *masked = isr & HAL_INT_COMMON; 84 if (isr & AR_ISR_HIUERR) 86 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR)) 88 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL)) { 103 if ((isr [all...] |
/freebsd-10-stable/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_interrupts.c | 90 u_int32_t isr = 0; local 134 isr = OS_REG_READ(ah, AR_ISR); 149 if (!isr && !sync_cause && !async_cause) { 155 "%s: isr=0x%x, sync_cause=0x%x, async_cause=0x%x\n", 157 isr, 161 if (isr) { 162 if (isr & AR_ISR_BCNMISC) { 186 isr &= ~AR_ISR_BCNMISC; 194 isr = OS_REG_READ(ah, AR_ISR_RAC); 196 if (isr [all...] |
/freebsd-10-stable/sys/net/ |
H A D | if_ef.c | 233 int isr; local 238 isr = NETISR_IPX; 245 isr = NETISR_IP; 249 isr = NETISR_ARP; 255 netisr_dispatch(isr, m); 263 int isr; local 269 isr = NETISR_IPX; 275 netisr_dispatch(isr, m); 283 int isr; local 289 isr 311 int isr; local [all...] |
H A D | if_loop.c | 300 int isr; local 361 isr = NETISR_IP; 367 isr = NETISR_IPV6; 372 isr = NETISR_IPX; 377 isr = NETISR_ATALK2; 387 netisr_queue(isr, m); /* mbuf is free'd on failure. */
|
H A D | if_fddisubr.c | 366 int isr; local 478 isr = NETISR_ATALK2; 487 isr = NETISR_AARP; 506 isr = NETISR_IP; 512 isr = NETISR_ARP; 517 isr = NETISR_IPV6; 522 isr = NETISR_IPX; 527 isr = NETISR_DECNET; 532 isr = NETISR_ATALK1; 535 isr [all...] |
H A D | if_faith.c | 191 int isr; local 218 isr = NETISR_IP; 223 isr = NETISR_IPV6; 236 netisr_dispatch(isr, m);
|
H A D | if_atmsubr.c | 244 int isr; local 281 isr = NETISR_NATM; 315 isr = NETISR_IP; 321 isr = NETISR_IPV6; 336 netisr_dispatch(isr, m);
|
/freebsd-10-stable/sys/dev/le/ |
H A D | am7990.c | 392 uint16_t isr; local 403 isr = (*sc->sc_rdcsr)(sc, LE_CSR0); 406 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr); 408 if ((isr & LE_C0_INTR) == 0) { 421 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD | 424 if (isr & LE_C0_ERR) { 425 if (isr & LE_C0_BABL) { 432 if (isr & LE_C0_CERR) { 437 if (isr [all...] |
H A D | am79900.c | 430 uint16_t isr; local 441 isr = (*sc->sc_rdcsr)(sc, LE_CSR0); 444 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr); 446 if ((isr & LE_C0_INTR) == 0) { 459 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD | 462 if (isr & LE_C0_ERR) { 463 if (isr & LE_C0_BABL) { 470 if (isr & LE_C0_CERR) { 475 if (isr [all...] |
/freebsd-10-stable/usr.sbin/iscsid/ |
H A D | discovery.c | 158 struct iscsi_session_remove isr; local 161 memset(&isr, 0, sizeof(isr)); 162 isr.isr_session_id = conn->conn_session_id; 163 error = ioctl(conn->conn_iscsi_fd, ISCSISREMOVE, &isr);
|
/freebsd-10-stable/sys/arm/at91/ |
H A D | at91_mci.c | 1170 uint32_t sr, isr; local 1175 isr = sr & RD4(sc, MCI_IMR); 1178 printf("i 0x%x sr 0x%x\n", isr, sr); 1184 WR4(sc, MCI_IDR, isr); 1185 if (isr & MCI_SR_ERROR) { 1186 if (isr & (MCI_SR_RTOE | MCI_SR_DTOE)) 1188 else if (isr & (MCI_SR_RCRCE | MCI_SR_DCRCE)) 1190 else if (isr & (MCI_SR_OVRE | MCI_SR_UNRE)) 1212 if (isr & MCI_SR_TXBUFE) { 1222 isr | [all...] |
/freebsd-10-stable/sys/netinet6/ |
H A D | ip6_forward.c | 253 struct ipsecrequest *isr = NULL; local 264 for (isr = sp->req; isr; isr = isr->next) { 265 if (isr->saidx.mode == IPSEC_MODE_ANY) 267 if (isr->saidx.mode == IPSEC_MODE_TUNNEL) 274 if (!isr)
|
/freebsd-10-stable/sys/dev/cm/ |
H A D | smc90cx6.c | 600 cm_tint_locked(sc, isr) 602 int isr; 621 if (isr & CM_TMA || sc->sc_broadcast[buffer]) 694 u_char isr, maskedisr; local 700 isr = GETREG(CMSTAT); 701 maskedisr = isr & sc->sc_intmask; 711 isr, sc->sc_intmask); 819 cm_tint_locked(sc, isr); 821 isr = GETREG(CMSTAT); 822 maskedisr = isr [all...] |
/freebsd-10-stable/sys/dev/snc/ |
H A D | dp83932.c | 822 int isr; local 828 while ((isr = (NIC_GET(sc, SNCR_ISR) & ISR_ALL)) != 0) { 830 NIC_PUT(sc, SNCR_ISR, isr); 833 if (isr & (ISR_BR | ISR_LCD | ISR_TC)) 836 isr); 838 if (isr & (ISR_TXDN | ISR_TXER | ISR_PINT)) 841 if (isr & ISR_PKTRX) 844 if (isr & (ISR_HBL | ISR_RDE | ISR_RBE | ISR_RBAE | ISR_RFO)) { 845 if (isr & ISR_HBL) 855 if (isr [all...] |
/freebsd-10-stable/sys/ia64/ia32/ |
H A D | ia32_trap.c | 206 switch ((tf->tf_special.isr >> 16) & 0xffff) { 230 ucode = (tf->tf_special.isr & 0xffff) + BUS_SEGM_FAULT; 257 if (((tf->tf_special.isr >> 16) & 0xffff) == 0x80) { 261 ucode = (tf->tf_special.isr >> 16) & 0xffff;
|
/freebsd-10-stable/sys/amd64/vmm/io/ |
H A D | vhpet.c | 79 uint64_t isr; /* Interrupt Status */ member in struct:vhpet 178 if (vhpet->isr & (1 << n)) { 182 vhpet->isr &= ~(1 << n); 225 if ((vhpet->isr & (1 << n)) != 0) { 245 vhpet->isr |= 1 << n; 403 if (vhpet->isr & (1 << n)) 404 panic("vhpet timer %d isr should not be asserted", n); 446 if (vhpet->isr & (1 << n)) { 447 KASSERT(old_pin != 0, ("timer %d isr asserted to ioapic pin %d", 461 VM_CTR1(vhpet->vm, "hpet t%d isr cleare [all...] |
/freebsd-10-stable/sys/ia64/ia64/ |
H A D | trap.c | 244 static void printisr(uint64_t isr) argument 246 printbits(isr, isr_bits, sizeof(isr_bits)/sizeof(isr_bits[0])); 262 printf(" cr.isr = 0x%lx (", tf->tf_special.isr); 263 printisr(tf->tf_special.isr); 555 if (tf->tf_special.isr & IA64_ISR_X) 557 else if (tf->tf_special.isr & IA64_ISR_W) 611 code = tf->tf_special.isr & (IA64_ISR_CODE & 0xf0ull); 743 &tf->tf_special.isr, &tf->tf_special.pr, 755 ei = (tf->tf_special.isr >> 4 [all...] |
/freebsd-10-stable/sys/powerpc/powermac/ |
H A D | kiic.c | 302 u_int isr; local 306 isr = kiic_readreg(sc, ISR); 308 if (isr & I2C_INT_ADDR) { 323 if (isr & I2C_INT_DATA) { 343 if (isr & I2C_INT_STOP) { 349 kiic_writereg(sc, ISR, isr);
|