/drivers/media/common/ |
D | saa7146_core.c | 297 u32 isr; in interrupt_hw() local 301 ack_isr = isr = saa7146_read(dev, ISR); in interrupt_hw() 304 if ( 0 == isr ) { in interrupt_hw() 310 if (dev->ext->irq_mask & isr) { in interrupt_hw() 312 dev->ext->irq_func(dev, &isr); in interrupt_hw() 313 isr &= ~dev->ext->irq_mask; in interrupt_hw() 316 if (0 != (isr & (MASK_27))) { in interrupt_hw() 317 DEB_INT(("irq: RPS0 (0x%08x).\n",isr)); in interrupt_hw() 319 dev->vv_callback(dev,isr); in interrupt_hw() 320 isr &= ~MASK_27; in interrupt_hw() [all …]
|
D | saa7146_fops.c | 433 u32 isr = status; in vv_callback() local 437 if (0 != (isr & (MASK_27))) { in vv_callback() 438 DEB_INT(("irq: RPS0 (0x%08x).\n",isr)); in vv_callback() 439 saa7146_video_uops.irq_done(dev,isr); in vv_callback() 442 if (0 != (isr & (MASK_28))) { in vv_callback() 445 DEB_INT(("irq: RPS1 vbi workaround (0x%08x).\n",isr)); in vv_callback() 450 DEB_INT(("irq: RPS1 (0x%08x).\n",isr)); in vv_callback() 451 saa7146_vbi_uops.irq_done(dev,isr); in vv_callback()
|
/drivers/i2c/busses/ |
D | i2c-pxa.c | 427 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_txempty() argument 429 if (isr & ISR_BED) { in i2c_pxa_slave_txempty() 442 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_rxfull() argument 452 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_start() argument 458 (isr & ISR_RWM) ? 'r' : 't'); in i2c_pxa_slave_start() 462 (isr & ISR_RWM) ? I2C_SLAVE_EVENT_START_READ : I2C_SLAVE_EVENT_START_WRITE); in i2c_pxa_slave_start() 508 static void i2c_pxa_slave_txempty(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_txempty() argument 510 if (isr & ISR_BED) { in i2c_pxa_slave_txempty() 518 static void i2c_pxa_slave_rxfull(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_rxfull() argument 523 static void i2c_pxa_slave_start(struct pxa_i2c *i2c, u32 isr) in i2c_pxa_slave_start() argument [all …]
|
/drivers/mfd/ |
D | twl4030-irq.c | 569 } isr; in sih_read_isr() local 573 isr.word = 0; in sih_read_isr() 574 status = twl4030_i2c_read(sih->module, isr.bytes, in sih_read_isr() 577 return (status < 0) ? status : le32_to_cpu(isr.word); in sih_read_isr() 588 int isr; in handle_twl4030_sih() local 592 isr = sih_read_isr(sih); in handle_twl4030_sih() 595 if (isr < 0) { in handle_twl4030_sih() 597 sih->name, isr); in handle_twl4030_sih() 602 while (isr) { in handle_twl4030_sih() 603 irq = fls(isr); in handle_twl4030_sih() [all …]
|
D | ucb1x00-core.c | 210 unsigned int isr, i; in ucb1x00_irq() local 213 isr = ucb1x00_reg_read(ucb, UCB_IE_STATUS); in ucb1x00_irq() 214 ucb1x00_reg_write(ucb, UCB_IE_CLEAR, isr); in ucb1x00_irq() 217 for (i = 0, irq = ucb->irq_handler; i < 16 && isr; i++, isr >>= 1, irq++) in ucb1x00_irq() 218 if (isr & 1 && irq->fn) in ucb1x00_irq()
|
D | menelaus.c | 772 unsigned isr; in menelaus_work() local 774 isr = (menelaus_read_reg(MENELAUS_INT_STATUS2) in menelaus_work() 776 isr |= menelaus_read_reg(MENELAUS_INT_STATUS1) in menelaus_work() 778 if (!isr) in menelaus_work() 781 while (isr) { in menelaus_work() 782 int irq = fls(isr) - 1; in menelaus_work() 783 isr &= ~(1 << irq); in menelaus_work()
|
D | t7l66xb.c | 168 unsigned int isr; in t7l66xb_irq() local 173 while ((isr = tmio_ioread8(t7l66xb->scr + SCR_ISR) & in t7l66xb_irq() 176 if (isr & (1 << i)) in t7l66xb_irq()
|
/drivers/mmc/host/ |
D | wbsd.c | 359 u8 status, isr; in wbsd_send_command() local 366 host->isr = 0; in wbsd_send_command() 391 isr = host->isr; in wbsd_send_command() 394 if (isr & WBSD_INT_CARD) in wbsd_send_command() 397 else if (isr & WBSD_INT_TIMEOUT) in wbsd_send_command() 400 else if ((cmd->flags & MMC_RSP_CRC) && (isr & WBSD_INT_CRC)) in wbsd_send_command() 1159 int isr; in wbsd_irq() local 1161 isr = inb(host->base + WBSD_ISR); in wbsd_irq() 1166 if (isr == 0xff || isr == 0x00) in wbsd_irq() 1169 host->isr |= isr; in wbsd_irq() [all …]
|
/drivers/net/irda/ |
D | w83977af_ir.c | 963 static __u8 w83977af_sir_interrupt(struct w83977af_ir *self, int isr) in w83977af_sir_interrupt() argument 970 IRDA_DEBUG(4, "%s(), isr=%#x\n", __func__ , isr); in w83977af_sir_interrupt() 974 if (isr & ISR_TXTH_I) { in w83977af_sir_interrupt() 1003 if (isr & ISR_TXEMP_I) { in w83977af_sir_interrupt() 1018 if (isr & ISR_RXTH_I) { in w83977af_sir_interrupt() 1033 static __u8 w83977af_fir_interrupt(struct w83977af_ir *self, int isr) in w83977af_fir_interrupt() argument 1043 if (isr & (ISR_FEND_I|ISR_FSF_I)) { in w83977af_fir_interrupt() 1063 if (isr & ISR_TMR_I) { in w83977af_fir_interrupt() 1085 if (isr & ISR_DMA_I) { in w83977af_fir_interrupt() 1116 __u8 set, icr, isr; in w83977af_interrupt() local [all …]
|
/drivers/net/ |
D | ns83820.c | 1417 static void ns83820_do_isr(struct net_device *ndev, u32 isr); 1422 u32 isr; local 1427 isr = readl(dev->base + ISR); 1428 dprintk("irq: %08x\n", isr); 1429 ns83820_do_isr(ndev, isr); 1433 static void ns83820_do_isr(struct net_device *ndev, u32 isr) argument 1439 …if (isr & ~(ISR_PHY | ISR_RXDESC | ISR_RXEARLY | ISR_RXOK | ISR_RXERR | ISR_TXIDLE | ISR_TXOK | IS… 1440 Dprintk("odd isr? 0x%08x\n", isr); 1443 if (ISR_RXIDLE & isr) { 1449 if ((ISR_RXDESC | ISR_RXOK) & isr) { [all …]
|
D | lib8390.c | 260 int txsr, isr, tickssofar = jiffies - dev->trans_start; in __ei_tx_timeout() local 267 isr = ei_inb(e8390_base+EN0_ISR); in __ei_tx_timeout() 272 (isr) ? "lost interrupt?" : "cable problem?", txsr, isr, tickssofar); in __ei_tx_timeout() 274 if (!isr && !dev->stats.tx_packets) in __ei_tx_timeout()
|
D | tehuti.c | 219 static void bdx_isr_extra(struct bdx_priv *priv, u32 isr) in bdx_isr_extra() argument 221 if (isr & IR_RX_FREE_0) { in bdx_isr_extra() 226 if (isr & IR_LNKCHG0) in bdx_isr_extra() 229 if (isr & IR_PCIE_LINK) in bdx_isr_extra() 232 if (isr & IR_PCIE_TOUT) in bdx_isr_extra() 255 u32 isr; in bdx_isr_napi() local 258 isr = (READ_REG(priv, regISR) & IR_RUN); in bdx_isr_napi() 259 if (unlikely(!isr)) { in bdx_isr_napi() 264 if (isr & IR_EXTRA) in bdx_isr_napi() 265 bdx_isr_extra(priv, isr); in bdx_isr_napi() [all …]
|
/drivers/input/touchscreen/ |
D | ucb1400_ts.c | 165 unsigned int isr; in ucb1400_handle_pending_irq() local 167 isr = ucb1400_reg_read(ucb->ac97, UCB_IE_STATUS); in ucb1400_handle_pending_irq() 168 ucb1400_reg_write(ucb->ac97, UCB_IE_CLEAR, isr); in ucb1400_handle_pending_irq() 171 if (isr & UCB_IE_TSPX) { in ucb1400_handle_pending_irq() 175 printk(KERN_ERR "ucb1400: unexpected IE_STATUS = %#x\n", isr); in ucb1400_handle_pending_irq()
|
/drivers/serial/ |
D | serial_lh7a40x.c | 251 unsigned int isr = UR (port, UART_R_ISR); in lh7a40xuart_int() local 255 if (isr & (RxInt | RxTimeoutInt)) in lh7a40xuart_int() 257 if (isr & ModemInt) in lh7a40xuart_int() 259 if (isr & TxInt) in lh7a40xuart_int() 265 isr = UR (port, UART_R_ISR); in lh7a40xuart_int() 266 } while (isr & (RxInt | TxInt | RxTimeoutInt)); in lh7a40xuart_int()
|
D | sc26xx.c | 218 u8 isr; in sc26xx_interrupt() local 223 isr = READ_SC(&up->port[0], ISR); in sc26xx_interrupt() 224 if (isr & ISR_TXRDYA) in sc26xx_interrupt() 226 if (isr & ISR_RXRDYA) in sc26xx_interrupt() 237 if (isr & ISR_TXRDYB) in sc26xx_interrupt() 239 if (isr & ISR_RXRDYB) in sc26xx_interrupt()
|
D | mcf.c | 367 unsigned int isr; in mcf_interrupt() local 369 isr = readb(port->membase + MCFUART_UISR) & pp->imr; in mcf_interrupt() 370 if (isr & MCFUART_UIR_RXREADY) in mcf_interrupt() 372 if (isr & MCFUART_UIR_TXREADY) in mcf_interrupt()
|
/drivers/staging/slicoss/ |
D | slicoss.c | 1267 u32 isr; in slic_interrupt() local 1269 if ((adapter->pshmem) && (adapter->pshmem->isr)) { in slic_interrupt() 1271 isr = adapter->isrcopy = adapter->pshmem->isr; in slic_interrupt() 1272 adapter->pshmem->isr = 0; in slic_interrupt() 1276 if (isr & ~ISR_IO) { in slic_interrupt() 1277 if (isr & ISR_ERR) { in slic_interrupt() 1279 if (isr & ISR_RMISS) { in slic_interrupt() 1308 isr, rcv_count, pre_count, in slic_interrupt() 1310 } else if (isr & ISR_XDROP) { in slic_interrupt() 1314 isr); in slic_interrupt() [all …]
|
/drivers/virtio/ |
D | virtio_pci.c | 179 u8 isr; in vp_interrupt() local 183 isr = ioread8(vp_dev->ioaddr + VIRTIO_PCI_ISR); in vp_interrupt() 186 if (!isr) in vp_interrupt() 190 if (isr & VIRTIO_PCI_ISR_CONFIG) { in vp_interrupt()
|
/drivers/char/ |
D | hpet.c | 149 unsigned long isr; in hpet_interrupt() local 152 isr = 1 << (devp - devp->hd_hpets->hp_dev); in hpet_interrupt() 155 !(isr & readl(&devp->hd_hpet->hpet_isr))) in hpet_interrupt() 175 writel(isr, &devp->hd_hpet->hpet_isr); in hpet_interrupt() 453 unsigned long flags, isr; in hpet_ioctl_ieon() local 529 isr = 1 << (devp - devp->hd_hpets->hp_dev); in hpet_ioctl_ieon() 530 writel(isr, &hpet->hpet_isr); in hpet_ioctl_ieon()
|
D | dsp56k.c | 58 #define DSP56K_TRANSMIT (dsp56k_host_interface.isr & DSP56K_ISR_TXDE) 59 #define DSP56K_RECEIVE (dsp56k_host_interface.isr & DSP56K_ISR_RXDF) 380 if (dsp56k_host_interface.isr & DSP56K_ISR_HF2) status |= 0x4; in dsp56k_ioctl() 381 if (dsp56k_host_interface.isr & DSP56K_ISR_HF3) status |= 0x8; in dsp56k_ioctl()
|
/drivers/serial/jsm/ |
D | jsm_neo.c | 726 u8 isr; in neo_parse_isr() local 743 isr = readb(&ch->ch_neo_uart->isr_fcr); in neo_parse_isr() 746 if (isr & UART_IIR_NO_INT) in neo_parse_isr() 752 isr &= ~(UART_17158_IIR_FIFO_ENABLED); in neo_parse_isr() 755 "%s:%d isr: %x\n", __FILE__, __LINE__, isr); in neo_parse_isr() 757 if (isr & (UART_17158_IIR_RDI_TIMEOUT | UART_IIR_RDI)) { in neo_parse_isr() 767 if (isr & UART_IIR_THRI) { in neo_parse_isr() 775 if (isr & UART_17158_IIR_XONXOFF) { in neo_parse_isr() 807 if (isr & UART_17158_IIR_HWFLOW_STATE_CHANGE) { in neo_parse_isr()
|
/drivers/net/ibm_newemac/ |
D | core.c | 1817 u32 isr; in emac_irq() local 1821 isr = in_be32(&p->isr); in emac_irq() 1822 out_be32(&p->isr, isr); in emac_irq() 1824 DBG(dev, "isr = %08x" NL, isr); in emac_irq() 1826 if (isr & EMAC4_ISR_TXPE) in emac_irq() 1828 if (isr & EMAC4_ISR_RXPE) in emac_irq() 1830 if (isr & EMAC4_ISR_TXUE) in emac_irq() 1832 if (isr & EMAC4_ISR_RXOE) in emac_irq() 1834 if (isr & EMAC_ISR_OVR) in emac_irq() 1836 if (isr & EMAC_ISR_BP) in emac_irq() [all …]
|
/drivers/crypto/ |
D | talitos.c | 488 static void talitos_error(unsigned long data, u32 isr, u32 isr_lo) in talitos_error() argument 498 if (!(isr & (1 << (ch * 2 + 1)))) in talitos_error() 555 if (reset_dev || isr & ~TALITOS_ISR_CHERR || isr_lo) { in talitos_error() 557 "ISR 0x%08x_%08x\n", isr, isr_lo); in talitos_error() 572 u32 isr, isr_lo; in talitos_interrupt() local 574 isr = in_be32(priv->reg + TALITOS_ISR); in talitos_interrupt() 577 out_be32(priv->reg + TALITOS_ICR, isr); in talitos_interrupt() 580 if (unlikely((isr & ~TALITOS_ISR_CHDONE) || isr_lo)) in talitos_interrupt() 581 talitos_error((unsigned long)data, isr, isr_lo); in talitos_interrupt() 583 if (likely(isr & TALITOS_ISR_CHDONE)) { in talitos_interrupt() [all …]
|
/drivers/net/wan/ |
D | cycx_main.c | 315 if (card->isr) in cycx_isr() 316 card->isr(card); in cycx_isr()
|
/drivers/pci/pcie/aer/ |
D | aerdrv.c | 193 if (rpc->isr) in aer_remove() 236 rpc->isr = 1; in aer_probe()
|