Home
last modified time | relevance | path

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

1234567891011

/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/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()
204 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
205 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
217 0, __ISR_VALID, isr); in ia64_do_page_fault()
222 if ((isr & IA64_ISR_SP) in ia64_do_page_fault()
223 || ((isr & IA64_ISR_NA) && (isr & IA64_ISR_CODE_MASK) == IA64_ISR_CODE_LFETCH)) in ia64_do_page_fault()
258 if (die("Oops", regs, isr)) in ia64_do_page_fault()
/Linux-v5.15/drivers/gpu/drm/msm/dp/
Ddp_aux.c163 static void dp_aux_native_handler(struct dp_aux_private *aux, u32 isr) in dp_aux_native_handler() argument
165 if (isr & DP_INTR_AUX_I2C_DONE) in dp_aux_native_handler()
167 else if (isr & DP_INTR_WRONG_ADDR) in dp_aux_native_handler()
169 else if (isr & DP_INTR_TIMEOUT) in dp_aux_native_handler()
171 if (isr & DP_INTR_NACK_DEFER) in dp_aux_native_handler()
173 if (isr & DP_INTR_AUX_ERROR) { in dp_aux_native_handler()
179 static void dp_aux_i2c_handler(struct dp_aux_private *aux, u32 isr) in dp_aux_i2c_handler() argument
181 if (isr & DP_INTR_AUX_I2C_DONE) { in dp_aux_i2c_handler()
182 if (isr & (DP_INTR_I2C_NACK | DP_INTR_I2C_DEFER)) in dp_aux_i2c_handler()
187 if (isr & DP_INTR_WRONG_ADDR) in dp_aux_i2c_handler()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/drivers/media/common/saa7146/
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-v5.15/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-v5.15/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.c185 u32 isr = 0; in ar9003_hw_get_isr() local
200 isr = REG_READ(ah, AR_ISR); in ar9003_hw_get_isr()
208 if (!isr && !sync_cause && !async_cause) in ar9003_hw_get_isr()
211 if (isr) { in ar9003_hw_get_isr()
212 if (isr & AR_ISR_BCNMISC) { in ar9003_hw_get_isr()
235 isr &= ~AR_ISR_BCNMISC; in ar9003_hw_get_isr()
240 isr = REG_READ(ah, AR_ISR_RAC); in ar9003_hw_get_isr()
242 if (isr == 0xffffffff) { in ar9003_hw_get_isr()
247 *masked = isr & ATH9K_INT_COMMON; in ar9003_hw_get_isr()
250 if (isr & (AR_ISR_RXMINTR | AR_ISR_RXINTM)) in ar9003_hw_get_isr()
[all …]
/Linux-v5.15/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-v5.15/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-v5.15/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-v5.15/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-v5.15/arch/parisc/kernel/
Dunaligned.c128 regs->isr, regs->ior, toreg); in emulate_ldh()
144 : "0" (val), "r" (saddr), "r" (regs->isr) in emulate_ldh()
162 regs->isr, regs->ior, toreg); in emulate_ldw()
182 : "0" (val), "r" (saddr), "r" (regs->isr) in emulate_ldw()
201 regs->isr, regs->ior, toreg); in emulate_ldd()
226 : "0" (val), "r" (saddr), "r" (regs->isr) in emulate_ldd()
252 : "0" (valh), "1" (vall), "r" (saddr), "r" (regs->isr) in emulate_ldd()
277 val, regs->isr, regs->ior); in emulate_sth()
293 : "r" (val), "r" (regs->ior), "r" (regs->isr) in emulate_sth()
312 val, regs->isr, regs->ior); in emulate_stw()
[all …]
/Linux-v5.15/drivers/net/can/rcar/
Drcar_can.c85 u8 isr; /* Interrupt Status Register */ member
376 u8 isr; in rcar_can_tx_done() local
394 isr = readb(&priv->regs->isr); in rcar_can_tx_done()
395 writeb(isr & ~RCAR_CAN_ISR_TXFF, &priv->regs->isr); in rcar_can_tx_done()
403 u8 isr; in rcar_can_interrupt() local
405 isr = readb(&priv->regs->isr); in rcar_can_interrupt()
406 if (!(isr & priv->ier)) in rcar_can_interrupt()
409 if (isr & RCAR_CAN_ISR_ERSF) in rcar_can_interrupt()
412 if (isr & RCAR_CAN_ISR_TXFF) in rcar_can_interrupt()
415 if (isr & RCAR_CAN_ISR_RXFF) { in rcar_can_interrupt()
[all …]
/Linux-v5.15/drivers/mfd/
Dtwl4030-irq.c565 } isr; in sih_read_isr() local
569 isr.word = 0; in sih_read_isr()
570 status = twl_i2c_read(sih->module, isr.bytes, in sih_read_isr()
573 return (status < 0) ? status : le32_to_cpu(isr.word); in sih_read_isr()
584 int isr; in handle_twl4030_sih() local
587 isr = sih_read_isr(sih); in handle_twl4030_sih()
589 if (isr < 0) { in handle_twl4030_sih()
591 sih->name, isr); in handle_twl4030_sih()
596 while (isr) { in handle_twl4030_sih()
597 irq = fls(isr); in handle_twl4030_sih()
[all …]
/Linux-v5.15/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-v5.15/drivers/net/can/
Dxilinx_can.c988 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument
998 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt()
1013 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt()
1020 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt()
1028 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt()
1037 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt()
1117 static void xcan_state_interrupt(struct net_device *ndev, u32 isr) in xcan_state_interrupt() argument
1122 if (isr & XCAN_IXR_SLP_MASK) in xcan_state_interrupt()
1126 if (isr & XCAN_IXR_WKUP_MASK) in xcan_state_interrupt()
1235 static void xcan_tx_interrupt(struct net_device *ndev, u32 isr) in xcan_tx_interrupt() argument
[all …]
/Linux-v5.15/drivers/scsi/snic/
Dsnic_isr.c121 snic->msix[SNIC_MSIX_WQ].isr = snic_isr_msix_wq; in snic_request_intr()
127 snic->msix[SNIC_MSIX_IO_CMPL].isr = snic_isr_msix_io_cmpl; in snic_request_intr()
133 snic->msix[SNIC_MSIX_ERR_NOTIFY].isr = snic_isr_msix_err_notify; in snic_request_intr()
138 snic->msix[i].isr, in snic_request_intr()
/Linux-v5.15/drivers/virtio/
Dvirtio_pci_modern_dev.c210 int err, common, isr, notify, device; in vp_modern_probe() local
244 isr = virtio_pci_find_capability(pci_dev, VIRTIO_PCI_CAP_ISR_CFG, in vp_modern_probe()
250 if (!isr || !notify) { in vp_modern_probe()
253 common, isr, notify); in vp_modern_probe()
283 mdev->isr = vp_modern_map_capability(mdev, isr, sizeof(u8), 1, in vp_modern_probe()
286 if (!mdev->isr) in vp_modern_probe()
339 pci_iounmap(pci_dev, mdev->isr); in vp_modern_probe()
359 pci_iounmap(pci_dev, mdev->isr); in vp_modern_remove()
/Linux-v5.15/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