Home
last modified time | relevance | path

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

123

/linux-6.12.1/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-6.12.1/arch/m68k/atari/
Dataints.c133 unsigned short int_mask; member
138 .int_mask = 0x0,
151 ints = base->int_mask; in mfp_timer_d_handler()
163 stmfp_base.int_mask |= 1 << mfp_num; in atari_mfptimer_enable()
170 stmfp_base.int_mask &= ~(1 << mfp_num); in atari_mfptimer_disable()
171 if (!stmfp_base.int_mask) in atari_mfptimer_disable()
/linux-6.12.1/drivers/gpio/
Dgpio-xgs-iproc.c70 u32 int_mask, irq_type, event_mask; in iproc_gpio_irq_unmask() local
76 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_unmask()
83 int_mask |= 1 << pin; in iproc_gpio_irq_unmask()
84 writel_relaxed(int_mask, in iproc_gpio_irq_unmask()
97 u32 irq_type, int_mask, event_mask; in iproc_gpio_irq_mask() local
102 int_mask = readl_relaxed(chip->base + IPROC_GPIO_CCA_INT_LEVEL_MASK); in iproc_gpio_irq_mask()
109 int_mask &= ~BIT(pin); in iproc_gpio_irq_mask()
110 writel_relaxed(int_mask, in iproc_gpio_irq_mask()
Dgpio-rockchip.c37 .int_mask = 0x34,
51 .int_mask = 0x18,
489 bank->saved_masks = irq_reg_readl(gc, bank->gpio_regs->int_mask); in rockchip_irq_suspend()
490 irq_reg_writel(gc, ~gc->wake_active, bank->gpio_regs->int_mask); in rockchip_irq_suspend()
498 irq_reg_writel(gc, bank->saved_masks, bank->gpio_regs->int_mask); in rockchip_irq_resume()
544 gc->chip_types[0].regs.mask = bank->gpio_regs->int_mask; in rockchip_interrupts_register()
564 rockchip_gpio_writel(bank, 0xffffffff, bank->gpio_regs->int_mask); in rockchip_interrupts_register()
/linux-6.12.1/drivers/gpu/drm/sprd/
Dsprd_dpu.c407 u32 int_mask = 0; in sprd_dpu_init() local
426 int_mask |= BIT_DPU_INT_UPDATE_DONE; in sprd_dpu_init()
428 int_mask |= BIT_DPU_INT_DONE; in sprd_dpu_init()
430 int_mask |= BIT_DPU_INT_VSYNC; in sprd_dpu_init()
432 int_mask |= BIT_DPU_INT_TE; in sprd_dpu_init()
434 int_mask |= BIT_DPU_INT_ERR; in sprd_dpu_init()
444 int_mask |= BIT_DPU_INT_DONE; in sprd_dpu_init()
446 int_mask |= BIT_DPU_INT_TE; in sprd_dpu_init()
449 writel(int_mask, ctx->base + REG_DPU_INT_EN); in sprd_dpu_init()
751 u32 reg_val, int_mask = 0; in sprd_dpu_isr() local
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/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-6.12.1/drivers/i2c/busses/
Di2c-axxia.c483 u32 int_mask = MST_STATUS_ERR | MST_STATUS_SS | MST_STATUS_RFL; in axxia_i2c_xfer_seq() local
502 i2c_int_enable(idev, int_mask); in axxia_i2c_xfer_seq()
529 u32 int_mask = MST_STATUS_ERR; in axxia_i2c_xfer_msg() local
557 int_mask |= MST_STATUS_RFL; in axxia_i2c_xfer_msg()
559 int_mask |= MST_STATUS_TFL; in axxia_i2c_xfer_msg()
570 int_mask |= MST_STATUS_SNS; in axxia_i2c_xfer_msg()
573 int_mask |= MST_STATUS_SS; in axxia_i2c_xfer_msg()
578 i2c_int_enable(idev, int_mask); in axxia_i2c_xfer_msg()
583 i2c_int_disable(idev, int_mask); in axxia_i2c_xfer_msg()
Di2c-tegra.c372 u32 int_mask; in tegra_i2c_mask_irq() local
374 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) & ~mask; in tegra_i2c_mask_irq()
375 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_mask_irq()
380 u32 int_mask; in tegra_i2c_unmask_irq() local
382 int_mask = i2c_readl(i2c_dev, I2C_INT_MASK) | mask; in tegra_i2c_unmask_irq()
383 i2c_writel(i2c_dev, int_mask, I2C_INT_MASK); in tegra_i2c_unmask_irq()
1219 u32 int_mask; in tegra_i2c_xfer_msg() local
1268 int_mask = I2C_INT_NO_ACK | I2C_INT_ARBITRATION_LOST; in tegra_i2c_xfer_msg()
1269 tegra_i2c_unmask_irq(i2c_dev, int_mask); in tegra_i2c_xfer_msg()
1307 int_mask |= I2C_INT_PACKET_XFER_COMPLETE; in tegra_i2c_xfer_msg()
[all …]
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/input/misc/
Dadxl34x.c207 unsigned int_mask; member
770 ac->int_mask = FREE_FALL; in adxl34x_probe()
778 ac->int_mask |= ACTIVITY | INACTIVITY; in adxl34x_probe()
781 ac->int_mask |= WATERMARK; in adxl34x_probe()
785 ac->int_mask |= DATA_READY; in adxl34x_probe()
789 ac->int_mask |= SINGLE_TAP | DOUBLE_TAP; in adxl34x_probe()
832 AC_WRITE(ac, INT_MAP, ac->int_mask | OVERRUN); in adxl34x_probe()
859 AC_WRITE(ac, INT_ENABLE, ac->int_mask | OVERRUN); in adxl34x_probe()
/linux-6.12.1/drivers/char/tpm/
Dtpm_tis_core.c50 static u8 tpm_tis_filter_sts_mask(u8 int_mask, u8 sts_mask) in tpm_tis_filter_sts_mask() argument
52 if (!(int_mask & TPM_INTF_STS_VALID_INT)) in tpm_tis_filter_sts_mask()
55 if (!(int_mask & TPM_INTF_DATA_AVAIL_INT)) in tpm_tis_filter_sts_mask()
58 if (!(int_mask & TPM_INTF_CMD_READY_INT)) in tpm_tis_filter_sts_mask()
84 sts_mask = tpm_tis_filter_sts_mask(priv->int_mask, sts_mask); in wait_for_tpm_stat()
509 u32 int_mask = 0; in __tpm_tis_disable_interrupts() local
511 tpm_tis_read32(priv, TPM_INT_ENABLE(priv->locality), &int_mask); in __tpm_tis_disable_interrupts()
512 int_mask &= ~TPM_GLOBAL_INT_ENABLE; in __tpm_tis_disable_interrupts()
513 tpm_tis_write32(priv, TPM_INT_ENABLE(priv->locality), int_mask); in __tpm_tis_disable_interrupts()
1277 priv->int_mask = intmask; in tpm_tis_core_init()
[all …]
/linux-6.12.1/drivers/net/ethernet/atheros/alx/
Dmain.c320 alx->int_mask |= ALX_ISR_TX_Q0 | ALX_ISR_RX_Q0; in alx_poll()
321 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_poll()
349 alx->int_mask &= ~ALX_ISR_PHY; in alx_intr_handle_misc()
350 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_intr_handle_misc()
365 intr &= alx->int_mask; in alx_intr_handle()
373 alx->int_mask &= ~ALX_ISR_ALL_QUEUES; in alx_intr_handle()
374 alx_write_mem32(hw, ALX_IMR, alx->int_mask); in alx_intr_handle()
410 intr &= (alx->int_mask & ~ALX_ISR_ALL_QUEUES); in alx_intr_msix_misc()
439 if (intr & ALX_ISR_DIS || !(intr & alx->int_mask)) in alx_intr_legacy()
745 alx->int_mask &= ~ALX_ISR_ALL_QUEUES; in alx_alloc_napis()
[all …]
Dalx.h127 u32 int_mask; member
/linux-6.12.1/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-6.12.1/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()
962 ndev->int_mask = AMD_EVENT_INTMASK; in ndev_init_struct()
1089 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_init_ntb()
1146 ndev->int_mask &= ~(AMD_LINK_UP_EVENT | AMD_LINK_DOWN_EVENT); in amd_init_dev()
1147 writel(ndev->int_mask, mmio + AMD_INTMASK_OFFSET); in amd_init_dev()
/linux-6.12.1/drivers/bus/
Dsunxi-rsb.c275 u32 int_mask, status; in _sunxi_rsb_run_xfer() local
285 int_mask = RSB_INTS_LOAD_BSY | RSB_INTS_TRANS_ERR | RSB_INTS_TRANS_OVER; in _sunxi_rsb_run_xfer()
286 writel(int_mask, rsb->regs + RSB_INTE); in _sunxi_rsb_run_xfer()
292 status, (status & int_mask), in _sunxi_rsb_run_xfer()
/linux-6.12.1/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-6.12.1/drivers/net/wireless/ath/wcn36xx/
Ddxe.c584 u32 int_mask, in wcn36xx_rx_handle_packets() argument
595 wcn36xx_dxe_write_register(wcn, WCN36XX_DXE_0_INT_CLR, int_mask); in wcn36xx_rx_handle_packets()
600 int_mask); in wcn36xx_rx_handle_packets()
608 int_mask); in wcn36xx_rx_handle_packets()
613 int_mask); in wcn36xx_rx_handle_packets()
/linux-6.12.1/include/linux/
Dfsl-diu-fb.h154 __be32 int_mask; member
/linux-6.12.1/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-6.12.1/drivers/usb/gadget/udc/
Dat91_udc.h97 u8 int_mask; member

123