/freebsd/sys/dev/ath/ath_hal/ar5416/ |
H A D | ar5416_interrupts.c | 36 uint32_t isr; in ar5416IsInterruptPending() local 45 isr = OS_REG_READ(ah, AR_INTR_ASYNC_CAUSE); in ar5416IsInterruptPending() 46 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_MAC_IRQ) != 0) in ar5416IsInterruptPending() 49 isr = OS_REG_READ(ah, AR_INTR_SYNC_CAUSE); in ar5416IsInterruptPending() 50 if (isr != AR_INTR_SPURIOUS && (isr & AR_INTR_SYNC_DEFAULT)) in ar5416IsInterruptPending() 70 uint32_t isr, isr0, isr1, sync_cause = 0, o_sync_cause = 0; in ar5416GetPendingInterrupts() local 86 isr = OS_REG_READ(ah, AR_ISR); in ar5416GetPendingInterrupts() 90 isr = OS_REG_READ(ah, AR_ISR); in ar5416GetPendingInterrupts() 92 isr = 0; in ar5416GetPendingInterrupts() 100 if (isr == 0 && sync_cause == 0) in ar5416GetPendingInterrupts() [all …]
|
/freebsd/stand/i386/libi386/ |
H A D | pxe.c | 434 pxe_netif_receive_isr(t_PXENV_UNDI_ISR *isr, void **pkt, ssize_t *retsize) in pxe_netif_receive_isr() argument 456 bzero(isr, sizeof(*isr)); in pxe_netif_receive_isr() 457 isr->FuncFlag = PXENV_UNDI_ISR_IN_START; in pxe_netif_receive_isr() 458 pxe_call(PXENV_UNDI_ISR, isr); in pxe_netif_receive_isr() 460 if (isr->Status != 0) { in pxe_netif_receive_isr() 464 bzero(isr, sizeof(*isr)); in pxe_netif_receive_isr() 465 isr->FuncFlag = PXENV_UNDI_ISR_IN_PROCESS; in pxe_netif_receive_isr() 466 pxe_call(PXENV_UNDI_ISR, isr); in pxe_netif_receive_isr() 467 if (isr->Status != 0) { in pxe_netif_receive_isr() 470 if (isr->FuncFlag == PXENV_UNDI_ISR_OUT_BUSY) { in pxe_netif_receive_isr() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5211/ |
H A D | ar5211_interrupts.c | 51 uint32_t isr; in ar5211GetPendingInterrupts() local 53 isr = OS_REG_READ(ah, AR_ISR_RAC); in ar5211GetPendingInterrupts() 54 if (isr == 0xffffffff) { in ar5211GetPendingInterrupts() 59 *masked = isr & HAL_INT_COMMON; in ar5211GetPendingInterrupts() 61 if (isr & AR_ISR_HIUERR) in ar5211GetPendingInterrupts() 63 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR)) in ar5211GetPendingInterrupts() 65 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL)) in ar5211GetPendingInterrupts() 72 if ((isr & AR_ISR_RXORN) && AH_PRIVATE(ah)->ah_rxornIsFatal) { in ar5211GetPendingInterrupts() 82 AH_PRIVATE(ah)->ah_fatalState[0] = isr; in ar5211GetPendingInterrupts() 90 __func__, isr, AH_PRIVATE(ah)->ah_fatalState[3]); in ar5211GetPendingInterrupts()
|
/freebsd/sys/dev/ath/ath_hal/ar5212/ |
H A D | ar5212_interrupts.c | 56 uint32_t isr, isr0, isr1; in ar5212GetPendingInterrupts() local 60 isr = OS_REG_READ(ah, AR_ISR); in ar5212GetPendingInterrupts() 62 if (isr & AR_ISR_BCNMISC) { in ar5212GetPendingInterrupts() 75 isr = OS_REG_READ(ah, AR_ISR_RAC); in ar5212GetPendingInterrupts() 76 if (isr == 0xffffffff) { in ar5212GetPendingInterrupts() 81 *masked = isr & HAL_INT_COMMON; in ar5212GetPendingInterrupts() 83 if (isr & AR_ISR_HIUERR) in ar5212GetPendingInterrupts() 85 if (isr & (AR_ISR_RXOK | AR_ISR_RXERR)) in ar5212GetPendingInterrupts() 87 if (isr & (AR_ISR_TXOK | AR_ISR_TXDESC | AR_ISR_TXERR | AR_ISR_TXEOL)) { in ar5212GetPendingInterrupts() 102 if ((isr & AR_ISR_RXORN) && AH_PRIVATE(ah)->ah_rxornIsFatal) { in ar5212GetPendingInterrupts() [all …]
|
/freebsd/sys/dev/ath/ath_hal/ar5210/ |
H A D | ar5210_interrupts.c | 47 uint32_t isr; in ar5210GetPendingInterrupts() local 49 isr = OS_REG_READ(ah, AR_ISR); in ar5210GetPendingInterrupts() 50 if (isr == 0xffffffff) { in ar5210GetPendingInterrupts() 62 *masked = (isr & (HAL_INT_COMMON - HAL_INT_BNR)) & ahp->ah_maskReg; in ar5210GetPendingInterrupts() 64 if (isr & AR_FATAL_INT) in ar5210GetPendingInterrupts() 66 if (isr & (AR_ISR_RXOK_INT | AR_ISR_RXERR_INT)) in ar5210GetPendingInterrupts() 68 if (isr & (AR_ISR_TXOK_INT | AR_ISR_TXDESC_INT | AR_ISR_TXERR_INT | AR_ISR_TXEOL_INT)) in ar5210GetPendingInterrupts() 75 AH_PRIVATE(ah)->ah_fatalState[0] = isr; in ar5210GetPendingInterrupts()
|
/freebsd/sys/contrib/dev/ath/ath_hal/ar9300/ |
H A D | ar9300_interrupts.c | 90 u_int32_t isr = 0; in ar9300_get_pending_interrupts() local 134 isr = OS_REG_READ(ah, AR_ISR); in ar9300_get_pending_interrupts() 164 if (!isr && !sync_cause && !async_cause) { in ar9300_get_pending_interrupts() 172 isr, in ar9300_get_pending_interrupts() 176 if (isr) { in ar9300_get_pending_interrupts() 177 if (isr & AR_ISR_BCNMISC) { in ar9300_get_pending_interrupts() 201 isr &= ~AR_ISR_BCNMISC; in ar9300_get_pending_interrupts() 209 isr = OS_REG_READ(ah, AR_ISR_RAC); in ar9300_get_pending_interrupts() 211 if (isr == 0xffffffff) { in ar9300_get_pending_interrupts() 217 *masked = isr & HAL_INT_COMMON; in ar9300_get_pending_interrupts() [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-i2c.c | 276 xgbe_i2c_clear_isr_interrupts(struct xgbe_prv_data *pdata, unsigned int isr) in xgbe_i2c_clear_isr_interrupts() argument 280 if (isr & XGBE_INTR_TX_ABRT) { in xgbe_i2c_clear_isr_interrupts() 285 if (isr & XGBE_INTR_STOP_DET) in xgbe_i2c_clear_isr_interrupts() 294 unsigned int isr; in xgbe_i2c_isr() local 296 isr = XI2C_IOREAD(pdata, IC_RAW_INTR_STAT); in xgbe_i2c_isr() 297 axgbe_printf(3, "%s: isr 0x%x\n", __func__, isr); in xgbe_i2c_isr() 298 if (!isr) in xgbe_i2c_isr() 301 axgbe_printf(3, "%s: I2C interrupt status=%#010x\n", __func__, isr); in xgbe_i2c_isr() 303 xgbe_i2c_clear_isr_interrupts(pdata, isr); in xgbe_i2c_isr() [all...] |
/freebsd/sys/dev/le/ |
H A D | am79900.c | 425 uint16_t isr; in am79900_intr() local 436 isr = (*sc->sc_rdcsr)(sc, LE_CSR0); in am79900_intr() 439 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr); in am79900_intr() 441 if ((isr & LE_C0_INTR) == 0) { in am79900_intr() 454 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD | in am79900_intr() 457 if (isr & LE_C0_ERR) { in am79900_intr() 458 if (isr & LE_C0_BABL) { in am79900_intr() 465 if (isr & LE_C0_CERR) { in am79900_intr() 470 if (isr & LE_C0_MISS) { in am79900_intr() 476 if (isr & LE_C0_MERR) { in am79900_intr() [all …]
|
H A D | am7990.c | 389 uint16_t isr; in am7990_intr() local 400 isr = (*sc->sc_rdcsr)(sc, LE_CSR0); in am7990_intr() 403 if_printf(ifp, "%s: entering with isr=%04x\n", __func__, isr); in am7990_intr() 405 if ((isr & LE_C0_INTR) == 0) { in am7990_intr() 418 (*sc->sc_wrcsr)(sc, LE_CSR0, isr & ~(LE_C0_INEA | LE_C0_TDMD | in am7990_intr() 421 if (isr & LE_C0_ERR) { in am7990_intr() 422 if (isr & LE_C0_BABL) { in am7990_intr() 429 if (isr & LE_C0_CERR) { in am7990_intr() 434 if (isr & LE_C0_MISS) { in am7990_intr() 440 if (isr & LE_C0_MERR) { in am7990_intr() [all …]
|
/freebsd/usr.sbin/iscsid/ |
H A D | discovery.c | 104 struct iscsi_session_remove isr; in kernel_remove() local 107 memset(&isr, 0, sizeof(isr)); in kernel_remove() 108 isr.isr_session_id = conn->conn_session_id; in kernel_remove() 109 error = ioctl(conn->conn_iscsi_fd, ISCSISREMOVE, &isr); in kernel_remove()
|
/freebsd/sys/netipsec/ |
H A D | ipsec_output.c | 118 struct ipsecrequest *isr; in ipsec4_allocsa() 127 isr = sp->req[*pidx]; in ipsec4_allocsa() 128 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec4_allocsa() 129 (isr->saidx.proto == IPPROTO_AH && !V_ah_enable) || in ipsec4_allocsa() 130 (isr->saidx.proto == IPPROTO_IPCOMP && !V_ipcomp_enable)) { in ipsec4_allocsa() 133 IPSEC_OSTAT_INC(isr->saidx.proto, pdrops); in ipsec4_allocsa() 142 if (isr->saidx.mode == IPSEC_MODE_TRANSPORT) { in ipsec4_allocsa() 144 *saidx = isr->saidx; in ipsec4_allocsa() 511 struct ipsecrequest *isr; in ipsec6_allocsa() 520 isr in ipsec6_allocsa() 116 struct ipsecrequest *isr; ipsec4_allocsa() local 497 struct ipsecrequest *isr; ipsec6_allocsa() local [all...] |
H A D | ipsec.c | 888 struct ipsecrequest *isr; in ipsec_get_reqlevel() local 939 isr = sp->req[idx]; in ipsec_get_reqlevel() 941 switch (isr->level) { in ipsec_get_reqlevel() 943 switch (isr->saidx.proto) { in ipsec_get_reqlevel() 945 if (isr->saidx.mode == IPSEC_MODE_TUNNEL) in ipsec_get_reqlevel() 951 if (isr->saidx.mode == IPSEC_MODE_TUNNEL) in ipsec_get_reqlevel() 965 isr->saidx.proto); in ipsec_get_reqlevel() 971 level = isr->level; in ipsec_get_reqlevel() 978 panic("%s: Illegal IPsec level %u\n", __func__, isr->level); in ipsec_get_reqlevel()
|
/freebsd/sys/amd64/vmm/io/ |
H A D | vhpet.c | 79 uint64_t isr; /* Interrupt Status */ member 178 if (vhpet->isr & (1 << n)) { in vhpet_timer_clear_isr() 182 vhpet->isr &= ~(1 << n); in vhpet_timer_clear_isr() 225 if ((vhpet->isr & (1 << n)) != 0) { in vhpet_timer_interrupt() 245 vhpet->isr |= 1 << n; in vhpet_timer_interrupt() 403 if (vhpet->isr & (1 << n)) in vhpet_timer_update_config() 446 if (vhpet->isr & (1 << n)) { in vhpet_timer_update_config() 464 vhpet->isr &= ~(1 << n); in vhpet_timer_update_config() 542 isr_clear_mask = vhpet->isr & data; in vhpet_mmio_write() 659 data = vhpet->isr; in vhpet_mmio_read() [all …]
|
/freebsd/sys/powerpc/powermac/ |
H A D | kiic.c | 300 u_int isr; in kiic_intr() local 304 isr = kiic_readreg(sc, ISR); in kiic_intr() 306 if (isr & I2C_INT_ADDR) { in kiic_intr() 321 if (isr & I2C_INT_DATA) { in kiic_intr() 341 if (isr & I2C_INT_STOP) { in kiic_intr() 347 kiic_writereg(sc, ISR, isr); in kiic_intr()
|
/freebsd/sys/dev/uart/ |
H A D | uart_dev_msm.c | 455 uint32_t isr; in msm_bus_ipend() local 461 isr = GETREG(bas, UART_DM_MISR); in msm_bus_ipend() 466 if (isr & UART_DM_RXLEV) { in msm_bus_ipend() 474 if (isr & UART_DM_RXSTALE) { in msm_bus_ipend() 483 if (isr & UART_DM_TX_READY) { in msm_bus_ipend() 496 if (isr & UART_DM_TXLEV) { in msm_bus_ipend()
|
/freebsd/sys/net/ |
H A D | if_ipsec.c | 855 struct ipsecrequest *isr; in ipsec_newpolicies() local 862 if ((isr = ipsec_newisr()) == NULL) in ipsec_newpolicies() 867 sp[i]->req[sp[i]->tcount++] = isr; in ipsec_newpolicies() 871 isr->level = IPSEC_LEVEL_UNIQUE; in ipsec_newpolicies() 872 isr->saidx.proto = IPPROTO_ESP; in ipsec_newpolicies() 873 isr->saidx.mode = IPSEC_MODE_TUNNEL; in ipsec_newpolicies() 874 isr->saidx.reqid = reqid; in ipsec_newpolicies() 877 bcopy(src, &isr->saidx.dst, src->sa_len); in ipsec_newpolicies() 878 bcopy(dst, &isr->saidx.src, dst->sa_len); in ipsec_newpolicies() 881 bcopy(src, &isr in ipsec_newpolicies() [all...] |
H A D | if_loop.c | 280 int isr; in if_simloop() local 341 isr = NETISR_IP; in if_simloop() 347 isr = NETISR_IPV6; in if_simloop() 357 netisr_queue(isr, m); /* mbuf is free'd on failure. */ in if_simloop()
|
H A D | if_infiniband.c | 418 int isr; in infiniband_input() local 499 isr = NETISR_IP; in infiniband_input() 508 isr = NETISR_ARP; in infiniband_input() 513 isr = NETISR_IPV6; in infiniband_input() 533 netisr_dispatch(isr, m); in infiniband_input()
|
H A D | if_fwsubr.c | 521 int type, isr; in firewire_input() local 623 isr = NETISR_IP; in firewire_input() 637 isr = NETISR_ARP; in firewire_input() 644 isr = NETISR_IPV6; in firewire_input() 655 netisr_dispatch(isr, m); in firewire_input()
|
H A D | if_gif.c | 438 int isr, n, af; in gif_input() 525 isr = NETISR_IP; in gif_input() 530 isr = NETISR_IPV6; in gif_input() 588 netisr_dispatch(isr, m); in gif_input() 437 int isr, n, af; gif_input() local
|
/freebsd/sys/dev/spibus/controller/rockchip/ |
H A D | rk_spi.c | 377 uint32_t intreg, isr; in rk_spi_intr() local 383 isr = RK_SPI_READ_4(sc, RK_SPI_ISR); in rk_spi_intr() 384 RK_SPI_WRITE_4(sc, RK_SPI_ICR, isr); in rk_spi_intr() 386 if (isr & ISR_RFFIS) in rk_spi_intr() 389 if (isr & ISR_TFEIS) in rk_spi_intr()
|
/freebsd/usr.sbin/bsnmpd/modules/snmp_wlan/ |
H A D | wlan_sys.c | 2162 const struct ieee80211req_scan_result *isr, uint8_t *ssid) in wlan_add_new_scan_result() argument 2166 if ((sr = wlan_scan_new_result(ssid, isr->isr_bssid)) == NULL) in wlan_add_new_scan_result() 2169 sr->opchannel = wlan_channel_flags_to_snmp_phy(isr->isr_flags); in wlan_add_new_scan_result() 2170 sr->rssi = isr->isr_rssi; in wlan_add_new_scan_result() 2171 sr->frequency = isr->isr_freq; in wlan_add_new_scan_result() 2172 sr->noise = isr->isr_noise; in wlan_add_new_scan_result() 2173 sr->bintval = isr->isr_intval; in wlan_add_new_scan_result() 2174 sr->capinfo = wlan_peercaps_to_snmp(isr->isr_capinfo); in wlan_add_new_scan_result() 2192 struct ieee80211req_scan_result isr; in wlan_get_scan_results() local 2204 memcpy(&isr, cp, sizeof(struct ieee80211req_scan_result)); in wlan_get_scan_results() [all …]
|
/freebsd/usr.sbin/bhyve/ |
H A D | virtio.h | 352 vi_interrupt(struct virtio_softc *vs, uint8_t isr, uint16_t msix_idx) in vi_interrupt() argument 359 vs->vs_isr |= isr; in vi_interrupt()
|
/freebsd/sys/netgraph/ |
H A D | ng_iface.c | 686 int isr; in ng_iface_rcvdata() local 712 isr = NETISR_IP; in ng_iface_rcvdata() 717 isr = NETISR_IPV6; in ng_iface_rcvdata() 728 netisr_dispatch(isr, m); in ng_iface_rcvdata()
|
/freebsd/sys/contrib/device-tree/Bindings/net/ieee802154/ |
H A D | mcr20a.txt | 9 can occur deadlocks while handling isr.
|