Home
last modified time | relevance | path

Searched refs:irqmask (Results 1 – 25 of 37) sorted by relevance

12

/drivers/gpu/drm/msm/mdp/
Dmdp_kms.c35 uint32_t irqmask = mdp_kms->vblank_mask; in update_irq() local
40 irqmask |= irq->irqmask; in update_irq()
42 mdp_kms->funcs->set_irqmask(mdp_kms, irqmask, mdp_kms->cur_irq_mask); in update_irq()
43 mdp_kms->cur_irq_mask = irqmask; in update_irq()
65 if (handler->irqmask & status) { in mdp_dispatch_irqs()
67 handler->irq(handler, handler->irqmask & status); in mdp_dispatch_irqs()
98 void mdp_irq_wait(struct mdp_kms *mdp_kms, uint32_t irqmask) in mdp_irq_wait() argument
103 .irqmask = irqmask, in mdp_irq_wait()
Dmdp_kms.h33 void (*set_irqmask)(struct mdp_kms *mdp_kms, uint32_t irqmask,
70 uint32_t irqmask; member
77 void mdp_irq_wait(struct mdp_kms *mdp_kms, uint32_t irqmask);
/drivers/gpu/drm/omapdrm/
Domap_irq.c35 uint32_t irqmask = priv->vblank_mask; in omap_irq_update() local
40 irqmask |= irq->irqmask; in omap_irq_update()
42 DBG("irqmask=%08x", irqmask); in omap_irq_update()
44 dispc_write_irqenable(irqmask); in omap_irq_update()
113 uint32_t irqmask, int count) in omap_irq_wait_init() argument
117 wait->irq.irqmask = irqmask; in omap_irq_wait_init()
210 if (handler->irqmask & irqstatus) { in omap_irq_handler()
212 handler->irq(handler, handler->irqmask & irqstatus); in omap_irq_handler()
245 error_handler->irqmask = DISPC_IRQ_OCP_ERR; in omap_drm_irq_install()
250 error_handler->irqmask &= ~DISPC_IRQ_SYNC_LOST_DIGIT; in omap_drm_irq_install()
Domap_drv.h59 uint32_t irqmask; member
68 uint32_t irqmask, int count);
Domap_crtc.c562 omap_crtc->vblank_irq.irqmask = pipe2vbl(crtc); in omap_crtc_init()
565 omap_crtc->error_irq.irqmask = in omap_crtc_init()
/drivers/clocksource/
Dtimer-atmel-st.c34 static u32 irqmask; variable
66 sr &= irqmask; in at91rm9200_timer_interrupt()
121 irqmask = 0; in clkevt32k_shutdown()
122 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_shutdown()
134 irqmask = AT91_ST_ALMS; in clkevt32k_set_oneshot()
136 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_set_oneshot()
145 irqmask = AT91_ST_PITS; in clkevt32k_set_periodic()
147 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_set_periodic()
/drivers/irqchip/
Dirq-i8259.c114 int irqmask = 1 << irq; in i8259A_irq_real() local
118 value = inb(PIC_MASTER_CMD) & irqmask; in i8259A_irq_real()
123 value = inb(PIC_SLAVE_CMD) & (irqmask >> 8); in i8259A_irq_real()
136 unsigned int irqmask, irq = d->irq - I8259A_IRQ_BASE; in mask_and_ack_8259A() local
139 irqmask = 1 << irq; in mask_and_ack_8259A()
156 if (cached_irq_mask & irqmask) in mask_and_ack_8259A()
158 cached_irq_mask |= irqmask; in mask_and_ack_8259A()
191 if (!(spurious_irq_mask & irqmask)) { in mask_and_ack_8259A()
193 spurious_irq_mask |= irqmask; in mask_and_ack_8259A()
/drivers/gpu/drm/msm/mdp/mdp4/
Dmdp4_irq.c22 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp4_set_irqmask() argument
26 irqmask ^ (irqmask & old_irqmask)); in mdp4_set_irqmask()
27 mdp4_write(to_mdp4_kms(mdp_kms), REG_MDP4_INTR_ENABLE, irqmask); in mdp4_set_irqmask()
51 error_handler->irqmask = MDP4_IRQ_PRIMARY_INTF_UDERRUN | in mdp4_irq_postinstall()
Dmdp4_crtc.c560 return mdp4_crtc->vblank.irqmask; in mdp4_crtc_vblank()
645 mdp4_crtc->vblank.irqmask = dma2irq(mdp4_crtc->dma); in mdp4_crtc_init()
648 mdp4_crtc->err.irqmask = dma2err(mdp4_crtc->dma); in mdp4_crtc_init()
Dmdp4_kms.h171 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
/drivers/gpu/drm/msm/mdp/mdp5/
Dmdp5_irq.c23 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp5_set_irqmask() argument
27 irqmask ^ (irqmask & old_irqmask)); in mdp5_set_irqmask()
28 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask()
52 error_handler->irqmask = MDP5_IRQ_INTF0_UNDER_RUN | in mdp5_irq_postinstall()
Dmdp5_crtc.c708 return mdp5_crtc->vblank.irqmask; in mdp5_crtc_vblank()
719 mdp5_crtc->err.irqmask = intf2err(intf->num); in mdp5_crtc_set_pipeline()
720 mdp5_crtc->vblank.irqmask = intf2vblank(lm, intf); in mdp5_crtc_set_pipeline()
724 mdp5_crtc->pp_done.irqmask = lm2ppdone(lm); in mdp5_crtc_set_pipeline()
728 mdp5_crtc->pp_done.irqmask = 0; in mdp5_crtc_set_pipeline()
Dmdp5_kms.h187 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask,
/drivers/regulator/
Dlp8755.c50 unsigned int irqmask; member
374 && (pchip->irqmask & (0x04 << icnt)) in lp8755_irq_handler()
390 if ((flag1 & 0x01) && (pchip->irqmask & 0x01)) in lp8755_irq_handler()
398 if ((flag1 & 0x02) && (pchip->irqmask & 0x02)) in lp8755_irq_handler()
427 pchip->irqmask = regval; in lp8755_int_config()
/drivers/ata/
Dpata_hpt3x2n.c494 u8 irqmask; in hpt3x2n_init_one() local
543 pci_read_config_byte(dev, 0x5A, &irqmask); in hpt3x2n_init_one()
544 irqmask &= ~0x10; in hpt3x2n_init_one()
545 pci_write_config_byte(dev, 0x5a, irqmask); in hpt3x2n_init_one()
Dpata_icside.c66 unsigned int irqmask; member
383 info->irqmask = 1; in pata_icside_register_v5()
444 ec->irqmask = info->irqmask; in pata_icside_add_ports()
Dpata_hpt37x.c826 u8 irqmask; in hpt37x_init_one() local
918 pci_read_config_byte(dev, 0x5A, &irqmask); in hpt37x_init_one()
919 irqmask &= ~0x10; in hpt37x_init_one()
920 pci_write_config_byte(dev, 0x5a, irqmask); in hpt37x_init_one()
/drivers/media/rc/
Dwinbond-cir.c212 u8 irqmask; member
277 wbcir_set_irqmask(struct wbcir_data *data, u8 irqmask) in wbcir_set_irqmask() argument
279 if (data->irqmask == irqmask) in wbcir_set_irqmask()
283 outb(irqmask, data->sbase + WBCIR_REG_SP3_IER); in wbcir_set_irqmask()
284 data->irqmask = irqmask; in wbcir_set_irqmask()
493 status &= data->irqmask; in wbcir_irq_handler()
/drivers/media/pci/tw5864/
Dtw5864-core.c88 tw_writel(TW5864_INTR_ENABLE_L, dev->irqmask & 0xffff); in tw5864_irqmask_apply()
89 tw_writel(TW5864_INTR_ENABLE_H, (dev->irqmask >> 16)); in tw5864_irqmask_apply()
97 dev->irqmask = 0; in tw5864_interrupts_disable()
Dtw5864.h172 u32 irqmask; member
/drivers/video/fbdev/omap2/omapfb/dss/
Ddispc-compat.h24 int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
Ddispc-compat.c642 int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask, in omap_dispc_wait_for_irq_interruptible_timeout() argument
651 irqmask); in omap_dispc_wait_for_irq_interruptible_timeout()
659 omap_dispc_unregister_isr(dispc_irq_wait_handler, &completion, irqmask); in omap_dispc_wait_for_irq_interruptible_timeout()
/drivers/net/ethernet/nvidia/
Dforcedeth.c780 u32 irqmask; member
3572 if (np->irqmask != NVREG_IRQMASK_CPU) { in nv_change_interrupt_mode()
3573 np->irqmask = NVREG_IRQMASK_CPU; in nv_change_interrupt_mode()
3582 if (np->irqmask != NVREG_IRQMASK_THROUGHPUT) { in nv_change_interrupt_mode()
3583 np->irqmask = NVREG_IRQMASK_THROUGHPUT; in nv_change_interrupt_mode()
3605 if (!(np->events & np->irqmask)) in nv_nic_irq()
3638 if (!(np->events & np->irqmask)) in nv_nic_irq_optimized()
3667 if (!(events & np->irqmask)) in nv_nic_irq_tx()
3747 np->nic_poll_irq = np->irqmask; in nv_napi_poll()
3761 writel(np->irqmask, base + NvRegIrqMask); in nv_napi_poll()
[all …]
/drivers/media/pci/ivtv/
Divtv-driver.c315 itv->irqmask &= ~mask; in ivtv_clear_irq_mask()
316 write_reg_sync(itv->irqmask, IVTV_REG_IRQMASK); in ivtv_clear_irq_mask()
321 itv->irqmask |= mask; in ivtv_set_irq_mask()
322 write_reg_sync(itv->irqmask, IVTV_REG_IRQMASK); in ivtv_set_irq_mask()
/drivers/mmc/host/
Dmmci.c777 unsigned int datactrl, timeout, irqmask; in mmci_start_data() local
847 irqmask = MCI_RXFIFOHALFFULLMASK; in mmci_start_data()
855 irqmask |= MCI_RXDATAAVLBLMASK; in mmci_start_data()
861 irqmask = MCI_TXFIFOHALFEMPTYMASK; in mmci_start_data()
866 mmci_set_mask1(host, irqmask); in mmci_start_data()

12