/drivers/media/rc/img-ir/ |
D | img-ir-core.c | 28 u32 irq_status; in img_ir_isr() local 32 irq_status = img_ir_read(priv, IMG_IR_IRQ_STATUS); in img_ir_isr() 33 img_ir_write(priv, IMG_IR_IRQ_CLEAR, irq_status); in img_ir_isr() 36 irq_status &= img_ir_read(priv, IMG_IR_IRQ_ENABLE); in img_ir_isr() 39 if (irq_status & IMG_IR_IRQ_EDGE && img_ir_raw_enabled(&priv->raw)) in img_ir_isr() 40 img_ir_isr_raw(priv, irq_status); in img_ir_isr() 43 if (irq_status & (IMG_IR_IRQ_DATA_MATCH | in img_ir_isr() 47 img_ir_isr_hw(priv, irq_status); in img_ir_isr()
|
D | img-ir-raw.c | 22 static void img_ir_refresh_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_refresh_raw() argument 30 multiple = ((irq_status & IMG_IR_IRQ_EDGE) == IMG_IR_IRQ_EDGE); in img_ir_refresh_raw() 50 void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_isr_raw() argument 58 img_ir_refresh_raw(priv, irq_status); in img_ir_isr_raw()
|
D | img-ir-raw.h | 36 void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status); 49 static inline void img_ir_isr_raw(struct img_ir_priv *priv, u32 irq_status) in img_ir_isr_raw() argument
|
D | img-ir-hw.h | 260 void img_ir_isr_hw(struct img_ir_priv *priv, u32 irq_status); 282 static inline void img_ir_isr_hw(struct img_ir_priv *priv, u32 irq_status) in img_ir_isr_hw() argument
|
/drivers/mtd/nand/ |
D | denali.c | 164 uint32_t irq_status; in reset_bank() local 171 irq_status = wait_for_irq(denali, irq_mask); in reset_bank() 173 if (irq_status & INTR_STATUS__TIME_OUT) in reset_bank() 646 denali->irq_status = 0x0; in clear_interrupts() 666 uint32_t irq_status; in denali_isr() local 677 irq_status = denali_irq_detected(denali); in denali_isr() 678 if (irq_status != 0) { in denali_isr() 681 clear_interrupt(denali, irq_status); in denali_isr() 686 denali->irq_status |= irq_status; in denali_isr() 708 intr_status = denali->irq_status; in wait_for_irq() [all …]
|
D | hisi504_nand.c | 152 unsigned int irq_status; /* interrupt status */ member 529 host->irq_status |= flag; in hinfc_irq_handle() 554 if (host->irq_status & HINFC504_INTS_UE) { in hisi_nand_read_page_hwecc() 556 } else if (host->irq_status & HINFC504_INTS_CE) { in hisi_nand_read_page_hwecc() 570 host->irq_status = 0; in hisi_nand_read_page_hwecc() 583 if (host->irq_status & HINFC504_INTS_UE) { in hisi_nand_read_oob() 584 host->irq_status = 0; in hisi_nand_read_oob() 588 host->irq_status = 0; in hisi_nand_read_oob()
|
/drivers/misc/ |
D | tifm_7xx1.c | 44 unsigned int irq_status, cnt; in tifm_7xx1_isr() local 47 irq_status = readl(fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr() 48 if (irq_status == 0 || irq_status == (~0)) { in tifm_7xx1_isr() 53 if (irq_status & TIFM_IRQ_ENABLE) { in tifm_7xx1_isr() 59 if ((irq_status >> cnt) & TIFM_IRQ_FIFOMASK(1)) in tifm_7xx1_isr() 61 if ((irq_status >> cnt) & TIFM_IRQ_CARDMASK(1)) in tifm_7xx1_isr() 66 fm->socket_change_set |= irq_status in tifm_7xx1_isr() 69 writel(irq_status, fm->addr + FM_INTERRUPT_STATUS); in tifm_7xx1_isr()
|
/drivers/net/ethernet/samsung/sxgbe/ |
D | sxgbe_core.c | 51 static int sxgbe_get_lpi_status(void __iomem *ioaddr, const u32 irq_status) in sxgbe_get_lpi_status() argument 75 int irq_status, status = 0; in sxgbe_core_host_irq_status() local 77 irq_status = readl(ioaddr + SXGBE_CORE_INT_STATUS_REG); in sxgbe_core_host_irq_status() 79 if (unlikely(irq_status & LPI_INT_STATUS)) in sxgbe_core_host_irq_status() 80 status |= sxgbe_get_lpi_status(ioaddr, irq_status); in sxgbe_core_host_irq_status()
|
/drivers/memstick/host/ |
D | jmb38x_ms.c | 524 unsigned int irq_status; in jmb38x_ms_isr() local 527 irq_status = readl(host->addr + INT_STATUS); in jmb38x_ms_isr() 528 dev_dbg(&host->chip->pdev->dev, "irq_status = %08x\n", irq_status); in jmb38x_ms_isr() 529 if (irq_status == 0 || irq_status == (~0)) { in jmb38x_ms_isr() 535 if (irq_status & INT_STATUS_ANY_ERR) { in jmb38x_ms_isr() 536 if (irq_status & INT_STATUS_CRC_ERR) in jmb38x_ms_isr() 538 else if (irq_status & INT_STATUS_TPC_ERR) { in jmb38x_ms_isr() 545 if (irq_status & INT_STATUS_EOTRAN) in jmb38x_ms_isr() 548 if (irq_status & (INT_STATUS_FIFO_RRDY in jmb38x_ms_isr() 552 if (irq_status & INT_STATUS_EOTRAN) { in jmb38x_ms_isr() [all …]
|
D | r592.c | 633 u16 irq_enable, irq_status; in r592_irq() local 641 irq_status = reg & 0xFFFF; in r592_irq() 644 reg &= ~irq_status; in r592_irq() 648 irq_status &= (irq_enable); in r592_irq() 652 if (irq_status & (R592_REG_MSC_IRQ_INSERT | R592_REG_MSC_IRQ_REMOVE)) { in r592_irq() 654 bool card_was_added = irq_status & R592_REG_MSC_IRQ_INSERT; in r592_irq() 663 if (irq_status & in r592_irq() 667 if (irq_status & R592_REG_MSC_FIFO_DMA_ERR) { in r592_irq()
|
/drivers/i2c/busses/ |
D | i2c-uniphier-f.c | 161 u32 irq_status; in uniphier_fi2c_interrupt() local 163 irq_status = readl(priv->membase + UNIPHIER_FI2C_INT); in uniphier_fi2c_interrupt() 167 priv->enabled_irqs, irq_status); in uniphier_fi2c_interrupt() 169 if (irq_status & UNIPHIER_FI2C_INT_STOP) in uniphier_fi2c_interrupt() 172 if (unlikely(irq_status & UNIPHIER_FI2C_INT_AL)) { in uniphier_fi2c_interrupt() 178 if (unlikely(irq_status & UNIPHIER_FI2C_INT_NA)) { in uniphier_fi2c_interrupt() 198 if (irq_status & UNIPHIER_FI2C_INT_TE) { in uniphier_fi2c_interrupt() 206 if (irq_status & (UNIPHIER_FI2C_INT_RF | UNIPHIER_FI2C_INT_RB)) { in uniphier_fi2c_interrupt()
|
/drivers/media/rc/ |
D | ene_ir.c | 692 u8 irq_status; in ene_irq_status() local 699 irq_status = ene_read_reg(dev, ENEB_IRQ_STATUS); in ene_irq_status() 701 if (!(irq_status & ENEB_IRQ_STATUS_IR)) in ene_irq_status() 708 irq_status = ene_read_reg(dev, ENE_IRQ); in ene_irq_status() 709 if (!(irq_status & ENE_IRQ_STATUS)) in ene_irq_status() 713 ene_write_reg(dev, ENE_IRQ, irq_status & ~ENE_IRQ_STATUS); in ene_irq_status() 714 ene_write_reg(dev, ENE_IRQ, irq_status & ~ENE_IRQ_STATUS); in ene_irq_status() 736 int hw_sample, irq_status; in ene_isr() local 747 irq_status = ene_irq_status(dev); in ene_isr() 749 if (!irq_status) in ene_isr() [all …]
|
/drivers/media/i2c/ |
D | adv7842.c | 2164 u8 irq_status[6]; in adv7842_isr() local 2169 irq_status[0] = io_read(sd, 0x43); in adv7842_isr() 2170 irq_status[1] = io_read(sd, 0x57); in adv7842_isr() 2171 irq_status[2] = io_read(sd, 0x70); in adv7842_isr() 2172 irq_status[3] = io_read(sd, 0x75); in adv7842_isr() 2173 irq_status[4] = io_read(sd, 0x9d); in adv7842_isr() 2174 irq_status[5] = io_read(sd, 0x66); in adv7842_isr() 2177 if (irq_status[0]) in adv7842_isr() 2178 io_write(sd, 0x44, irq_status[0]); in adv7842_isr() 2179 if (irq_status[1]) in adv7842_isr() [all …]
|
D | ad9389b.c | 543 u8 irq_status; in ad9389b_isr() local 547 irq_status = ad9389b_rd(sd, 0x96); in ad9389b_isr() 549 ad9389b_wr(sd, 0x96, irq_status); in ad9389b_isr() 553 v4l2_dbg(1, debug, sd, "%s: irq_status 0x%x\n", __func__, irq_status); in ad9389b_isr() 555 if (irq_status & (MASK_AD9389B_HPD_INT)) in ad9389b_isr() 557 if (irq_status & MASK_AD9389B_EDID_RDY_INT) in ad9389b_isr()
|
/drivers/scsi/pcmcia/ |
D | nsp_cs.c | 958 unsigned char irq_status, irq_phase, phase; in nspintr() local 988 irq_status = nsp_read(base, IRQSTATUS); in nspintr() 990 if ((irq_status == 0xff) || ((irq_status & IRQSTATUS_MASK) == 0)) { in nspintr() 1001 if((irq_status & IRQSTATUS_SCSI) != 0) { in nspintr() 1020 if ((irq_status & IRQSTATUS_MASK) == IRQSTATUS_TIMER && in nspintr() 1029 if ((irq_status & IRQSTATUS_SCSI) && in nspintr() 1047 …x%x phase=0x%x irq_phase=0x%x this can't be happen. reset everything", irq_status, phase, irq_phas… in nspintr() 1061 if (irq_status & IRQSTATUS_SCSI) { in nspintr() 1119 if ((irq_status & (IRQSTATUS_SCSI | IRQSTATUS_FIFO)) == 0) { in nspintr() 1133 …INTR, "normal disconnect irq_status=0x%x, phase=0x%x, irq_phase=0x%x", irq_status, phase, irq_phas… in nspintr() [all …]
|
/drivers/gpu/drm/sti/ |
D | sti_vtg.c | 91 u32 irq_status; member 305 event = (vtg->irq_status & VTG_IRQ_TOP) ? in vtg_irq_thread() 317 vtg->irq_status = readl(vtg->regs + VTG_HOST_ITS); in vtg_irq() 319 writel(vtg->irq_status, vtg->regs + VTG_HOST_ITS_BCLR); in vtg_irq()
|
D | sti_hdmi.h | 59 u32 irq_status; member
|
D | sti_hdmi.c | 146 if (hdmi->irq_status & HDMI_INT_HOT_PLUG) { in hdmi_irq_thread() 155 if (hdmi->irq_status & (HDMI_INT_SW_RST | HDMI_INT_DLL_LCK)) { in hdmi_irq_thread() 174 hdmi->irq_status = hdmi_read(hdmi, HDMI_INT_STA); in hdmi_irq() 177 hdmi_write(hdmi, hdmi->irq_status, HDMI_INT_CLR); in hdmi_irq()
|
/drivers/net/ethernet/sfc/ |
D | siena.c | 284 rc = efx_nic_alloc_buffer(efx, &efx->irq_status, sizeof(efx_oword_t), in siena_probe_nic() 288 BUG_ON(efx->irq_status.dma_addr & 0x0f); in siena_probe_nic() 292 (unsigned long long)efx->irq_status.dma_addr, in siena_probe_nic() 293 efx->irq_status.addr, in siena_probe_nic() 294 (unsigned long long)virt_to_phys(efx->irq_status.addr)); in siena_probe_nic() 319 efx_nic_free_buffer(efx, &efx->irq_status); in siena_probe_nic() 420 efx_nic_free_buffer(efx, &efx->irq_status); in siena_remove_nic()
|
/drivers/spi/ |
D | spi-dw.c | 234 u16 irq_status = dw_readl(dws, DW_SPI_ISR); in interrupt_transfer() local 237 if (irq_status & (SPI_INT_TXOI | SPI_INT_RXOI | SPI_INT_RXUI)) { in interrupt_transfer() 249 if (irq_status & SPI_INT_TXEI) { in interrupt_transfer() 263 u16 irq_status = dw_readl(dws, DW_SPI_ISR) & 0x3f; in dw_spi_irq() local 265 if (!irq_status) in dw_spi_irq()
|
/drivers/gpio/ |
D | gpio-dwapb.c | 132 u32 irq_status = readl_relaxed(gpio->regs + GPIO_INTSTATUS); in dwapb_do_irq() local 133 u32 ret = irq_status; in dwapb_do_irq() 135 while (irq_status) { in dwapb_do_irq() 136 int hwirq = fls(irq_status) - 1; in dwapb_do_irq() 140 irq_status &= ~BIT(hwirq); in dwapb_do_irq()
|
/drivers/scsi/mvsas/ |
D | mv_sas.c | 955 if ((tmp & PHY_READY_MASK) && !(phy->irq_status & PHYEV_POOF)) { in mvs_is_phy_ready() 1001 static u32 mvs_is_sig_fis_received(u32 irq_status) in mvs_is_sig_fis_received() argument 1003 return irq_status & PHYEV_SIG_FIS; in mvs_is_sig_fis_received() 1021 phy->irq_status = MVS_CHIP_DISP->read_port_irq_stat(mvi, i); in mvs_update_phyinfo() 1034 if (mvs_is_sig_fis_received(phy->irq_status)) { in mvs_update_phyinfo() 1084 MVS_CHIP_DISP->write_port_irq_stat(mvi, i, phy->irq_status); in mvs_update_phyinfo() 1972 phy->irq_status = MVS_CHIP_DISP->read_port_irq_stat(mvi, phy_no); in mvs_int_port() 1973 MVS_CHIP_DISP->write_port_irq_stat(mvi, phy_no, phy->irq_status); in mvs_int_port() 1977 phy->irq_status); in mvs_int_port() 1984 if (phy->irq_status & PHYEV_DCDR_ERR) { in mvs_int_port() [all …]
|
/drivers/gpu/drm/exynos/ |
D | exynos_drm_rotator.c | 144 enum rot_irq_status irq_status; in rotator_irq_handler() local 148 irq_status = rotator_reg_get_irq_status(rot); in rotator_irq_handler() 152 val |= ROT_STATUS_IRQ_PENDING((u32)irq_status); in rotator_irq_handler() 155 if (irq_status == ROT_IRQ_STATUS_COMPLETE) { in rotator_irq_handler()
|
/drivers/xen/events/ |
D | events_base.c | 724 struct physdev_irq_status_query irq_status; in pirq_query_unmask() local 729 irq_status.irq = pirq_from_irq(irq); in pirq_query_unmask() 730 if (HYPERVISOR_physdev_op(PHYSDEVOP_irq_status_query, &irq_status)) in pirq_query_unmask() 731 irq_status.flags = 0; in pirq_query_unmask() 734 if (irq_status.flags & XENIRQSTAT_needs_eoi) in pirq_query_unmask() 1980 struct physdev_irq_status_query irq_status; in xen_test_irq_shared() local 1985 irq_status.irq = info->u.pirq.pirq; in xen_test_irq_shared() 1987 if (HYPERVISOR_physdev_op(PHYSDEVOP_irq_status_query, &irq_status)) in xen_test_irq_shared() 1989 return !(irq_status.flags & XENIRQSTAT_shared); in xen_test_irq_shared()
|
/drivers/media/pci/cobalt/ |
D | cobalt-irq.c | 62 uint32_t stat = ioread32(&vmr->irq_status); in cobalt_dma_stream_queue_handler() 64 iowrite32(stat, &vmr->irq_status); in cobalt_dma_stream_queue_handler()
|