Home
last modified time | relevance | path

Searched refs:int_mask (Results 1 – 25 of 63) sorted by relevance

123

/kernel/linux/linux-5.10/arch/m68k/amiga/
Dcia.c30 unsigned short int_mask; member
35 .int_mask = IF_PORTS,
41 .int_mask = IF_EXTER,
61 amiga_custom.intreq = IF_SETCLR | base->int_mask; in cia_set_irq()
82 amiga_custom.intreq = IF_SETCLR | base->int_mask; in cia_able_irq()
99 amiga_custom.intreq = base->int_mask; in cia_handler()
/kernel/linux/linux-5.10/drivers/irqchip/
Dirq-ativic32.c34 unsigned long int_mask = __nds32__mfsr(NDS32_SR_INT_MASK); in nointc_set_wake() local
39 if (int_mask & bit) in nointc_set_wake()
44 __assign_bit(data->hwirq, &int_mask, true); in nointc_set_wake()
49 __assign_bit(data->hwirq, &int_mask, false); in nointc_set_wake()
55 __nds32__mtsr_dsb(int_mask, NDS32_SR_INT_MASK); in nointc_set_wake()
/kernel/linux/linux-5.10/arch/m68k/atari/
Dataints.c134 unsigned short int_mask; member
139 .int_mask = 0x0,
152 ints = base->int_mask; in mfp_timer_d_handler()
164 stmfp_base.int_mask |= 1 << mfp_num; in atari_mfptimer_enable()
171 stmfp_base.int_mask &= ~(1 << mfp_num); in atari_mfptimer_disable()
172 if (!stmfp_base.int_mask) in atari_mfptimer_disable()
/kernel/linux/linux-5.10/drivers/gpio/
Dgpio-xgs-iproc.c70 u32 int_mask, irq_type, event_mask; in iproc_gpio_irq_unmask() local
75 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_unmask()
82 int_mask |= 1 << pin; in iproc_gpio_irq_unmask()
83 writel_relaxed(int_mask, in iproc_gpio_irq_unmask()
96 u32 irq_type, int_mask, event_mask; in iproc_gpio_irq_mask() local
101 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_mask()
108 int_mask &= ~BIT(pin); in iproc_gpio_irq_mask()
109 writel_relaxed(int_mask, in iproc_gpio_irq_mask()
/kernel/linux/linux-5.10/drivers/input/misc/
Dsirfsoc-onkey.c73 u32 int_mask; in sirfsoc_pwrc_toggle_interrupts() local
75 int_mask = sirfsoc_rtc_iobrg_readl(pwrcdrv->pwrc_base + PWRC_INT_MASK); in sirfsoc_pwrc_toggle_interrupts()
77 int_mask |= PWRC_ON_KEY_BIT; in sirfsoc_pwrc_toggle_interrupts()
79 int_mask &= ~PWRC_ON_KEY_BIT; in sirfsoc_pwrc_toggle_interrupts()
80 sirfsoc_rtc_iobrg_writel(int_mask, pwrcdrv->pwrc_base + PWRC_INT_MASK); in sirfsoc_pwrc_toggle_interrupts()
Dadxl34x.c207 unsigned int_mask; member
788 ac->int_mask = FREE_FALL; in adxl34x_probe()
795 ac->int_mask |= ACTIVITY | INACTIVITY; in adxl34x_probe()
798 ac->int_mask |= WATERMARK; in adxl34x_probe()
802 ac->int_mask |= DATA_READY; in adxl34x_probe()
806 ac->int_mask |= SINGLE_TAP | DOUBLE_TAP; in adxl34x_probe()
854 AC_WRITE(ac, INT_MAP, ac->int_mask | OVERRUN); in adxl34x_probe()
881 AC_WRITE(ac, INT_ENABLE, ac->int_mask | OVERRUN); in adxl34x_probe()
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath5k/
Ddma.c757 enum ath5k_int old_mask, int_mask; in ath5k_hw_set_imr() local
775 int_mask = new_mask & AR5K_INT_COMMON; in ath5k_hw_set_imr()
784 int_mask |= AR5K_IMR_HIUERR; in ath5k_hw_set_imr()
791 int_mask |= AR5K_IMR_TIM; in ath5k_hw_set_imr()
806 int_mask |= AR5K_INT_BNR; in ath5k_hw_set_imr()
810 ath5k_hw_reg_write(ah, int_mask, AR5K_PIMR); in ath5k_hw_set_imr()
816 int_mask |= (AR5K_IMR_SSERR | AR5K_IMR_MCABT in ath5k_hw_set_imr()
820 ath5k_hw_reg_write(ah, int_mask, AR5K_IMR); in ath5k_hw_set_imr()
/kernel/linux/linux-5.10/drivers/net/fddi/
Ddefza.c218 pr_debug(" interrupt mask: 0x%04x\n", readw_u(&fp->regs->int_mask)); in fza_regs_dump()
232 writew_o(fp->int_mask, &fp->regs->int_mask); in fza_do_reset()
233 readw_o(&fp->regs->int_mask); /* Synchronize. */ in fza_do_reset()
295 old_mask = fp->int_mask; in fza_cmd_send()
297 writew_u(new_mask, &fp->regs->int_mask); in fza_cmd_send()
298 readw_o(&fp->regs->int_mask); /* Synchronize. */ in fza_cmd_send()
299 fp->int_mask = new_mask; in fza_cmd_send()
371 fp->int_mask = old_mask; in fza_cmd_send()
372 writew_u(fp->int_mask, &fp->regs->int_mask); in fza_cmd_send()
907 int_event = readw_o(&fp->regs->int_event) & fp->int_mask; in fza_interrupt()
[all …]
/kernel/linux/linux-5.10/drivers/crypto/marvell/cesa/
Dcesa.h458 u32 int_mask; member
706 u32 int_mask) in mv_cesa_set_int_mask() argument
708 if (int_mask == engine->int_mask) in mv_cesa_set_int_mask()
711 writel_relaxed(int_mask, engine->regs + CESA_SA_INT_MSK); in mv_cesa_set_int_mask()
712 engine->int_mask = int_mask; in mv_cesa_set_int_mask()
717 return engine->int_mask; in mv_cesa_get_int_mask()
/kernel/linux/linux-5.10/drivers/input/keyboard/
Dnspire-keypad.c33 u32 int_mask; member
61 int_sts = readl(keypad->reg_base + KEYPAD_INT) & keypad->int_mask; in nspire_keypad_irq()
127 keypad->int_mask = 1 << 1; in nspire_keypad_open()
128 writel(keypad->int_mask, keypad->reg_base + KEYPAD_INTMSK); in nspire_keypad_open()
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_irq.c69 qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; in qxl_irq_handler()
97 qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; in qxl_irq_init()
/kernel/linux/linux-5.10/drivers/i2c/busses/
Di2c-axxia.c481 u32 int_mask = MST_STATUS_ERR | MST_STATUS_SS | MST_STATUS_RFL; in axxia_i2c_xfer_seq() local
500 i2c_int_enable(idev, int_mask); in axxia_i2c_xfer_seq()
527 u32 int_mask = MST_STATUS_ERR; in axxia_i2c_xfer_msg() local
555 int_mask |= MST_STATUS_RFL; in axxia_i2c_xfer_msg()
557 int_mask |= MST_STATUS_TFL; in axxia_i2c_xfer_msg()
568 int_mask |= MST_STATUS_SNS; in axxia_i2c_xfer_msg()
571 int_mask |= MST_STATUS_SS; in axxia_i2c_xfer_msg()
576 i2c_int_enable(idev, int_mask); in axxia_i2c_xfer_msg()
581 i2c_int_disable(idev, int_mask); in axxia_i2c_xfer_msg()
Di2c-tegra.c367 u32 int_mask; in tegra_i2c_mask_irq() local
369 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) & ~mask; in tegra_i2c_mask_irq()
370 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_mask_irq()
375 u32 int_mask; in tegra_i2c_unmask_irq() local
377 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) | mask; in tegra_i2c_unmask_irq()
378 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_unmask_irq()
1221 u32 int_mask; in tegra_i2c_xfer_msg() local
1253 int_mask = I2C_INT_NO_ACK | I2C_INT_ARBITRATION_LOST; in tegra_i2c_xfer_msg()
1254 tegra_i2c_unmask_irq(i2c_dev, int_mask); in tegra_i2c_xfer_msg()
1292 int_mask |= I2C_INT_PACKET_XFER_COMPLETE; in tegra_i2c_xfer_msg()
[all …]
/kernel/linux/linux-5.10/drivers/pci/controller/dwc/
Dpcie-spear13xx.c40 u32 int_mask; /* cr8 */ member
134 writel(readl(&app_reg->int_mask) | in spear13xx_pcie_enable_interrupts()
135 MSI_CTRL_INT, &app_reg->int_mask); in spear13xx_pcie_enable_interrupts()
/kernel/linux/linux-5.10/drivers/net/ethernet/atheros/alx/
Dmain.c321 alx->int_mask |= ALX_ISR_TX_Q0 | ALX_ISR_RX_Q0; in alx_poll()
322 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_poll()
350 alx->int_mask &= ~ALX_ISR_PHY; in alx_intr_handle_misc()
351 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_intr_handle_misc()
366 intr &= alx->int_mask; in alx_intr_handle()
374 alx->int_mask &= ~ALX_ISR_ALL_QUEUES; in alx_intr_handle()
375 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_intr_handle()
411 intr &= (alx->int_mask & ~ALX_ISR_ALL_QUEUES); in alx_intr_msix_misc()
440 if (intr & ALX_ISR_DIS || !(intr & alx->int_mask)) in alx_intr_legacy()
746 alx->int_mask &= ~ALX_ISR_ALL_QUEUES; in alx_alloc_napis()
[all …]
Dalx.h127 u32 int_mask; member
/kernel/linux/linux-5.10/drivers/media/pci/bt8xx/
Dbt878.c188 u32 int_mask; in bt878_start() local
207 int_mask = BT878_ASCERR | BT878_AOCERR | BT878_APABORT | in bt878_start()
213 int_mask &= ~irq_err_ignore; in bt878_start()
215 btwrite(int_mask, BT878_AINT_MASK); in bt878_start()
/kernel/linux/linux-5.10/drivers/ntb/hw/amd/
Dntb_hw_amd.c349 ndev->int_mask &= ~AMD_EVENT_INTMASK; in amd_ntb_link_enable()
350 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_ntb_link_enable()
365 ndev->int_mask |= AMD_EVENT_INTMASK; in amd_ntb_link_disable()
366 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_ntb_link_disable()
965 ndev->int_mask = AMD_EVENT_INTMASK; in ndev_init_struct()
1092 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_init_ntb()
1149 ndev->int_mask &= ~(AMD_LINK_UP_EVENT | AMD_LINK_DOWN_EVENT); in amd_init_dev()
1150 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_init_dev()
/kernel/linux/linux-5.10/drivers/dma/dw-edma/
Ddw-edma-v0-core.c130 SET_BOTH(dw, int_mask, EDMA_V0_DONE_INT_MASK | EDMA_V0_ABORT_INT_MASK); in dw_edma_v0_core_off()
248 tmp = GET_RW(dw, chan->dir, int_mask); in dw_edma_v0_core_start()
251 SET_RW(dw, chan->dir, int_mask, tmp); in dw_edma_v0_core_start()
Ddw-edma-v0-debugfs.c139 WR_REGISTER(int_mask), in dw_edma_debugfs_regs_wr()
207 RD_REGISTER(int_mask), in dw_edma_debugfs_regs_rd()
/kernel/linux/linux-5.10/drivers/mmc/host/
Dtoshsd.c292 u32 int_reg, int_mask, int_status, detail; in toshsd_irq() local
297 int_mask = ioread32(host->ioaddr + SD_INTMASKCARD); in toshsd_irq()
298 int_reg = int_status & ~int_mask & ~IRQ_DONT_CARE_BITS; in toshsd_irq()
301 int_status, int_mask); in toshsd_irq()
/kernel/linux/linux-5.10/include/linux/
Dfsl-diu-fb.h154 __be32 int_mask; member
/kernel/linux/linux-5.10/drivers/net/wireless/ath/wcn36xx/
Ddxe.c583 u32 int_mask, in wcn36xx_rx_handle_packets() argument
594 wcn36xx_dxe_write_register(wcn, WCN36XX_DXE_0_INT_CLR, int_mask); in wcn36xx_rx_handle_packets()
599 int_mask); in wcn36xx_rx_handle_packets()
607 int_mask); in wcn36xx_rx_handle_packets()
612 int_mask); in wcn36xx_rx_handle_packets()
/kernel/linux/linux-5.10/sound/soc/xtensa/
Dxtfpga-i2s.c227 unsigned config, int_status, int_mask; in xtfpga_i2s_threaded_irq_handler() local
230 regmap_read(i2s->regmap, XTFPGA_I2S_INT_MASK, &int_mask); in xtfpga_i2s_threaded_irq_handler()
234 !(int_status & int_mask & XTFPGA_I2S_INT_VALID)) in xtfpga_i2s_threaded_irq_handler()
/kernel/linux/linux-5.10/drivers/usb/gadget/udc/
Dat91_udc.h97 u8 int_mask; member

123