/linux/drivers/gpu/drm/msm/disp/ |
H A D | mdp_kms.c | 24 uint32_t irqmask = mdp_kms->vblank_mask; in update_irq() local 29 irqmask |= irq->irqmask; in update_irq() 31 mdp_kms->funcs->set_irqmask(mdp_kms, irqmask, mdp_kms->cur_irq_mask); in update_irq() 32 mdp_kms->cur_irq_mask = irqmask; in update_irq() 54 if (handler->irqmask & status) { in mdp_dispatch_irqs() 56 handler->irq(handler, handler->irqmask & status); in mdp_dispatch_irqs() 87 void mdp_irq_wait(struct mdp_kms *mdp_kms, uint32_t irqmask) in mdp_irq_wait() argument 92 .irqmask = irqmask, in mdp_irq_wait()
|
H A D | mdp_kms.h | 23 void (*set_irqmask)(struct mdp_kms *mdp_kms, uint32_t irqmask, 65 uint32_t irqmask; member 72 void mdp_irq_wait(struct mdp_kms *mdp_kms, uint32_t irqmask);
|
/linux/drivers/clocksource/ |
H A D | timer-atmel-st.c | 21 static u32 irqmask; variable 53 sr &= irqmask; in at91rm9200_timer_interrupt() 108 irqmask = 0; in clkevt32k_shutdown() 109 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_shutdown() 121 irqmask = AT91_ST_ALMS; in clkevt32k_set_oneshot() 123 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_set_oneshot() 132 irqmask = AT91_ST_PITS; in clkevt32k_set_periodic() 134 regmap_write(regmap_st, AT91_ST_IER, irqmask); in clkevt32k_set_periodic()
|
/linux/drivers/irqchip/ |
H A D | irq-i8259.c | 114 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()
|
/linux/drivers/gpu/drm/omapdrm/ |
H A D | omap_irq.c | 14 u32 irqmask; member 23 u32 irqmask = priv->irq_mask; in omap_irq_update() local 28 irqmask |= wait->irqmask; in omap_irq_update() 30 DBG("irqmask=%08x", irqmask); in omap_irq_update() 32 dispc_write_irqenable(priv->dispc, irqmask); in omap_irq_update() 42 u32 irqmask, int count) in omap_irq_wait_init() argument 49 wait->irqmask = irqmask; in omap_irq_wait_init() 241 if (wait->irqmask & irqstatus) in omap_irq_handler()
|
H A D | omap_irq.h | 25 u32 irqmask, int count);
|
/linux/arch/x86/kernel/ |
H A D | i8259.c | 132 int irqmask = 1<<irq; in i8259A_irq_real() local 136 value = inb(PIC_MASTER_CMD) & irqmask; in i8259A_irq_real() 141 value = inb(PIC_SLAVE_CMD) & (irqmask >> 8); in i8259A_irq_real() 155 unsigned int irqmask = 1 << irq; in mask_and_ack_8259A() local 174 if (cached_irq_mask & irqmask) in mask_and_ack_8259A() 176 cached_irq_mask |= irqmask; in mask_and_ack_8259A() 211 if (!(spurious_irq_mask & irqmask)) { in mask_and_ack_8259A() 214 spurious_irq_mask |= irqmask; in mask_and_ack_8259A()
|
/linux/arch/mips/sni/ |
H A D | rm200.c | 191 int irqmask = 1 << irq; in sni_rm200_i8259A_irq_real() local 195 value = readb(rm200_pic_master + PIC_CMD) & irqmask; in sni_rm200_i8259A_irq_real() 200 value = readb(rm200_pic_slave + PIC_CMD) & (irqmask >> 8); in sni_rm200_i8259A_irq_real() 213 unsigned int irqmask, irq = d->irq - RM200_I8259A_IRQ_BASE; in sni_rm200_mask_and_ack_8259A() local 216 irqmask = 1 << irq; in sni_rm200_mask_and_ack_8259A() 233 if (rm200_cached_irq_mask & irqmask) in sni_rm200_mask_and_ack_8259A() 235 rm200_cached_irq_mask |= irqmask; in sni_rm200_mask_and_ack_8259A() 268 if (!(spurious_irq_mask & irqmask)) { in sni_rm200_mask_and_ack_8259A() 271 spurious_irq_mask |= irqmask; in sni_rm200_mask_and_ack_8259A()
|
/linux/drivers/gpu/drm/msm/disp/mdp4/ |
H A D | mdp4_irq.c | 13 void mdp4_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp4_set_irqmask() argument 17 irqmask ^ (irqmask & old_irqmask)); in mdp4_set_irqmask() 18 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()
|
/linux/drivers/gpu/drm/msm/disp/mdp5/ |
H A D | mdp5_irq.c | 15 void mdp5_set_irqmask(struct mdp_kms *mdp_kms, uint32_t irqmask, in mdp5_set_irqmask() argument 19 irqmask ^ (irqmask & old_irqmask)); in mdp5_set_irqmask() 20 mdp5_write(to_mdp5_kms(mdp_kms), REG_MDP5_INTR_EN, irqmask); in mdp5_set_irqmask() 56 error_handler->irqmask = MDP5_IRQ_INTF0_UNDER_RUN | in mdp5_irq_postinstall()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mmio.c | 75 dev->mmio.irqmask &= ~clear; in mt76_set_irq_mask() 76 dev->mmio.irqmask |= set; in mt76_set_irq_mask() 80 dev->mmio.irqmask); in mt76_set_irq_mask() 82 mt76_mmio_wr(dev, addr, dev->mmio.irqmask); in mt76_set_irq_mask()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7996/ |
H A D | mmio.c | 488 mdev->mmio.irqmask &= ~clear; in mt7996_dual_hif_set_irq_mask() 489 mdev->mmio.irqmask |= set; in mt7996_dual_hif_set_irq_mask() 494 mdev->mmio.irqmask); in mt7996_dual_hif_set_irq_mask() 497 mdev->mmio.irqmask); in mt7996_dual_hif_set_irq_mask() 500 mt76_wr(dev, MT_INT_MASK_CSR, mdev->mmio.irqmask); in mt7996_dual_hif_set_irq_mask() 501 mt76_wr(dev, MT_INT1_MASK_CSR, mdev->mmio.irqmask); in mt7996_dual_hif_set_irq_mask() 527 dev->mt76.mmio.irqmask); in mt7996_irq_tasklet() 534 intr = mtk_wed_device_irq_get(wed, dev->mt76.mmio.irqmask); in mt7996_irq_tasklet() 542 intr &= dev->mt76.mmio.irqmask; in mt7996_irq_tasklet() 546 intr1 &= dev->mt76.mmio.irqmask; in mt7996_irq_tasklet() [all …]
|
/linux/drivers/gpio/ |
H A D | gpio-sa1100.c | 21 u32 irqmask; member 119 grer = sgc->irqrising & sgc->irqmask; in sa1100_update_edge_regs() 120 gfer = sgc->irqfalling & sgc->irqmask; in sa1100_update_edge_regs() 166 sgc->irqmask &= ~mask; in sa1100_gpio_mask() 176 sgc->irqmask |= mask; in sa1100_gpio_unmask()
|
/linux/arch/alpha/kernel/ |
H A D | err_titan.c | 395 u64 irqmask; in titan_machine_check() local 461 irqmask = tmchk->c_dirx & TITAN_MCHECK_INTERRUPT_MASK; in titan_machine_check() 462 titan_dispatch_irqs(irqmask); in titan_machine_check() 715 u64 irqmask; in privateer_machine_check() local 749 irqmask = tmchk->c_dirx & PRIVATEER_680_INTERRUPT_MASK; in privateer_machine_check() 754 titan_dispatch_irqs(irqmask); in privateer_machine_check()
|
/linux/drivers/net/can/esd/ |
H A D | esdacc.c | 718 u32 irqmask; in acc_card_interrupt() local 726 irqmask = 0U; in acc_card_interrupt() 728 irqmask |= ACC_BM_IRQ_MASK; in acc_card_interrupt() 736 irqmask |= (ACC_BM_IRQ_MASK << (2 * (i + 1))); in acc_card_interrupt() 741 if (!irqmask) in acc_card_interrupt() 748 acc_ov_write32(ov, ACC_OV_OF_BM_IRQ_MASK, irqmask); in acc_card_interrupt() 750 if (irqmask & ACC_BM_IRQ_MASK) { in acc_card_interrupt() 759 if (irqmask & (ACC_BM_IRQ_MASK << (2 * (i + 1)))) { in acc_card_interrupt()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7603/ |
H A D | core.c | 24 trace_dev_irq(&dev->mt76, intr, dev->mt76.mmio.irqmask); in mt7603_irq_handler() 26 intr &= dev->mt76.mmio.irqmask; in mt7603_irq_handler()
|
/linux/drivers/regulator/ |
H A D | lp8755.c | 45 unsigned int irqmask; member 290 && (pchip->irqmask & (0x04 << icnt)) in lp8755_irq_handler() 307 if ((flag1 & 0x01) && (pchip->irqmask & 0x01)) in lp8755_irq_handler() 316 if ((flag1 & 0x02) && (pchip->irqmask & 0x02)) in lp8755_irq_handler() 346 pchip->irqmask = regval; in lp8755_int_config()
|
/linux/drivers/net/wireless/mediatek/mt76/mt7915/ |
H A D | mmio.c | 797 mdev->mmio.irqmask &= ~clear; in mt7915_dual_hif_set_irq_mask() 798 mdev->mmio.irqmask |= set; in mt7915_dual_hif_set_irq_mask() 803 mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask() 805 mt76_wr(dev, MT_INT_MASK_CSR, mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask() 806 mt76_wr(dev, MT_INT1_MASK_CSR, mdev->mmio.irqmask); in mt7915_dual_hif_set_irq_mask() 831 intr = mtk_wed_device_irq_get(wed, dev->mt76.mmio.irqmask); in mt7915_irq_tasklet() 838 intr &= dev->mt76.mmio.irqmask; in mt7915_irq_tasklet() 844 intr1 &= dev->mt76.mmio.irqmask; in mt7915_irq_tasklet() 850 trace_dev_irq(&dev->mt76, intr, dev->mt76.mmio.irqmask); in mt7915_irq_tasklet()
|
/linux/drivers/ata/ |
H A D | pata_hpt3x2n.c | 493 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()
|
H A D | pata_icside.c | 67 unsigned int irqmask; member 387 info->irqmask = 1; in pata_icside_register_v5() 448 ec->irqmask = info->irqmask; in pata_icside_add_ports()
|
/linux/drivers/media/pci/tw5864/ |
H A D | tw5864-core.c | 79 tw_writel(TW5864_INTR_ENABLE_L, dev->irqmask & 0xffff); in tw5864_irqmask_apply() 80 tw_writel(TW5864_INTR_ENABLE_H, (dev->irqmask >> 16)); in tw5864_irqmask_apply() 88 dev->irqmask = 0; in tw5864_interrupts_disable()
|
/linux/arch/arm/include/asm/ |
H A D | ecard.h | 103 unsigned char irqmask; /* IRQ mask */ member 148 unsigned char irqmask; /* IRQ mask */ member
|
/linux/drivers/media/rc/ |
H A D | winbond-cir.c | 198 u8 irqmask; member 248 wbcir_set_irqmask(struct wbcir_data *data, u8 irqmask) in wbcir_set_irqmask() argument 250 if (data->irqmask == irqmask) in wbcir_set_irqmask() 254 outb(irqmask, data->sbase + WBCIR_REG_SP3_IER); in wbcir_set_irqmask() 255 data->irqmask = irqmask; in wbcir_set_irqmask() 462 status &= data->irqmask; in wbcir_irq_handler()
|
/linux/drivers/video/fbdev/omap2/omapfb/dss/ |
H A D | dispc-compat.h | 13 int omap_dispc_wait_for_irq_interruptible_timeout(u32 irqmask,
|
/linux/arch/arm/mach-rpc/ |
H A D | ecard.c | 395 return !ec->irqmask || readb(ec->irqaddr) & ec->irqmask; in ecard_def_irq_pending() 515 ec->irqaddr, ec->irqmask, readb(ec->irqaddr)); in ecard_dump_irq_state() 921 ec->cid.irqmask = cid.r_irqmask; in ecard_probe() 929 ec->irqmask = ec->cid.irqmask; in ecard_probe() 934 ec->irqmask = 1; in ecard_probe()
|