Home
last modified time | relevance | path

Searched refs:intr_ctrl (Results 1 – 9 of 9) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/pensando/ionic/
Dionic_regs.h53 static inline void ionic_intr_coal_init(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_coal_init() argument
56 iowrite32(coal, &intr_ctrl[intr_idx].coal_init); in ionic_intr_coal_init()
59 static inline void ionic_intr_mask(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_mask() argument
62 iowrite32(mask, &intr_ctrl[intr_idx].mask); in ionic_intr_mask()
65 static inline void ionic_intr_credits(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_credits() argument
69 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_credits()
73 iowrite32(cred | flags, &intr_ctrl[intr_idx].credits); in ionic_intr_credits()
76 static inline void ionic_intr_clean(struct ionic_intr __iomem *intr_ctrl, in ionic_intr_clean() argument
81 cred = ioread32(&intr_ctrl[intr_idx].credits); in ionic_intr_clean()
84 iowrite32(cred, &intr_ctrl[intr_idx].credits); in ionic_intr_clean()
[all …]
Dionic_dev.h151 struct ionic_intr __iomem *intr_ctrl; member
279 ionic_intr_clean(idev->intr_ctrl, index); in ionic_intr_init()
Dionic_lif.c63 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_dim_work()
283 ionic_intr_clean(idev->intr_ctrl, qcq->intr.index); in ionic_qcq_enable()
284 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_enable()
314 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_disable()
347 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_lif_qcq_deinit()
479 ionic_intr_mask_assert(lif->ionic->idev.intr_ctrl, qcq->intr.index, in ionic_alloc_qcq_interrupt()
1187 ionic_intr_credits(idev->intr_ctrl, intr->index, credits, flags); in ionic_adminq_napi()
1973 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
2002 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
2745 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_reconfigure_queues()
[all …]
Dionic_txrx.c500 ionic_intr_credits(idev->intr_ctrl, in ionic_tx_napi()
537 ionic_intr_credits(idev->intr_ctrl, in ionic_rx_napi()
581 ionic_intr_credits(idev->intr_ctrl, rxcq->bound_intr->index, in ionic_txrx_napi()
789 ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, in ionic_tx_flush()
Dionic_debugfs.c199 intr_ctrl_regset->base = &idev->intr_ctrl[intr->index]; in ionic_debugfs_add_qcq()
Dionic_ethtool.c496 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
503 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
Dionic_dev.c112 idev->intr_ctrl = bar->vaddr + IONIC_BAR0_INTR_CTRL_OFFSET; in ionic_dev_setup()
/linux-6.1.9/drivers/comedi/drivers/
Ddas16m1.c98 unsigned int intr_ctrl; member
266 devpriv->intr_ctrl &= ~DAS16M1_INTR_CTRL_PACER_MASK; in das16m1_ai_cmd()
270 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_PACER_INT; in das16m1_ai_cmd()
272 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_PACER_EXT; in das16m1_ai_cmd()
289 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_INTE; in das16m1_ai_cmd()
290 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_ai_cmd()
301 devpriv->intr_ctrl &= ~(DAS16M1_INTR_CTRL_INTE | in das16m1_ai_cancel()
303 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_ai_cancel()
593 devpriv->intr_ctrl = DAS16M1_INTR_CTRL_IRQ(das16m1_irq_bits(dev->irq)); in das16m1_attach()
594 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_attach()
/linux-6.1.9/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c405 u32 intr_ctrl; in mpc52xx_init_irq() local
430 intr_ctrl = in_be32(&intr->ctrl); in mpc52xx_init_irq()
431 intr_ctrl &= 0x00ff0000; /* Keeps IRQ[0-3] config */ in mpc52xx_init_irq()
432 intr_ctrl |= 0x0f000000 | /* clear IRQ 0-3 */ in mpc52xx_init_irq()
436 out_be32(&intr->ctrl, intr_ctrl); in mpc52xx_init_irq()