Home
last modified time | relevance | path

Searched refs:isr (Results 1 – 25 of 265) sorted by relevance

1234567891011

/linux-6.6.21/drivers/net/wireless/ti/wl12xx/
Ddebugfs.c35 WL12XX_DEBUGFS_FWSTATS_FILE(isr, cmd_cmplt, "%u");
36 WL12XX_DEBUGFS_FWSTATS_FILE(isr, fiqs, "%u");
37 WL12XX_DEBUGFS_FWSTATS_FILE(isr, rx_headers, "%u");
38 WL12XX_DEBUGFS_FWSTATS_FILE(isr, rx_mem_overflow, "%u");
39 WL12XX_DEBUGFS_FWSTATS_FILE(isr, rx_rdys, "%u");
40 WL12XX_DEBUGFS_FWSTATS_FILE(isr, irqs, "%u");
41 WL12XX_DEBUGFS_FWSTATS_FILE(isr, tx_procs, "%u");
42 WL12XX_DEBUGFS_FWSTATS_FILE(isr, decrypt_done, "%u");
43 WL12XX_DEBUGFS_FWSTATS_FILE(isr, dma0_done, "%u");
44 WL12XX_DEBUGFS_FWSTATS_FILE(isr, dma1_done, "%u");
[all …]
/linux-6.6.21/drivers/net/wireless/ti/wl1251/
Ddebugfs.c117 DEBUGFS_FWSTATS_FILE(isr, cmd_cmplt, 20, "%u");
118 DEBUGFS_FWSTATS_FILE(isr, fiqs, 20, "%u");
119 DEBUGFS_FWSTATS_FILE(isr, rx_headers, 20, "%u");
120 DEBUGFS_FWSTATS_FILE(isr, rx_mem_overflow, 20, "%u");
121 DEBUGFS_FWSTATS_FILE(isr, rx_rdys, 20, "%u");
122 DEBUGFS_FWSTATS_FILE(isr, irqs, 20, "%u");
123 DEBUGFS_FWSTATS_FILE(isr, tx_procs, 20, "%u");
124 DEBUGFS_FWSTATS_FILE(isr, decrypt_done, 20, "%u");
125 DEBUGFS_FWSTATS_FILE(isr, dma0_done, 20, "%u");
126 DEBUGFS_FWSTATS_FILE(isr, dma1_done, 20, "%u");
[all …]
/linux-6.6.21/drivers/net/wireless/ath/wil6210/
Dinterrupt.c288 u32 isr; in wil6210_irq_rx() local
293 isr = wil_ioread32_and_clear(wil->csr + in wil6210_irq_rx()
297 trace_wil6210_irq_rx(isr); in wil6210_irq_rx()
298 wil_dbg_irq(wil, "ISR RX 0x%08x\n", isr); in wil6210_irq_rx()
300 if (unlikely(!isr)) { in wil6210_irq_rx()
312 if (likely(isr & (BIT_DMA_EP_RX_ICR_RX_DONE | in wil6210_irq_rx()
315 isr); in wil6210_irq_rx()
317 isr &= ~(BIT_DMA_EP_RX_ICR_RX_DONE | in wil6210_irq_rx()
334 if (unlikely(isr)) in wil6210_irq_rx()
335 wil_err(wil, "un-handled RX ISR bits 0x%08x\n", isr); in wil6210_irq_rx()
[all …]
/linux-6.6.21/arch/ia64/kernel/
Dtraps.c233 fp_emulate (int fp_fault, void *bundle, long *ipsr, long *fpsr, long *isr, long *pr, long *ifs, in fp_emulate() argument
265 (unsigned long *) isr, (unsigned long *) pr, in fp_emulate()
284 handle_fpu_swa (int fp_fault, struct pt_regs *regs, unsigned long isr) in handle_fpu_swa() argument
323 current->comm, task_pid_nr(current), regs->cr_iip + ia64_psr(regs)->ri, isr); in handle_fpu_swa()
328 exception = fp_emulate(fp_fault, bundle, &regs->cr_ipsr, &regs->ar_fpsr, &isr, &regs->pr, in handle_fpu_swa()
345 if (isr & 0x11) { in handle_fpu_swa()
347 } else if (isr & 0x22) { in handle_fpu_swa()
351 } else if (isr & 0x44) { in handle_fpu_swa()
356 0, __ISR_VALID, isr); in handle_fpu_swa()
367 if (isr & 0x880) { in handle_fpu_swa()
[all …]
/linux-6.6.21/arch/ia64/mm/
Dfault.c66 ia64_do_page_fault (unsigned long address, unsigned long isr, struct pt_regs *regs) in ia64_do_page_fault() argument
75 mask = ((((isr >> IA64_ISR_X_BIT) & 1UL) << VM_EXEC_BIT) in ia64_do_page_fault()
76 | (((isr >> IA64_ISR_W_BIT) & 1UL) << VM_WRITE_BIT)); in ia64_do_page_fault()
128 if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) in ia64_do_page_fault()
185 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
186 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
198 0, __ISR_VALID, isr); in ia64_do_page_fault()
203 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
204 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
239 if (die("Oops", regs, isr)) in ia64_do_page_fault()
/linux-6.6.21/drivers/rtc/
Drtc-stm32.c103 u16 isr; member
155 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_enter_init_mode() local
157 if (!(isr & STM32_RTC_ISR_INITF)) { in stm32_rtc_enter_init_mode()
158 isr |= STM32_RTC_ISR_INIT; in stm32_rtc_enter_init_mode()
159 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_enter_init_mode()
167 return readl_relaxed_poll_timeout_atomic(rtc->base + regs->isr, isr, in stm32_rtc_enter_init_mode()
168 (isr & STM32_RTC_ISR_INITF), in stm32_rtc_enter_init_mode()
178 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_exit_init_mode() local
180 isr &= ~STM32_RTC_ISR_INIT; in stm32_rtc_exit_init_mode()
181 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_exit_init_mode()
[all …]
Drtc-vt8500.c82 u32 isr; in vt8500_rtc_irq() local
88 isr = readl(vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_irq()
89 writel(isr, vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_irq()
93 if (isr & VT8500_RTC_IS_ALARM) in vt8500_rtc_irq()
142 u32 isr, alarm; in vt8500_rtc_read_alarm() local
145 isr = readl(vt8500_rtc->regbase + VT8500_RTC_IS); in vt8500_rtc_read_alarm()
153 alrm->pending = (isr & VT8500_RTC_IS_ALARM) ? 1 : 0; in vt8500_rtc_read_alarm()
/linux-6.6.21/drivers/i2c/busses/
Di2c-pxa.c138 u32 isr; member
160 .isr = 0x18,
169 .isr = 0x0c,
178 .isr = 0x04,
187 .isr = 0x18,
198 .isr = 0x0c,
427 u32 isr; in i2c_pxa_wait_bus_not_busy() local
430 isr = readl(_ISR(i2c)); in i2c_pxa_wait_bus_not_busy()
431 if (!(isr & (ISR_IBB | ISR_UB))) in i2c_pxa_wait_bus_not_busy()
434 if (isr & ISR_SAD) in i2c_pxa_wait_bus_not_busy()
[all …]
/linux-6.6.21/drivers/media/common/saa7146/
Dsaa7146_core.c272 u32 isr; in interrupt_hw() local
276 ack_isr = isr = saa7146_read(dev, ISR); in interrupt_hw()
279 if ( 0 == isr ) { in interrupt_hw()
285 if (dev->ext->irq_mask & isr) { in interrupt_hw()
287 dev->ext->irq_func(dev, &isr); in interrupt_hw()
288 isr &= ~dev->ext->irq_mask; in interrupt_hw()
291 if (0 != (isr & (MASK_27))) { in interrupt_hw()
292 DEB_INT("irq: RPS0 (0x%08x)\n", isr); in interrupt_hw()
294 dev->vv_callback(dev,isr); in interrupt_hw()
295 isr &= ~MASK_27; in interrupt_hw()
[all …]
Dsaa7146_fops.c212 u32 isr = status; in vv_callback() local
216 if (0 != (isr & (MASK_27))) { in vv_callback()
217 DEB_INT("irq: RPS0 (0x%08x)\n", isr); in vv_callback()
218 saa7146_video_uops.irq_done(dev,isr); in vv_callback()
221 if (0 != (isr & (MASK_28))) { in vv_callback()
224 DEB_INT("irq: RPS1 vbi workaround (0x%08x)\n", isr); in vv_callback()
229 DEB_INT("irq: RPS1 (0x%08x)\n", isr); in vv_callback()
230 saa7146_vbi_uops.irq_done(dev,isr); in vv_callback()
/linux-6.6.21/drivers/tty/serial/
Dtimbuart.c35 static void timbuart_mctrl_check(struct uart_port *port, u32 isr, u32 *ier);
64 u32 isr = ioread32(port->membase + TIMBUART_ISR); in timbuart_tx_empty() local
66 return (isr & TXBE) ? TIOCSER_TEMT : 0; in timbuart_tx_empty()
116 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument
128 if (isr & TXFLAGS) { in timbuart_handle_tx_port()
150 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument
152 if (isr & RXFLAGS) { in timbuart_handle_rx_port()
154 if (isr & RXBF) { in timbuart_handle_rx_port()
159 } else if (isr & (RXDP)) in timbuart_handle_rx_port()
175 u32 isr, ier = 0; in timbuart_tasklet() local
[all …]
/linux-6.6.21/drivers/gpu/drm/msm/dp/
Ddp_aux.c373 u32 isr; in dp_aux_isr() local
383 isr = dp_catalog_aux_get_irq(aux->catalog); in dp_aux_isr()
386 if (!isr) in dp_aux_isr()
390 DRM_ERROR("Unexpected DP AUX IRQ %#010x when not busy\n", isr); in dp_aux_isr()
400 if (hweight32(isr & ~DP_INTR_AUX_XFER_DONE) > 1) in dp_aux_isr()
401 DRM_WARN("Some DP AUX interrupts unhandled: %#010x\n", isr); in dp_aux_isr()
403 if (isr & DP_INTR_AUX_ERROR) { in dp_aux_isr()
406 } else if (isr & DP_INTR_NACK_DEFER) { in dp_aux_isr()
408 } else if (isr & DP_INTR_WRONG_ADDR) { in dp_aux_isr()
410 } else if (isr & DP_INTR_TIMEOUT) { in dp_aux_isr()
[all …]
/linux-6.6.21/drivers/net/wireless/ath/ath9k/
Dar9002_mac.c35 u32 isr = 0; in ar9002_hw_get_isr() local
46 isr = REG_READ(ah, AR_ISR); in ar9002_hw_get_isr()
55 if (!isr && !sync_cause) in ar9002_hw_get_isr()
59 isr = REG_READ(ah, AR_ISR); in ar9002_hw_get_isr()
62 if (isr) { in ar9002_hw_get_isr()
63 if (isr & AR_ISR_BCNMISC) { in ar9002_hw_get_isr()
83 isr &= ~AR_ISR_BCNMISC; in ar9002_hw_get_isr()
88 isr = REG_READ(ah, AR_ISR_RAC); in ar9002_hw_get_isr()
90 if (isr == 0xffffffff) { in ar9002_hw_get_isr()
95 *masked = isr & ATH9K_INT_COMMON; in ar9002_hw_get_isr()
[all …]
Dar9003_mac.c186 u32 isr = 0; in ar9003_hw_get_isr() local
201 isr = REG_READ(ah, AR_ISR); in ar9003_hw_get_isr()
209 if (!isr && !sync_cause && !async_cause) in ar9003_hw_get_isr()
212 if (isr) { in ar9003_hw_get_isr()
213 if (isr & AR_ISR_BCNMISC) { in ar9003_hw_get_isr()
236 isr &= ~AR_ISR_BCNMISC; in ar9003_hw_get_isr()
241 isr = REG_READ(ah, AR_ISR_RAC); in ar9003_hw_get_isr()
243 if (isr == 0xffffffff) { in ar9003_hw_get_isr()
248 *masked = isr & ATH9K_INT_COMMON; in ar9003_hw_get_isr()
251 if (isr & (AR_ISR_RXMINTR | AR_ISR_RXINTM)) in ar9003_hw_get_isr()
[all …]
/linux-6.6.21/arch/mips/loongson2ef/lemote-2f/
Dirq.c32 int irq, isr; in mach_i8259_irq() local
38 isr = inb(PIC_MASTER_CMD) & in mach_i8259_irq()
40 if (!isr) in mach_i8259_irq()
41 isr = (inb(PIC_SLAVE_CMD) & ~inb(PIC_SLAVE_IMR)) << 8; in mach_i8259_irq()
42 irq = ffs(isr) - 1; in mach_i8259_irq()
/linux-6.6.21/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.c34 omap_dispc_isr_t isr; member
129 if (isr_data->isr == NULL) in _omap_dispc_set_irqs()
138 int omap_dispc_register_isr(omap_dispc_isr_t isr, void *arg, u32 mask) in omap_dispc_register_isr() argument
145 if (isr == NULL) in omap_dispc_register_isr()
153 if (isr_data->isr == isr && isr_data->arg == arg && in omap_dispc_register_isr()
166 if (isr_data->isr != NULL) in omap_dispc_register_isr()
169 isr_data->isr = isr; in omap_dispc_register_isr()
192 int omap_dispc_unregister_isr(omap_dispc_isr_t isr, void *arg, u32 mask) in omap_dispc_unregister_isr() argument
203 if (isr_data->isr != isr || isr_data->arg != arg || in omap_dispc_unregister_isr()
209 isr_data->isr = NULL; in omap_dispc_unregister_isr()
[all …]
/linux-6.6.21/drivers/net/ethernet/amd/xgbe/
Dxgbe-i2c.c264 unsigned int isr) in xgbe_i2c_clear_isr_interrupts() argument
268 if (isr & XGBE_INTR_TX_ABRT) { in xgbe_i2c_clear_isr_interrupts()
273 if (isr & XGBE_INTR_STOP_DET) in xgbe_i2c_clear_isr_interrupts()
281 unsigned int isr; in xgbe_i2c_isr_task() local
283 isr = XI2C_IOREAD(pdata, IC_RAW_INTR_STAT); in xgbe_i2c_isr_task()
284 if (!isr) in xgbe_i2c_isr_task()
288 "I2C interrupt received: status=%#010x\n", isr); in xgbe_i2c_isr_task()
290 xgbe_i2c_clear_isr_interrupts(pdata, isr); in xgbe_i2c_isr_task()
292 if (isr & XGBE_INTR_TX_ABRT) { in xgbe_i2c_isr_task()
311 if (state->ret || XI2C_GET_BITS(isr, IC_RAW_INTR_STAT, STOP_DET)) in xgbe_i2c_isr_task()
/linux-6.6.21/arch/parisc/kernel/
Dunaligned.c115 regs->isr, regs->ior, toreg); in emulate_ldh()
126 : "r" (saddr), "r" (regs->isr) ); in emulate_ldh()
143 regs->isr, regs->ior, toreg); in emulate_ldw()
158 : "r" (saddr), "r" (regs->isr) ); in emulate_ldw()
176 regs->isr, regs->ior, toreg); in emulate_ldd()
195 : "0" (val), "r" (saddr), "r" (regs->isr) in emulate_ldd()
216 : "r" (regs->isr) ); in emulate_ldd()
239 val, regs->isr, regs->ior); in emulate_sth()
250 : "r" (val), "r" (regs->ior), "r" (regs->isr) ); in emulate_sth()
268 val, regs->isr, regs->ior); in emulate_stw()
[all …]
/linux-6.6.21/sound/pci/aw2/
Daw2-saa7146.c332 unsigned int isr; in snd_aw2_saa7146_interrupt() local
336 isr = READREG(ISR); in snd_aw2_saa7146_interrupt()
337 if (!isr) in snd_aw2_saa7146_interrupt()
340 WRITEREG(isr, ISR); in snd_aw2_saa7146_interrupt()
342 if (isr & (IIC_S | IIC_E)) { in snd_aw2_saa7146_interrupt()
347 if (isr & A1_out) { in snd_aw2_saa7146_interrupt()
354 if (isr & A2_out) { in snd_aw2_saa7146_interrupt()
362 if (isr & A1_in) { in snd_aw2_saa7146_interrupt()
/linux-6.6.21/drivers/net/can/rcar/
Drcar_can.c85 u8 isr; /* Interrupt Status Register */ member
372 u8 isr; in rcar_can_tx_done() local
391 isr = readb(&priv->regs->isr); in rcar_can_tx_done()
392 writeb(isr & ~RCAR_CAN_ISR_TXFF, &priv->regs->isr); in rcar_can_tx_done()
399 u8 isr; in rcar_can_interrupt() local
401 isr = readb(&priv->regs->isr); in rcar_can_interrupt()
402 if (!(isr & priv->ier)) in rcar_can_interrupt()
405 if (isr & RCAR_CAN_ISR_ERSF) in rcar_can_interrupt()
408 if (isr & RCAR_CAN_ISR_TXFF) in rcar_can_interrupt()
411 if (isr & RCAR_CAN_ISR_RXFF) { in rcar_can_interrupt()
[all …]
/linux-6.6.21/drivers/mfd/
Dtwl4030-irq.c566 } isr; in sih_read_isr() local
570 isr.word = 0; in sih_read_isr()
571 status = twl_i2c_read(sih->module, isr.bytes, in sih_read_isr()
574 return (status < 0) ? status : le32_to_cpu(isr.word); in sih_read_isr()
585 int isr; in handle_twl4030_sih() local
588 isr = sih_read_isr(sih); in handle_twl4030_sih()
590 if (isr < 0) { in handle_twl4030_sih()
592 sih->name, isr); in handle_twl4030_sih()
597 while (isr) { in handle_twl4030_sih()
598 irq = fls(isr); in handle_twl4030_sih()
[all …]
/linux-6.6.21/drivers/video/fbdev/mmp/hw/
Dmmp_spi.c32 int timeout = 100000, isr, ret = 0; in lcd_spi_write() local
60 isr = readl_relaxed(reg_base + SPU_IRQ_ISR); in lcd_spi_write()
61 while (!(isr & SPI_IRQ_ENA_MASK)) { in lcd_spi_write()
63 isr = readl_relaxed(reg_base + SPU_IRQ_ISR); in lcd_spi_write()
/linux-6.6.21/drivers/net/can/
Dxilinx_can.c1026 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument
1036 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt()
1051 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt()
1058 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt()
1066 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt()
1075 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt()
1153 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt() argument
1158 if (isr & XCAN_IXR_SLP_MASK) in xcan_state_interrupt()
1162 if (isr & XCAN_IXR_WKUP_MASK) in xcan_state_interrupt()
1270 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt() argument
[all …]
/linux-6.6.21/drivers/net/can/ctucanfd/
Dctucanfd_base.c800 static void ctucan_err_interrupt(struct net_device *ndev, u32 isr) in ctucan_err_interrupt() argument
817 __func__, isr, bec.rxerr, bec.txerr, in ctucan_err_interrupt()
830 if (FIELD_GET(REG_INT_STAT_FCSI, isr) || FIELD_GET(REG_INT_STAT_EWLI, isr)) { in ctucan_err_interrupt()
883 if (FIELD_GET(REG_INT_STAT_ALI, isr)) { in ctucan_err_interrupt()
894 if (FIELD_GET(REG_INT_STAT_BEI, isr)) { in ctucan_err_interrupt()
1103 u32 isr, icr; in ctucan_interrupt() local
1109 isr = ctucan_read32(priv, CTUCANFD_INT_STAT); in ctucan_interrupt()
1111 if (!isr) in ctucan_interrupt()
1115 if (FIELD_GET(REG_INT_STAT_RBNEI, isr)) { in ctucan_interrupt()
1127 if (FIELD_GET(REG_INT_STAT_TXBHCI, isr)) { in ctucan_interrupt()
[all …]
/linux-6.6.21/drivers/scsi/snic/
Dsnic_isr.c107 snic->msix[SNIC_MSIX_WQ].isr = snic_isr_msix_wq; in snic_request_intr()
113 snic->msix[SNIC_MSIX_IO_CMPL].isr = snic_isr_msix_io_cmpl; in snic_request_intr()
119 snic->msix[SNIC_MSIX_ERR_NOTIFY].isr = snic_isr_msix_err_notify; in snic_request_intr()
124 snic->msix[i].isr, in snic_request_intr()

1234567891011