Home
last modified time | relevance | path

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

123

/linux-6.3-rc2/drivers/scsi/qla4xxx/
A 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()
A Dql4_dbg.c65 (uint8_t) offsetof(struct isp_reg, u1.isp4022.intr_mask), in qla4xxx_dump_registers()
66 readw(&ha->reg->u1.isp4022.intr_mask)); in qla4xxx_dump_registers()
/linux-6.3-rc2/drivers/irqchip/
A 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.3-rc2/drivers/net/ethernet/marvell/octeon_ep/
A 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()
574 octep_write_csr64(oct, CN93_SDP_EPF_MISC_RINT_ENA_W1C, intr_mask); in octep_disable_interrupts_cn93_pf()
[all …]
/linux-6.3-rc2/drivers/i2c/busses/
A 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()
A Di2c-designware-master.c367 u32 intr_mask; in i2c_dw_xfer_msg() local
375 intr_mask = DW_IC_INTR_MASTER_MASK; in i2c_dw_xfer_msg()
475 intr_mask &= ~DW_IC_INTR_TX_EMPTY; in i2c_dw_xfer_msg()
478 intr_mask = 0; in i2c_dw_xfer_msg()
480 regmap_write(dev->map, DW_IC_INTR_MASK, intr_mask); in i2c_dw_xfer_msg()
/linux-6.3-rc2/drivers/scsi/bfa/
A 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()
A 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.3-rc2/drivers/soc/qcom/
A 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.3-rc2/drivers/spi/
A 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.3-rc2/drivers/net/ethernet/silan/
A 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.3-rc2/drivers/soundwire/
A Dqcom.c168 u32 intr_mask; member
565 intr_sts_masked = intr_sts & swrm->intr_mask; in qcom_swrm_irq_handler()
601 swrm->intr_mask &= ~SWRM_INTERRUPT_STATUS_MASTER_CLASH_DET; in qcom_swrm_irq_handler()
636 SWRM_INTERRUPT_CPU_EN, swrm->intr_mask); in qcom_swrm_irq_handler()
642 swrm->intr_mask &= in qcom_swrm_irq_handler()
645 SWRM_INTERRUPT_CPU_EN, swrm->intr_mask); in qcom_swrm_irq_handler()
666 intr_sts_masked = intr_sts & swrm->intr_mask; in qcom_swrm_irq_handler()
688 ctrl->intr_mask = SWRM_INTERRUPT_STATUS_RMSK; in qcom_swrm_init()
1540 ctrl->intr_mask |= SWRM_INTERRUPT_STATUS_MASTER_CLASH_DET;
1542 ctrl->reg_write(ctrl, SWRM_INTERRUPT_CPU_EN, ctrl->intr_mask);
[all …]
/linux-6.3-rc2/drivers/gpu/drm/nouveau/nvkm/subdev/gpio/
A Dbase.c115 gpio->func->intr_mask(gpio, type, 1 << index, 0); in nvkm_gpio_intr_fini()
122 gpio->func->intr_mask(gpio, type, 1 << index, 1 << index); in nvkm_gpio_intr_init()
152 gpio->func->intr_mask(gpio, NVKM_GPIO_TOGGLED, mask, 0); in nvkm_gpio_fini()
A Dpriv.h19 void (*intr_mask)(struct nvkm_gpio *, u32, u32, u32); member
/linux-6.3-rc2/drivers/gpio/
A 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.3-rc2/drivers/net/ethernet/marvell/octeontx2/af/
A 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()
A 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()
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()
948 event.intr_mask = (dir == MCS_RX) ? in mcs_bbe_intr_handler()
[all …]
A 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.3-rc2/drivers/iio/adc/
A 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.3-rc2/drivers/phy/qualcomm/
A 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.3-rc2/drivers/watchdog/
A 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.3-rc2/drivers/usb/dwc2/
A 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.3-rc2/drivers/net/ethernet/atheros/atl1c/
A Datl1c_main.c823 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()
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()
1679 if (hw->intr_mask != intr_mask) { in atl1c_intr_rx_tx()
1680 hw->intr_mask = intr_mask; in atl1c_intr_rx_tx()
1681 AT_WRITE_REG(hw, REG_IMR, hw->intr_mask); in atl1c_intr_rx_tx()
[all …]
/linux-6.3-rc2/drivers/uio/
A Duio_pruss.c72 int val, intr_mask = (1 << intr_bit); in pruss_handler() local
80 if (!(val & intr_mask) && (ioread32(intrstat_reg) & HIPIR_NOPEND)) in pruss_handler()
/linux-6.3-rc2/drivers/scsi/
A Dmesh.h45 unsigned char intr_mask; member

Completed in 58 milliseconds

123