Home
last modified time | relevance | path

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

123

/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.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()
Dgpio-rockchip.c35 .int_mask = 0x34,
49 .int_mask = 0x18,
492 bank->saved_masks = irq_reg_readl(gc, bank->gpio_regs->int_mask); in rockchip_irq_suspend()
493 irq_reg_writel(gc, ~gc->wake_active, bank->gpio_regs->int_mask); in rockchip_irq_suspend()
501 irq_reg_writel(gc, bank->saved_masks, bank->gpio_regs->int_mask); in rockchip_irq_resume()
547 gc->chip_types[0].regs.mask = bank->gpio_regs->int_mask; in rockchip_interrupts_register()
567 rockchip_gpio_writel(bank, 0xffffffff, bank->gpio_regs->int_mask); in rockchip_interrupts_register()
/linux-5.19.10/drivers/gpu/drm/sprd/
Dsprd_dpu.c409 u32 int_mask = 0; in sprd_dpu_init() local
428 int_mask |= BIT_DPU_INT_UPDATE_DONE; in sprd_dpu_init()
430 int_mask |= BIT_DPU_INT_DONE; in sprd_dpu_init()
432 int_mask |= BIT_DPU_INT_VSYNC; in sprd_dpu_init()
434 int_mask |= BIT_DPU_INT_TE; in sprd_dpu_init()
436 int_mask |= BIT_DPU_INT_ERR; in sprd_dpu_init()
446 int_mask |= BIT_DPU_INT_DONE; in sprd_dpu_init()
448 int_mask |= BIT_DPU_INT_TE; in sprd_dpu_init()
451 writel(int_mask, ctx->base + REG_DPU_INT_EN); in sprd_dpu_init()
753 u32 reg_val, int_mask = 0; in sprd_dpu_isr() local
[all …]
/linux-5.19.10/drivers/net/wireless/ath/ath5k/
Ddma.c742 enum ath5k_int old_mask, int_mask; in ath5k_hw_set_imr() local
760 int_mask = new_mask & AR5K_INT_COMMON; in ath5k_hw_set_imr()
769 int_mask |= AR5K_IMR_HIUERR; in ath5k_hw_set_imr()
776 int_mask |= AR5K_IMR_TIM; in ath5k_hw_set_imr()
791 int_mask |= AR5K_INT_BNR; in ath5k_hw_set_imr()
795 ath5k_hw_reg_write(ah, int_mask, AR5K_PIMR); in ath5k_hw_set_imr()
801 int_mask |= (AR5K_IMR_SSERR | AR5K_IMR_MCABT in ath5k_hw_set_imr()
805 ath5k_hw_reg_write(ah, int_mask, AR5K_IMR); in ath5k_hw_set_imr()
/linux-5.19.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 …]
/linux-5.19.10/drivers/crypto/marvell/cesa/
Dcesa.h462 u32 int_mask; member
710 u32 int_mask) in mv_cesa_set_int_mask() argument
712 if (int_mask == engine->int_mask) in mv_cesa_set_int_mask()
715 writel_relaxed(int_mask, engine->regs + CESA_SA_INT_MSK); in mv_cesa_set_int_mask()
716 engine->int_mask = int_mask; in mv_cesa_set_int_mask()
721 return engine->int_mask; in mv_cesa_get_int_mask()
/linux-5.19.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()
/linux-5.19.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.c368 u32 int_mask; in tegra_i2c_mask_irq() local
370 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) & ~mask; in tegra_i2c_mask_irq()
371 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_mask_irq()
376 u32 int_mask; in tegra_i2c_unmask_irq() local
378 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) | mask; in tegra_i2c_unmask_irq()
379 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_unmask_irq()
1228 u32 int_mask; in tegra_i2c_xfer_msg() local
1265 int_mask = I2C_INT_NO_ACK | I2C_INT_ARBITRATION_LOST; in tegra_i2c_xfer_msg()
1266 tegra_i2c_unmask_irq(i2c_dev, int_mask); in tegra_i2c_xfer_msg()
1304 int_mask |= I2C_INT_PACKET_XFER_COMPLETE; in tegra_i2c_xfer_msg()
[all …]
/linux-5.19.10/drivers/gpu/drm/qxl/
Dqxl_irq.c69 qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; in qxl_irq_handler()
100 qdev->ram_header->int_mask = QXL_INTERRUPT_MASK; in qxl_irq_init()
/linux-5.19.10/drivers/pci/controller/dwc/
Dpcie-spear13xx.c40 u32 int_mask; /* cr8 */ member
109 writel(readl(&app_reg->int_mask) | in spear13xx_pcie_enable_interrupts()
110 MSI_CTRL_INT, &app_reg->int_mask); in spear13xx_pcie_enable_interrupts()
/linux-5.19.10/drivers/input/misc/
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()
/linux-5.19.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()
/linux-5.19.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
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/include/linux/
Dfsl-diu-fb.h154 __be32 int_mask; member
/linux-5.19.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()
/linux-5.19.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()
/linux-5.19.10/drivers/dma/dw-edma/
Ddw-edma-v0-debugfs.c138 WR_REGISTER(int_mask), in dw_edma_debugfs_regs_wr()
206 RD_REGISTER(int_mask), in dw_edma_debugfs_regs_rd()
Ddw-edma-v0-core.c233 SET_BOTH_32(dw, int_mask, in dw_edma_v0_core_off()
405 tmp = GET_RW_32(dw, chan->dir, int_mask); in dw_edma_v0_core_start()
408 SET_RW_32(dw, chan->dir, int_mask, tmp); in dw_edma_v0_core_start()
/linux-5.19.10/drivers/usb/gadget/udc/
Dat91_udc.h97 u8 int_mask; member

123