Searched refs:isr (Results 1 - 25 of 74) sorted by relevance

123

/freebsd-10-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_interrupts.c47 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 Dar5211_interrupts.c51 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 Dar5416_interrupts.c36 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 Dipsec_output.c95 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 Dipsec.c1099 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 Dxform_ipcomp.c347 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 Dkey_debug.c480 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 Dar5212_interrupts.c57 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 Dar9300_interrupts.c90 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 Dif_ef.c233 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 Dif_loop.c300 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 Dif_fddisubr.c366 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 Dif_faith.c191 int isr; local
218 isr = NETISR_IP;
223 isr = NETISR_IPV6;
236 netisr_dispatch(isr, m);
H A Dif_atmsubr.c244 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 Dam7990.c392 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 Dam79900.c430 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 Ddiscovery.c158 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 Dat91_mci.c1170 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 Dip6_forward.c253 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 Dsmc90cx6.c600 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 Ddp83932.c822 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 Dia32_trap.c206 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 Dvhpet.c79 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 Dtrap.c244 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 Dkiic.c302 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);

Completed in 178 milliseconds

123