Home
last modified time | relevance | path

Searched full:isr (Results 1 – 25 of 195) sorted by relevance

12345678

/freebsd/sys/dev/ath/ath_hal/ar5416/
H A Dar5416_interrupts.c36 uint32_t isr; in ar5416IsInterruptPending() local
42 * Some platforms trigger our ISR before applying power to in ar5416IsInterruptPending()
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()
58 * the interrupt line, and returns both the masked and unmasked mapped ISR
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()
[all …]
/freebsd/stand/i386/libi386/
H A Dpxe.c434 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/contrib/dev/ath/ath_hal/ar9300/
H A Dar9300_interrupts.c39 * Some platforms trigger our ISR before applying power to in ar9300_is_interrupt_pending()
65 * the interrupt line, and returns both the masked and unmasked mapped ISR
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()
170 "%s: isr=0x%x, sync_cause=0x%x, async_cause=0x%x\n", 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()
181 /* Translate ISR bits to HAL values */ in ar9300_get_pending_interrupts()
[all …]
/freebsd/usr.bin/netstat/
H A Dnetisr.c190 netisr_load_sysctl_uint("net.isr.bindthreads", &bindthreads); in netisr_load_sysctl_config()
191 netisr_load_sysctl_uint("net.isr.maxthreads", &maxthreads); in netisr_load_sysctl_config()
192 netisr_load_sysctl_uint("net.isr.numthreads", &numthreads); in netisr_load_sysctl_config()
194 netisr_load_sysctl_uint("net.isr.defaultqlimit", &defaultqlimit); in netisr_load_sysctl_config()
195 netisr_load_sysctl_uint("net.isr.maxqlimit", &maxqlimit); in netisr_load_sysctl_config()
197 netisr_load_sysctl_string("net.isr.dispatch", dispatch_policy, in netisr_load_sysctl_config()
265 if (sysctlbyname("net.isr.proto", NULL, &len, NULL, 0) < 0) in netisr_load_sysctl_proto()
266 xo_err(EX_OSERR, "net.isr.proto: query len"); in netisr_load_sysctl_proto()
268 xo_errx(EX_DATAERR, "net.isr.proto: invalid len"); in netisr_load_sysctl_proto()
272 if (sysctlbyname("net.isr.proto", proto_array, &len, NULL, 0) < 0) in netisr_load_sysctl_proto()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5210/
H A Dar5210_interrupts.c38 * an abstracted bitmask of the data found in the ISR.
39 * Note that reading the ISR clear pending interrupts.
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()
72 * On fatal errors collect ISR state for debugging. in ar5210GetPendingInterrupts()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5212/
H A Dar5212_interrupts.c38 * Some platforms trigger our ISR before applying power to in ar5212IsInterruptPending()
46 * the interrupt line, and returns both the masked and unmasked mapped ISR
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()
[all …]
/freebsd/sys/dev/ath/ath_hal/ar5211/
H A Dar5211_interrupts.c41 * the interrupt line, and returns both the masked and unmasked mapped ISR
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()
79 * On fatal errors collect ISR state for debugging. in ar5211GetPendingInterrupts()
[all …]
/freebsd/sys/powerpc/powermac/
H A Dkiic.c55 #define ISR 3 macro
87 /* ISR/IER */
229 kiic_writereg(sc, ISR, kiic_readreg(sc, ISR)); in kiic_attach()
301 u_int isr; in kiic_intr() local
305 isr = kiic_readreg(sc, ISR); in kiic_intr()
307 if (isr & I2C_INT_ADDR) { in kiic_intr()
322 if (isr & I2C_INT_DATA) { in kiic_intr()
342 if (isr & I2C_INT_STOP) { in kiic_intr()
348 kiic_writereg(sc, ISR, isr); in kiic_intr()
377 kiic_writereg(sc, ISR, kiic_readreg(sc, ISR)); in kiic_transfer()
/freebsd/sys/dev/axgbe/
H A Dxgbe-i2c.c276 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 Dam7990.c389 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 …]
H A Dam79900.c425 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 …]
/freebsd/sys/amd64/vmm/io/
H A Dvhpet.c79 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()
404 panic("vhpet timer %d isr should not be asserted", n); in vhpet_timer_update_config()
438 * If the timer's ISR bit is set then clear it in the following cases: in vhpet_timer_update_config()
446 if (vhpet->isr & (1 << n)) { in vhpet_timer_update_config()
447 KASSERT(old_pin != 0, ("timer %d isr asserted to ioapic pin %d", in vhpet_timer_update_config()
[all …]
/freebsd/usr.sbin/iscsid/
H A Ddiscovery.c104 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/contrib/dev/iwlwifi/fw/
H A Ddump.c55 u32 isr0; /* isr status register LMPM_NIC_ISR0:
57 u32 isr1; /* isr status register LMPM_NIC_ISR1:
59 u32 isr2; /* isr status register LMPM_NIC_ISR2:
61 u32 isr3; /* isr status register LMPM_NIC_ISR3:
63 u32 isr4; /* isr status register LMPM_NIC_ISR4:
100 u32 nic_isr_pref; /* ISR status register */
168 IWL_ERR(fwrt, "0x%08X | isr status reg\n", table.nic_isr_pref); in iwl_fwrt_dump_umac_error_log()
288 u32 isr;
330 IWL_ERR(fwrt, "0x%08X | tcm ISR status\n", table.isr); in iwl_fwrt_dump_tcm_error_log()
289 u32 isr; global() member
358 u32 isr; global() member
[all...]
/freebsd/sys/dev/ath/
H A Dif_ath_debug.h46 ATH_DEBUG_INTR = 0x000001000ULL, /* ISR */
47 ATH_DEBUG_TX_PROC = 0x000002000ULL, /* tx ISR proc */
48 ATH_DEBUG_RX_PROC = 0x000004000ULL, /* rx ISR proc */
49 ATH_DEBUG_BEACON_PROC = 0x000008000ULL, /* beacon ISR proc */
/freebsd/sys/netipsec/
H A Dipsec_output.c118 struct ipsecrequest *isr; in ipsec4_allocsa() local
126 isr = sp->req[*pidx]; in ipsec4_allocsa()
127 if ((isr->saidx.proto == IPPROTO_ESP && !V_esp_enable) || in ipsec4_allocsa()
128 (isr->saidx.proto == IPPROTO_AH && !V_ah_enable) || in ipsec4_allocsa()
129 (isr->saidx.proto == IPPROTO_IPCOMP && !V_ipcomp_enable)) { in ipsec4_allocsa()
132 IPSEC_OSTAT_INC(isr->saidx.proto, pdrops); in ipsec4_allocsa()
141 if (isr->saidx.mode == IPSEC_MODE_TRANSPORT) { in ipsec4_allocsa()
143 *saidx = isr->saidx; in ipsec4_allocsa()
543 struct ipsecrequest *isr; in ipsec6_allocsa() local
552 isr = sp->req[*pidx]; in ipsec6_allocsa()
[all …]
/freebsd/sys/x86/include/
H A Dapicreg.h61 * 100 ISR 000-031 R
62 * 110 ISR 032-063 R
63 * 120 ISR 064-095 R
64 * 130 ISR 095-128 R
65 * 140 ISR 128-159 R
66 * 150 ISR 160-191 R
67 * 160 ISR 192-223 R
68 * 170 ISR 224-255 R
/freebsd/sys/dev/uart/
H A Duart_dev_msm.c455 uint32_t isr; in msm_bus_ipend() local
460 /* Get ISR status */ in msm_bus_ipend()
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/amd64/amd64/
H A Dapic_vector.S77 * in the ISR. The handler determines the highest bit set in the ISR,
91 movl LA_ISR + 16 * (\index)(%rdx), %eax /* load ISR */
93 bsrl %eax, %eax /* index of highest set bit in ISR */
/freebsd/sys/i386/i386/
H A Dapic_vector.S66 * in the ISR. The handler determines the highest bit set in the ISR,
88 movl LA_ISR + 16 * \index(%edx), %eax /* load ISR */
90 bsrl %eax, %eax /* index of highest set bit in ISR */
/freebsd/sys/net/
H A Dif_ipsec.c857 struct ipsecrequest *isr; in ipsec_newpolicies() local
864 if ((isr = ipsec_newisr()) == NULL) in ipsec_newpolicies()
869 sp[i]->req[sp[i]->tcount++] = isr; in ipsec_newpolicies()
873 isr->level = IPSEC_LEVEL_UNIQUE; in ipsec_newpolicies()
874 isr->saidx.proto = IPPROTO_ESP; in ipsec_newpolicies()
875 isr->saidx.mode = IPSEC_MODE_TUNNEL; in ipsec_newpolicies()
876 isr->saidx.reqid = reqid; in ipsec_newpolicies()
879 bcopy(src, &isr->saidx.dst, src->sa_len); in ipsec_newpolicies()
880 bcopy(dst, &isr->saidx.src, dst->sa_len); in ipsec_newpolicies()
883 bcopy(src, &isr->saidx.src, src->sa_len); in ipsec_newpolicies()
[all …]
H A Dnetisr.h42 * Historically, this was implemented by the BSD software ISR facility; it is
82 * net.isr.proto.
105 * net.isr.workstream.
122 * net.isr.work.
/freebsd/contrib/llvm-project/llvm/lib/Target/MSP430/
H A DMSP430AsmPrinter.cpp62 void EmitInterruptVectorSection(MachineFunction &ISR);
162 void MSP430AsmPrinter::EmitInterruptVectorSection(MachineFunction &ISR) { in EmitInterruptVectorSection() argument
164 const auto *F = &ISR.getFunction(); in EmitInterruptVectorSection()
180 // Emit separate section for an interrupt vector if ISR in runOnMachineFunction()
/freebsd/tools/tools/ath/athdebug/
H A Dathdebug.c62 ATH_DEBUG_INTR = 0x00001000, /* ISR */
63 ATH_DEBUG_TX_PROC = 0x00002000, /* tx ISR proc */
64 ATH_DEBUG_RX_PROC = 0x00004000, /* rx ISR proc */
65 ATH_DEBUG_BEACON_PROC = 0x00008000, /* beacon ISR proc */
/freebsd/sys/dev/spibus/controller/rockchip/
H A Drk_spi.c376 uint32_t intreg, isr; in rk_spi_intr() local
382 isr = RK_SPI_READ_4(sc, RK_SPI_ISR); in rk_spi_intr()
383 RK_SPI_WRITE_4(sc, RK_SPI_ICR, isr); in rk_spi_intr()
385 if (isr & ISR_RFFIS) in rk_spi_intr()
388 if (isr & ISR_TFEIS) in rk_spi_intr()

12345678