Home
last modified time | relevance | path

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

1234567891011

/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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()
126 if (((isr >> IA64_ISR_R_BIT) & 1UL) && (!(vma->vm_flags & (VM_READ | VM_WRITE)))) in ia64_do_page_fault()
206 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
207 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
219 0, __ISR_VALID, isr); in ia64_do_page_fault()
224 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
225 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
260 if (die("Oops", regs, isr)) in ia64_do_page_fault()
/Linux-v6.1/drivers/rtc/
Drtc-stm32.c98 u16 isr; member
151 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_enter_init_mode() local
153 if (!(isr & STM32_RTC_ISR_INITF)) { in stm32_rtc_enter_init_mode()
154 isr |= STM32_RTC_ISR_INIT; in stm32_rtc_enter_init_mode()
155 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_enter_init_mode()
164 rtc->base + regs->isr, in stm32_rtc_enter_init_mode()
165 isr, (isr & STM32_RTC_ISR_INITF), in stm32_rtc_enter_init_mode()
175 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_exit_init_mode() local
177 isr &= ~STM32_RTC_ISR_INIT; in stm32_rtc_exit_init_mode()
178 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-v6.1/drivers/gpu/drm/msm/dp/
Ddp_aux.c165 static void dp_aux_native_handler(struct dp_aux_private *aux, u32 isr) in dp_aux_native_handler() argument
167 if (isr & DP_INTR_AUX_I2C_DONE) in dp_aux_native_handler()
169 else if (isr & DP_INTR_WRONG_ADDR) in dp_aux_native_handler()
171 else if (isr & DP_INTR_TIMEOUT) in dp_aux_native_handler()
173 if (isr & DP_INTR_NACK_DEFER) in dp_aux_native_handler()
175 if (isr & DP_INTR_AUX_ERROR) { in dp_aux_native_handler()
181 static void dp_aux_i2c_handler(struct dp_aux_private *aux, u32 isr) in dp_aux_i2c_handler() argument
183 if (isr & DP_INTR_AUX_I2C_DONE) { in dp_aux_i2c_handler()
184 if (isr & (DP_INTR_I2C_NACK | DP_INTR_I2C_DEFER)) in dp_aux_i2c_handler()
189 if (isr & DP_INTR_WRONG_ADDR) in dp_aux_i2c_handler()
[all …]
/Linux-v6.1/drivers/i2c/busses/
Di2c-pxa.c138 u32 isr; member
160 .isr = 0x18,
169 .isr = 0x0c,
178 .isr = 0x04,
187 .isr = 0x18,
198 .isr = 0x0c,
424 u32 isr; in i2c_pxa_wait_bus_not_busy() local
427 isr = readl(_ISR(i2c)); in i2c_pxa_wait_bus_not_busy()
428 if (!(isr & (ISR_IBB | ISR_UB))) in i2c_pxa_wait_bus_not_busy()
431 if (isr & ISR_SAD) in i2c_pxa_wait_bus_not_busy()
[all …]
/Linux-v6.1/drivers/staging/media/deprecated/saa7146/common/
Dsaa7146_core.c284 u32 isr; in interrupt_hw() local
288 ack_isr = isr = saa7146_read(dev, ISR); in interrupt_hw()
291 if ( 0 == isr ) { in interrupt_hw()
297 if (dev->ext->irq_mask & isr) { in interrupt_hw()
299 dev->ext->irq_func(dev, &isr); in interrupt_hw()
300 isr &= ~dev->ext->irq_mask; in interrupt_hw()
303 if (0 != (isr & (MASK_27))) { in interrupt_hw()
304 DEB_INT("irq: RPS0 (0x%08x)\n", isr); in interrupt_hw()
306 dev->vv_callback(dev,isr); in interrupt_hw()
307 isr &= ~MASK_27; in interrupt_hw()
[all …]
/Linux-v6.1/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()
117 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument
129 if (isr & TXFLAGS) { in timbuart_handle_tx_port()
151 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument
153 if (isr & RXFLAGS) { in timbuart_handle_rx_port()
155 if (isr & RXBF) { in timbuart_handle_rx_port()
160 } else if (isr & (RXDP)) in timbuart_handle_rx_port()
176 u32 isr, ier = 0; in timbuart_tasklet() local
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/parisc/kernel/
Dunaligned.c113 regs->isr, regs->ior, toreg); in emulate_ldh()
124 : "r" (saddr), "r" (regs->isr) ); in emulate_ldh()
141 regs->isr, regs->ior, toreg); in emulate_ldw()
156 : "r" (saddr), "r" (regs->isr) ); in emulate_ldw()
174 regs->isr, regs->ior, toreg); in emulate_ldd()
193 : "0" (val), "r" (saddr), "r" (regs->isr) in emulate_ldd()
214 : "r" (regs->isr) ); in emulate_ldd()
237 val, regs->isr, regs->ior); in emulate_sth()
248 : "r" (val), "r" (regs->ior), "r" (regs->isr) ); in emulate_sth()
266 val, regs->isr, regs->ior); in emulate_stw()
[all …]
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/drivers/net/can/
Dxilinx_can.c1020 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument
1030 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt()
1045 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt()
1052 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt()
1060 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt()
1069 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt()
1147 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt() argument
1152 if (isr & XCAN_IXR_SLP_MASK) in xcan_state_interrupt()
1156 if (isr & XCAN_IXR_WKUP_MASK) in xcan_state_interrupt()
1264 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt() argument
[all …]
/Linux-v6.1/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-v6.1/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()
/Linux-v6.1/drivers/mmc/host/
Dwbsd.c343 u8 status, isr; in wbsd_send_command() local
350 host->isr = 0; in wbsd_send_command()
375 isr = host->isr; in wbsd_send_command()
378 if (isr & WBSD_INT_CARD) in wbsd_send_command()
381 else if (isr & WBSD_INT_TIMEOUT) in wbsd_send_command()
384 else if ((cmd->flags & MMC_RSP_CRC) && (isr & WBSD_INT_CRC)) in wbsd_send_command()
1146 int isr; in wbsd_irq() local
1148 isr = inb(host->base + WBSD_ISR); in wbsd_irq()
1153 if (isr == 0xff || isr == 0x00) in wbsd_irq()
1156 host->isr |= isr; in wbsd_irq()
[all …]

1234567891011