Home
last modified time | relevance | path

Searched refs:intr_mask (Results 1 – 25 of 81) sorted by relevance

1234

/linux-6.1.9/drivers/scsi/qla4xxx/
Dql4_inline.h42 &ha->reg->u1.isp4022.intr_mask); in __qla4xxx_enable_intrs()
43 readl(&ha->reg->u1.isp4022.intr_mask); in __qla4xxx_enable_intrs()
56 &ha->reg->u1.isp4022.intr_mask); in __qla4xxx_disable_intrs()
57 readl(&ha->reg->u1.isp4022.intr_mask); in __qla4xxx_disable_intrs()
/linux-6.1.9/drivers/irqchip/
Dirq-xilinx-intc.c42 u32 intr_mask; member
119 if (irqc->intr_mask & BIT(hw)) { in xintc_map()
186 ret = of_property_read_u32(intc, "xlnx,kind-of-intr", &irqc->intr_mask); in xilinx_intc_of_init()
189 irqc->intr_mask = 0; in xilinx_intc_of_init()
192 if (irqc->intr_mask >> irqc->nr_irq) in xilinx_intc_of_init()
196 intc, irqc->nr_irq, irqc->intr_mask); in xilinx_intc_of_init()
/linux-6.1.9/drivers/net/ethernet/marvell/octeon_ep/
Doctep_cn9k_pf.c543 u64 intr_mask = 0ULL; in octep_enable_interrupts_cn93_pf() local
550 intr_mask |= (0x1ULL << (srn + i)); in octep_enable_interrupts_cn93_pf()
552 octep_write_csr64(oct, CN93_SDP_EPF_IRERR_RINT_ENA_W1S, intr_mask); in octep_enable_interrupts_cn93_pf()
553 octep_write_csr64(oct, CN93_SDP_EPF_ORERR_RINT_ENA_W1S, intr_mask); in octep_enable_interrupts_cn93_pf()
555 octep_write_csr64(oct, CN93_SDP_EPF_MISC_RINT_ENA_W1S, intr_mask); in octep_enable_interrupts_cn93_pf()
556 octep_write_csr64(oct, CN93_SDP_EPF_DMA_RINT_ENA_W1S, intr_mask); in octep_enable_interrupts_cn93_pf()
562 u64 intr_mask = 0ULL; in octep_disable_interrupts_cn93_pf() local
569 intr_mask |= (0x1ULL << (srn + i)); in octep_disable_interrupts_cn93_pf()
571 octep_write_csr64(oct, CN93_SDP_EPF_IRERR_RINT_ENA_W1C, intr_mask); in octep_disable_interrupts_cn93_pf()
572 octep_write_csr64(oct, CN93_SDP_EPF_ORERR_RINT_ENA_W1C, intr_mask); in octep_disable_interrupts_cn93_pf()
[all …]
/linux-6.1.9/drivers/i2c/busses/
Di2c-xlp9xx.c327 u32 intr_mask, cmd, val, len; in xlp9xx_i2c_xfer_msg() local
374 intr_mask = (XLP9XX_I2C_INTEN_ARLOST | XLP9XX_I2C_INTEN_BUSERR | in xlp9xx_i2c_xfer_msg()
378 intr_mask |= XLP9XX_I2C_INTEN_MFIFOHI; in xlp9xx_i2c_xfer_msg()
380 intr_mask |= XLP9XX_I2C_INTEN_SADDR; in xlp9xx_i2c_xfer_msg()
383 intr_mask |= XLP9XX_I2C_INTEN_SADDR; in xlp9xx_i2c_xfer_msg()
385 intr_mask |= XLP9XX_I2C_INTEN_MFIFOEMTY; in xlp9xx_i2c_xfer_msg()
387 xlp9xx_i2c_unmask_irq(priv, intr_mask); in xlp9xx_i2c_xfer_msg()
/linux-6.1.9/drivers/scsi/bfa/
Dbfa_hw_ct.c34 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwct_reginit()
37 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwct_reginit()
48 bfa_regs->intr_mask = (kva + CT2_HOSTFN_INTR_MASK); in bfa_hwct2_reginit()
Dbfa_hw_cb.c24 bfa_regs->intr_mask = (kva + HOSTFN0_INT_MSK); in bfa_hwcb_reginit()
27 bfa_regs->intr_mask = (kva + HOSTFN1_INT_MSK); in bfa_hwcb_reginit()
/linux-6.1.9/drivers/soc/qcom/
Dsmsm.c482 u32 *intr_mask; in qcom_smsm_probe() local
555 intr_mask = qcom_smem_get(QCOM_SMEM_HOST_ANY, SMEM_SMSM_CPU_INTR_MASK, NULL); in qcom_smsm_probe()
556 if (IS_ERR(intr_mask)) { in qcom_smsm_probe()
558 ret = PTR_ERR(intr_mask); in qcom_smsm_probe()
564 smsm->subscription = intr_mask + smsm->local_host * smsm->num_hosts; in qcom_smsm_probe()
592 entry->subscription = intr_mask + id * smsm->num_hosts; in qcom_smsm_probe()
/linux-6.1.9/drivers/soundwire/
Dqcom.c167 u32 intr_mask; member
564 intr_sts_masked = intr_sts & swrm->intr_mask; in qcom_swrm_irq_handler()
600 swrm->intr_mask &= ~SWRM_INTERRUPT_STATUS_MASTER_CLASH_DET; in qcom_swrm_irq_handler()
601 swrm->reg_write(swrm, SWRM_INTERRUPT_CPU_EN, swrm->intr_mask); in qcom_swrm_irq_handler()
633 swrm->intr_mask &= ~SWRM_INTERRUPT_STATUS_DOUT_PORT_COLLISION; in qcom_swrm_irq_handler()
635 SWRM_INTERRUPT_CPU_EN, swrm->intr_mask); in qcom_swrm_irq_handler()
641 swrm->intr_mask &= in qcom_swrm_irq_handler()
644 SWRM_INTERRUPT_CPU_EN, swrm->intr_mask); in qcom_swrm_irq_handler()
665 intr_sts_masked = intr_sts & swrm->intr_mask; in qcom_swrm_irq_handler()
687 ctrl->intr_mask = SWRM_INTERRUPT_STATUS_RMSK; in qcom_swrm_init()
[all …]
/linux-6.1.9/drivers/spi/
Dspi-xlp.c274 u32 intr_mask = 0; in xlp_spi_xfer_block() local
294 intr_mask |= XLP_SPI_INTR_TXTH | XLP_SPI_INTR_TXUF | in xlp_spi_xfer_block()
297 intr_mask |= XLP_SPI_INTR_RXTH | XLP_SPI_INTR_RXOF; in xlp_spi_xfer_block()
299 intr_mask |= XLP_SPI_INTR_DONE; in xlp_spi_xfer_block()
300 xlp_spi_reg_write(xs, xs->cs, XLP_SPI_INTR_EN, intr_mask); in xlp_spi_xfer_block()
/linux-6.1.9/drivers/net/ethernet/silan/
Dsc92031.c290 atomic_t intr_mask; member
359 atomic_set(&priv->intr_mask, 0); in sc92031_disable_interrupts()
378 atomic_set(&priv->intr_mask, IntrBits); in sc92031_enable_interrupts()
625 atomic_set(&priv->intr_mask, 0); in _sc92031_reset()
838 u32 intr_status, intr_mask; in sc92031_tasklet() local
865 intr_mask = atomic_read(&priv->intr_mask); in sc92031_tasklet()
868 iowrite32(intr_mask, port_base + IntrMask); in sc92031_tasklet()
878 u32 intr_status, intr_mask; in sc92031_interrupt() local
898 intr_mask = atomic_read(&priv->intr_mask); in sc92031_interrupt()
901 iowrite32(intr_mask, port_base + IntrMask); in sc92031_interrupt()
/linux-6.1.9/drivers/gpio/
Dgpio-realtek-otto.c72 u8 intr_mask[REALTEK_GPIO_MAX]; member
173 u32 irq_mask = ctrl->intr_mask[line]; in realtek_gpio_update_line_imr()
200 ctrl->intr_mask[line] = REALTEK_GPIO_IMR_LINE_MASK; in realtek_gpio_irq_unmask()
212 ctrl->intr_mask[line] = 0; in realtek_gpio_irq_mask()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
Dbase.c116 gpio->func->intr_mask(gpio, type, 1 << index, 0); in nvkm_gpio_intr_fini()
123 gpio->func->intr_mask(gpio, type, 1 << index, 1 << index); in nvkm_gpio_intr_init()
170 gpio->func->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0); in nvkm_gpio_fini()
Dpriv.h19 void (*intr_mask)(struct nvkm_gpio *, u32, u32, u32); member
/linux-6.1.9/drivers/net/ethernet/marvell/octeontx2/af/
Dmcs_rvu_if.c65 event->intr_mask &= pfvf->intr_mask; in mcs_add_intr_wq_entry()
68 if (!(pfvf->intr_mask && event->intr_mask)) in mcs_add_intr_wq_entry()
96 req->intr_mask = event->intr_mask; in mcs_notify_pfvf()
155 pfvf->intr_mask = req->intr_mask; in rvu_mbox_handler_mcs_intr_cfg()
Dmcs.c810 event.intr_mask = MCS_CPM_TX_PACKET_XPN_EQ0_INT; in cn10kb_mcs_tx_pn_wrapped_handler()
837 event.intr_mask = MCS_CPM_TX_PN_THRESH_REACHED_INT; in cn10kb_mcs_tx_pn_thresh_reached_handler()
883 event.intr_mask = MCS_CPM_RX_PN_THRESH_REACHED_INT; in mcs_rx_pn_thresh_reached_handler()
899 event.intr_mask = MCS_CPM_RX_SECTAG_V_EQ1_INT; in mcs_rx_misc_intr_handler()
901 event.intr_mask |= MCS_CPM_RX_SECTAG_E_EQ0_C_EQ1_INT; in mcs_rx_misc_intr_handler()
903 event.intr_mask |= MCS_CPM_RX_SECTAG_SL_GTE48_INT; in mcs_rx_misc_intr_handler()
905 event.intr_mask |= MCS_CPM_RX_SECTAG_ES_EQ1_SC_EQ1_INT; in mcs_rx_misc_intr_handler()
907 event.intr_mask |= MCS_CPM_RX_SECTAG_SC_EQ1_SCB_EQ1_INT; in mcs_rx_misc_intr_handler()
909 event.intr_mask |= MCS_CPM_RX_PACKET_XPN_EQ0_INT; in mcs_rx_misc_intr_handler()
924 event.intr_mask = MCS_CPM_TX_SA_NOT_VALID_INT; in mcs_tx_misc_intr_handler()
[all …]
Dmcs_cnf10kb.c164 event.intr_mask = MCS_CPM_TX_PN_THRESH_REACHED_INT; in cnf10kb_mcs_tx_pn_thresh_reached_handler()
199 event.intr_mask = MCS_CPM_TX_PACKET_XPN_EQ0_INT; in cnf10kb_mcs_tx_pn_wrapped_handler()
/linux-6.1.9/drivers/iio/adc/
Dxilinx-ams.c287 u64 intr_mask; member
315 ams->intr_mask = (ams->intr_mask & ~mask) | (val & mask); in ams_update_intrmask()
317 regval = ~(ams->intr_mask | ams->current_masked_alarm); in ams_update_intrmask()
320 regval = ~(FIELD_GET(AMS_ISR1_INTR_MASK, ams->intr_mask)); in ams_update_intrmask()
323 regval = ams->intr_mask | ams->current_masked_alarm; in ams_update_intrmask()
326 regval = FIELD_GET(AMS_ISR1_INTR_MASK, ams->intr_mask); in ams_update_intrmask()
1034 unmask |= ams->intr_mask; in ams_unmask_worker()
1039 ams->current_masked_alarm &= ~ams->intr_mask; in ams_unmask_worker()
1065 isr0 &= ~((ams->intr_mask & AMS_ISR0_ALARM_MASK) | ams->current_masked_alarm); in ams_irq()
/linux-6.1.9/drivers/phy/qualcomm/
Dphy-qcom-qusb2.c612 u32 intr_mask; in qusb2_phy_runtime_suspend() local
627 intr_mask = DPSE_INTR_EN | DMSE_INTR_EN; in qusb2_phy_runtime_suspend()
633 intr_mask |= DMSE_INTR_HIGH_SEL; in qusb2_phy_runtime_suspend()
637 intr_mask |= DPSE_INTR_HIGH_SEL; in qusb2_phy_runtime_suspend()
641 intr_mask |= DMSE_INTR_HIGH_SEL; in qusb2_phy_runtime_suspend()
642 intr_mask |= DPSE_INTR_HIGH_SEL; in qusb2_phy_runtime_suspend()
646 writel(intr_mask, qphy->base + cfg->regs[QUSB2PHY_INTR_CTRL]); in qusb2_phy_runtime_suspend()
/linux-6.1.9/drivers/gpu/drm/nouveau/nvkm/subdev/mc/
Dgk20a.c32 .intr_mask = gf100_mc_intr_mask,
Dgp10b.c40 .intr_mask = gp100_mc_intr_mask,
Dgk104.c56 .intr_mask = gf100_mc_intr_mask,
Dgt215.c68 .intr_mask = gt215_mc_intr_mask,
/linux-6.1.9/drivers/watchdog/
Dcpwd.c88 u8 intr_mask; member
210 (p->devs[index].intr_mask); in cpwd_toggleintr()
316 if (intr & p->devs[index].intr_mask) { in cpwd_getstatus()
580 p->devs[i].intr_mask = (WD0_INTR_MASK << i); in cpwd_probe()
/linux-6.1.9/drivers/usb/dwc2/
Dhcd_queue.c1694 u32 intr_mask; in dwc2_hcd_qh_add() local
1727 intr_mask = dwc2_readl(hsotg, GINTMSK); in dwc2_hcd_qh_add()
1728 intr_mask |= GINTSTS_SOF; in dwc2_hcd_qh_add()
1729 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_add()
1745 u32 intr_mask; in dwc2_hcd_qh_unlink() local
1768 intr_mask = dwc2_readl(hsotg, GINTMSK); in dwc2_hcd_qh_unlink()
1769 intr_mask &= ~GINTSTS_SOF; in dwc2_hcd_qh_unlink()
1770 dwc2_writel(hsotg, intr_mask, GINTMSK); in dwc2_hcd_qh_unlink()
/linux-6.1.9/drivers/net/ethernet/atheros/atl1c/
Datl1c_main.c192 AT_WRITE_REG(&adapter->hw, REG_IMR, adapter->hw.intr_mask); in atl1c_irq_enable()
823 hw->intr_mask = IMR_NORMAL_MASK; in atl1c_sw_init()
825 hw->intr_mask |= atl1c_qregs[i].tx_isr; in atl1c_sw_init()
827 hw->intr_mask |= atl1c_qregs[i].rx_isr; in atl1c_sw_init()
1646 adapter->hw.intr_mask |= atl1c_qregs[tpd_ring->num].tx_isr; in atl1c_clean_tx()
1647 AT_WRITE_REG(&adapter->hw, REG_IMR, adapter->hw.intr_mask); in atl1c_clean_tx()
1657 u32 intr_mask; in atl1c_intr_rx_tx() local
1661 intr_mask = hw->intr_mask; in atl1c_intr_rx_tx()
1666 intr_mask &= ~atl1c_qregs[i].rx_isr; in atl1c_intr_rx_tx()
1674 intr_mask &= ~atl1c_qregs[i].tx_isr; in atl1c_intr_rx_tx()
[all …]

1234