/linux/drivers/net/wireless/ti/wl12xx/ |
H A D | debugfs.c | 35 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/drivers/net/wireless/ti/wl1251/ |
H A D | debugfs.c | 117 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/drivers/net/wireless/ath/wil6210/ |
H A D | interrupt.c | 288 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/drivers/i2c/busses/ |
H A D | i2c-pxa.c | 139 u32 isr; member 161 .isr = 0x18, 170 .isr = 0x0c, 179 .isr = 0x04, 188 .isr = 0x18, 199 .isr = 0x0c, 428 u32 isr; in i2c_pxa_wait_bus_not_busy() local 431 isr = readl(_ISR(i2c)); in i2c_pxa_wait_bus_not_busy() 432 if (!(isr & (ISR_IBB | ISR_UB))) in i2c_pxa_wait_bus_not_busy() 435 if (isr & ISR_SAD) in i2c_pxa_wait_bus_not_busy() [all …]
|
/linux/drivers/media/common/saa7146/ |
H A D | saa7146_core.c | 272 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 …]
|
H A D | saa7146_fops.c | 212 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/drivers/tty/serial/ |
H A D | timbuart.c | 35 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() 113 static void timbuart_handle_tx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_tx_port() argument 125 if (isr & TXFLAGS) { in timbuart_handle_tx_port() 147 static void timbuart_handle_rx_port(struct uart_port *port, u32 isr, u32 *ier) in timbuart_handle_rx_port() argument 149 if (isr & RXFLAGS) { in timbuart_handle_rx_port() 151 if (isr & RXBF) { in timbuart_handle_rx_port() 156 } else if (isr & (RXDP)) in timbuart_handle_rx_port() 172 u32 isr, ier = 0; in timbuart_tasklet() local [all …]
|
H A D | stm32-usart.c | 43 .isr = 0x00, 72 .isr = 0x1c, 95 .isr = 0x1c, 143 if (readl_relaxed(port->membase + ofs->isr) & USART_SR_TC) in stm32_usart_tx_empty() 353 *sr = readl_relaxed(port->membase + ofs->isr); in stm32_usart_pending_rx_pio() 510 sr = readl_relaxed(port->membase + ofs->isr); in stm32_usart_receive_chars() 705 if (!(readl_relaxed(port->membase + ofs->isr) & USART_SR_TXE)) in stm32_usart_transmit_chars_pio() 784 u32 isr; in stm32_usart_transmit_chars() local 801 readl_relaxed_poll_timeout_atomic(port->membase + ofs->isr, in stm32_usart_transmit_chars() 802 isr, in stm32_usart_transmit_chars() [all …]
|
/linux/drivers/net/wireless/ath/ath9k/ |
H A D | ar9002_mac.c | 35 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 …]
|
H A D | ar9003_mac.c | 186 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/drivers/rtc/ |
H A D | rtc-stm32.c | 140 u16 isr; member 408 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_enter_init_mode() local 410 if (!(isr & STM32_RTC_ISR_INITF)) { in stm32_rtc_enter_init_mode() 411 isr |= STM32_RTC_ISR_INIT; in stm32_rtc_enter_init_mode() 412 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_enter_init_mode() 420 return readl_relaxed_poll_timeout_atomic(rtc->base + regs->isr, isr, in stm32_rtc_enter_init_mode() 421 (isr & STM32_RTC_ISR_INITF), in stm32_rtc_enter_init_mode() 431 unsigned int isr = readl_relaxed(rtc->base + regs->isr); in stm32_rtc_exit_init_mode() local 433 isr &= ~STM32_RTC_ISR_INIT; in stm32_rtc_exit_init_mode() 434 writel_relaxed(isr, rtc->base + regs->isr); in stm32_rtc_exit_init_mode() [all …]
|
H A D | rtc-vt8500.c | 82 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/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc-compat.c | 34 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/arch/mips/loongson2ef/lemote-2f/ |
H A D | irq.c | 32 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/drivers/net/ethernet/amd/xgbe/ |
H A D | xgbe-i2c.c | 264 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_bh_work() local 283 isr = XI2C_IOREAD(pdata, IC_RAW_INTR_STAT); in xgbe_i2c_isr_bh_work() 284 if (!isr) in xgbe_i2c_isr_bh_work() 288 "I2C interrupt received: status=%#010x\n", isr); in xgbe_i2c_isr_bh_work() 290 xgbe_i2c_clear_isr_interrupts(pdata, isr); in xgbe_i2c_isr_bh_work() 292 if (isr & XGBE_INTR_TX_ABRT) { in xgbe_i2c_isr_bh_work() 311 if (state->ret || XI2C_GET_BITS(isr, IC_RAW_INTR_STAT, STOP_DET)) in xgbe_i2c_isr_bh_work()
|
/linux/sound/pci/aw2/ |
H A D | aw2-saa7146.c | 332 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/arch/parisc/kernel/ |
H A D | unaligned.c | 117 regs->isr, regs->ior, toreg); in emulate_ldh() 128 : "r" (saddr), "r" (regs->isr) ); in emulate_ldh() 145 regs->isr, regs->ior, toreg); in emulate_ldw() 160 : "r" (saddr), "r" (regs->isr) ); in emulate_ldw() 179 regs->isr, regs->ior, toreg); in emulate_ldd() 198 : "r" (regs->isr) ); in emulate_ldd() 216 : "r" (regs->isr) ); in emulate_ldd() 238 val, regs->isr, regs->ior); in emulate_sth() 249 : "r" (val), "r" (regs->ior), "r" (regs->isr) ); in emulate_sth() 267 val, regs->isr, regs->ior); in emulate_stw() [all …]
|
/linux/drivers/net/can/ |
H A D | xilinx_can.c | 1088 static void xcan_err_interrupt(struct net_device *ndev, u32 isr) in xcan_err_interrupt() argument 1098 if (isr & XCAN_IXR_BSOFF_MASK) { in xcan_err_interrupt() 1113 if (isr & XCAN_IXR_ARBLST_MASK) { in xcan_err_interrupt() 1120 if (isr & XCAN_IXR_RXOFLW_MASK) { in xcan_err_interrupt() 1128 if (isr & XCAN_IXR_RXMNF_MASK) { in xcan_err_interrupt() 1137 if (isr & XCAN_IXR_ERROR_MASK) { in xcan_err_interrupt() 1192 if (priv->ecc_enable && isr & XCAN_IXR_ECC_MASK) { in xcan_err_interrupt() 1207 if (isr & XCAN_IXR_E2BERX_MASK) { in xcan_err_interrupt() 1212 if (isr & XCAN_IXR_E1BERX_MASK) { in xcan_err_interrupt() 1217 if (isr & XCAN_IXR_E2BETXOL_MASK) { in xcan_err_interrupt() [all …]
|
/linux/drivers/net/can/rcar/ |
H A D | rcar_can.c | 85 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/drivers/mfd/ |
H A D | twl4030-irq.c | 566 } 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/drivers/net/can/ctucanfd/ |
H A D | ctucanfd_base.c | 800 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/drivers/scsi/snic/ |
H A D | snic_isr.c | 107 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/drivers/char/hw_random/ |
H A D | cctrng.c | 318 u32 isr = 0; in cc_trng_compwork_handler() local 330 isr = cc_ioread(drvdata, CC_RNG_ISR_REG_OFFSET); in cc_trng_compwork_handler() 331 ehr_valid = CC_REG_FLD_GET(RNG_ISR, EHR_VALID, isr); in cc_trng_compwork_handler() 332 dev_dbg(dev, "Got RNG_ISR=0x%08X (EHR_VALID=%u)\n", isr, ehr_valid); in cc_trng_compwork_handler() 334 if (fips_enabled && CC_REG_FLD_GET(RNG_ISR, CRNGT_ERR, isr)) { in cc_trng_compwork_handler() 341 cc_iowrite(drvdata, CC_RNG_ICR_REG_OFFSET, isr); in cc_trng_compwork_handler() 346 if (CC_REG_FLD_GET(RNG_ISR, AUTOCORR_ERR, isr) || in cc_trng_compwork_handler() 347 CC_REG_FLD_GET(RNG_ISR, WATCHDOG, isr)) { in cc_trng_compwork_handler()
|
/linux/drivers/irqchip/ |
H A D | irq-loongarch-avec.c | 159 uint64_t isr; in complete_irq_moving() local 169 isr = csr_read64(LOONGARCH_CSR_ISR0); in complete_irq_moving() 172 isr = csr_read64(LOONGARCH_CSR_ISR1); in complete_irq_moving() 175 isr = csr_read64(LOONGARCH_CSR_ISR2); in complete_irq_moving() 178 isr = csr_read64(LOONGARCH_CSR_ISR3); in complete_irq_moving() 182 if (isr & (1UL << (vector % VECTORS_PER_REG))) { in complete_irq_moving()
|
/linux/drivers/ipack/devices/ |
H A D | ipoctal.c | 161 u8 isr, value, flag; in ipoctal_irq_rx() local 194 isr = ioread8(&channel->block_regs->r.isr); in ipoctal_irq_rx() 196 } while (isr & channel->isr_rx_rdy_mask); in ipoctal_irq_rx() 221 u8 isr, sr; in ipoctal_irq_channel() local 225 isr = ioread8(&channel->block_regs->r.isr); in ipoctal_irq_channel() 228 if (isr & (IMR_DELTA_BREAK_A | IMR_DELTA_BREAK_B)) in ipoctal_irq_channel() 243 if ((isr & channel->isr_rx_rdy_mask) && (sr & SR_RX_READY)) in ipoctal_irq_channel() 247 if ((isr & channel->isr_tx_rdy_mask) && (sr & SR_TX_READY)) in ipoctal_irq_channel()
|