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

12

/freebsd-13-stable/stand/i386/libi386/
H A Dpxe.c437 t_PXENV_UNDI_ISR *isr; local
441 isr = bio_alloc(sizeof(*isr));
442 if (isr == NULL)
445 bzero(isr, sizeof(*isr));
446 isr->FuncFlag = PXENV_UNDI_ISR_IN_START;
447 pxe_call(PXENV_UNDI_ISR, isr);
448 if (isr->Status != 0) {
449 bio_free(isr, sizeo
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_interrupts.c49 uint32_t isr; local
51 isr = OS_REG_READ(ah, AR_ISR);
52 if (isr == 0xffffffff) {
64 *masked = (isr & (HAL_INT_COMMON - HAL_INT_BNR)) & ahp->ah_maskReg;
66 if (isr & AR_FATAL_INT)
68 if (isr & (AR_ISR_RXOK_INT | AR_ISR_RXERR_INT))
70 if (isr & (AR_ISR_TXOK_INT | AR_ISR_TXDESC_INT | AR_ISR_TXERR_INT | AR_ISR_TXEOL_INT))
77 AH_PRIVATE(ah)->ah_fatalState[0] = isr;
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_interrupts.c53 uint32_t isr; local
55 isr = OS_REG_READ(ah, AR_ISR_RAC);
56 if (isr == 0xffffffff) {
61 *masked = isr & HAL_INT_COMMON;
63 if (isr & AR_ISR_HIUERR)
65 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR))
67 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL))
74 if ((isr & AR_ISR_RXORN) && AH_PRIVATE(ah)->ah_rxornIsFatal) {
84 AH_PRIVATE(ah)->ah_fatalState[0] = isr;
92 __func__, isr, AH_PRIVAT
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_interrupts.c38 uint32_t isr; local
47 isr = OS_REG_READ(ah, AR_INTR_ASYNC_CAUSE);
48 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_MAC_IRQ) != 0)
51 isr = OS_REG_READ(ah, AR_INTR_SYNC_CAUSE);
52 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_SYNC_DEFAULT))
72 uint32_t isr, isr0, isr1, sync_cause = 0, o_sync_cause = 0; local
88 isr = OS_REG_READ(ah, AR_ISR);
92 isr
[all...]
/freebsd-13-stable/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_interrupts.c58 uint32_t isr, isr0, isr1; local
62 isr = OS_REG_READ(ah, AR_ISR);
64 if (isr & AR_ISR_BCNMISC) {
77 isr = OS_REG_READ(ah, AR_ISR_RAC);
78 if (isr == 0xffffffff) {
83 *masked = isr & HAL_INT_COMMON;
85 if (isr & AR_ISR_HIUERR)
87 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR))
89 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL)) {
104 if ((isr
[all...]
/freebsd-13-stable/sys/dev/axgbe/
H A Dxgbe-i2c.c278 xgbe_i2c_clear_isr_interrupts(struct xgbe_prv_data *pdata, unsigned int isr) argument
282 if (isr & XGBE_INTR_TX_ABRT) {
287 if (isr & XGBE_INTR_STOP_DET)
296 unsigned int isr; local
298 isr = XI2C_IOREAD(pdata, IC_RAW_INTR_STAT);
299 axgbe_printf(3, "%s: isr 0x%x\n", __func__, isr);
300 if (!isr)
303 axgbe_printf(3, "%s: I2C interrupt status=%#010x\n", __func__, isr);
305 xgbe_i2c_clear_isr_interrupts(pdata, isr);
[all...]
/freebsd-13-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);
164 if (!isr && !sync_cause && !async_cause) {
170 "%s: isr=0x%x, sync_cause=0x%x, async_cause=0x%x\n",
172 isr,
176 if (isr) {
177 if (isr & AR_ISR_BCNMISC) {
201 isr &= ~AR_ISR_BCNMISC;
209 isr = OS_REG_READ(ah, AR_ISR_RAC);
211 if (isr
[all...]
/freebsd-13-stable/sys/dev/le/
H A Dam7990.c394 uint16_t isr; local
405 isr = (*sc->sc_rdcsr)(sc, LE_CSR0);
408 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr);
410 if ((isr & LE_C0_INTR) == 0) {
423 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD |
426 if (isr & LE_C0_ERR) {
427 if (isr & LE_C0_BABL) {
434 if (isr & LE_C0_CERR) {
439 if (isr
[all...]
H A Dam79900.c432 uint16_t isr; local
443 isr = (*sc->sc_rdcsr)(sc, LE_CSR0);
446 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr);
448 if ((isr & LE_C0_INTR) == 0) {
461 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD |
464 if (isr & LE_C0_ERR) {
465 if (isr & LE_C0_BABL) {
472 if (isr & LE_C0_CERR) {
477 if (isr
[all...]
/freebsd-13-stable/usr.sbin/iscsid/
H A Ddiscovery.c159 struct iscsi_session_remove isr; local
162 memset(&isr, 0, sizeof(isr));
163 isr.isr_session_id = conn->conn_session_id;
164 error = ioctl(conn->conn_iscsi_fd, ISCSISREMOVE, &isr);
/freebsd-13-stable/sys/amd64/vmm/io/
H A Dvhpet.c84 uint64_t isr; /* Interrupt Status */ member in struct:vhpet
183 if (vhpet->isr & (1 << n)) {
187 vhpet->isr &= ~(1 << n);
230 if ((vhpet->isr & (1 << n)) != 0) {
250 vhpet->isr |= 1 << n;
408 if (vhpet->isr & (1 << n))
409 panic("vhpet timer %d isr should not be asserted", n);
451 if (vhpet->isr & (1 << n)) {
452 KASSERT(old_pin != 0, ("timer %d isr asserted to ioapic pin %d",
466 VM_CTR1(vhpet->vm, "hpet t%d isr cleare
[all...]
/freebsd-13-stable/sys/netipsec/
H A Dipsec_output.c113 struct ipsecrequest *isr; local
122 isr = sp->req[*pidx];
123 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) ||
124 (isr->saidx.proto == IPPROTO_AH && !V_ah_enable) ||
125 (isr->saidx.proto == IPPROTO_IPCOMP && !V_ipcomp_enable)) {
128 IPSEC_OSTAT_INC(isr->saidx.proto, pdrops);
137 if (isr->saidx.mode == IPSEC_MODE_TRANSPORT) {
139 *saidx = isr->saidx;
426 struct ipsecrequest *isr; local
435 isr
[all...]
H A Dipsec.c878 struct ipsecrequest *isr; local
929 isr = sp->req[idx];
931 switch (isr->level) {
933 switch (isr->saidx.proto) {
935 if (isr->saidx.mode == IPSEC_MODE_TUNNEL)
941 if (isr->saidx.mode == IPSEC_MODE_TUNNEL)
955 isr->saidx.proto);
961 level = isr->level;
968 panic("%s: Illegal IPsec level %u\n", __func__, isr->level);
/freebsd-13-stable/sys/mips/atheros/
H A Duart_dev_ar933x.c481 uint32_t isr; local
488 isr = ar933x_getreg(bas, AR933X_UART_INT_REG);
489 ar933x_setreg(bas, AR933X_UART_INT_REG, isr);
495 if (isr & AR933X_UART_INT_RX_VALID) {
521 if (isr & AR933X_UART_INT_TX_EMPTY) {
536 if (isr & AR933X_UART_INT_TX_EMPTY) {
/freebsd-13-stable/sys/dev/uart/
H A Duart_dev_msm.c457 uint32_t isr; local
463 isr = GETREG(bas, UART_DM_MISR);
468 if (isr & UART_DM_RXLEV) {
476 if (isr & UART_DM_RXSTALE) {
485 if (isr & UART_DM_TX_READY) {
498 if (isr & UART_DM_TXLEV) {
/freebsd-13-stable/sys/powerpc/powermac/
H A Dkiic.c303 u_int isr; local
307 isr = kiic_readreg(sc, ISR);
309 if (isr & I2C_INT_ADDR) {
324 if (isr & I2C_INT_DATA) {
344 if (isr & I2C_INT_STOP) {
350 kiic_writereg(sc, ISR, isr);
/freebsd-13-stable/sys/net/
H A Dif_loop.c288 int isr; local
349 isr = NETISR_IP;
355 isr = NETISR_IPV6;
365 netisr_queue(isr, m); /* mbuf is free'd on failure. */
H A Dif_ipsec.c846 struct ipsecrequest *isr; local
853 if ((isr = ipsec_newisr()) == NULL)
858 sp[i]->req[sp[i]->tcount++] = isr;
862 isr->level = IPSEC_LEVEL_UNIQUE;
863 isr->saidx.proto = IPPROTO_ESP;
864 isr->saidx.mode = IPSEC_MODE_TUNNEL;
865 isr->saidx.reqid = reqid;
868 bcopy(src, &isr->saidx.dst, src->sa_len);
869 bcopy(dst, &isr->saidx.src, dst->sa_len);
872 bcopy(src, &isr
[all...]
H A Dif_fwsubr.c504 int type, isr; local
606 isr = NETISR_IP;
620 isr = NETISR_ARP;
627 isr = NETISR_IPV6;
638 netisr_dispatch(isr, m);
H A Dif_infiniband.c409 int isr; local
465 isr = NETISR_IP;
474 isr = NETISR_ARP;
479 isr = NETISR_IPV6;
500 netisr_dispatch(isr, m);
H A Dif_spppfr.c167 int isr = -1; local
260 isr = NETISR_IP;
271 if (netisr_queue(isr, m)) { /* (0) on success. */
H A Dif_gif.c435 int isr, n, af; local
522 isr = NETISR_IP;
527 isr = NETISR_IPV6;
585 netisr_dispatch(isr, m);
/freebsd-13-stable/sys/arm64/rockchip/
H A Drk_spi.c382 uint32_t intreg, isr; local
388 isr = RK_SPI_READ_4(sc, RK_SPI_ISR);
389 RK_SPI_WRITE_4(sc, RK_SPI_ICR, isr);
391 if (isr & ISR_RFFIS)
394 if (isr & ISR_TFEIS)
/freebsd-13-stable/usr.sbin/bsnmpd/modules/snmp_wlan/
H A Dwlan_sys.c2165 const struct ieee80211req_scan_result *isr, uint8_t *ssid)
2169 if ((sr = wlan_scan_new_result(ssid, isr->isr_bssid)) == NULL)
2172 sr->opchannel = wlan_channel_flags_to_snmp_phy(isr->isr_flags);
2173 sr->rssi = isr->isr_rssi;
2174 sr->frequency = isr->isr_freq;
2175 sr->noise = isr->isr_noise;
2176 sr->bintval = isr->isr_intval;
2177 sr->capinfo = wlan_peercaps_to_snmp(isr->isr_capinfo);
2195 struct ieee80211req_scan_result isr; local
2207 memcpy(&isr, c
2164 wlan_add_new_scan_result(struct wlan_iface *wif, const struct ieee80211req_scan_result *isr, uint8_t *ssid) argument
[all...]
/freebsd-13-stable/sys/x86/isa/
H A Datpic.c533 int port, isr; local
542 isr = inb(port);
545 if ((isr & IRQ_MASK(7)) == 0)

Completed in 385 milliseconds

12