Home
last modified time | relevance | path

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

/Linux-v5.10/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.h143 struct ionic_intr __iomem *intr_ctrl; member
265 ionic_intr_clean(idev->intr_ctrl, index); in ionic_intr_init()
Dionic_txrx.c432 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_dim_update()
467 ionic_intr_credits(idev->intr_ctrl, in ionic_tx_napi()
503 ionic_intr_credits(idev->intr_ctrl, in ionic_rx_napi()
545 ionic_intr_credits(idev->intr_ctrl, rxcq->bound_intr->index, in ionic_txrx_napi()
671 ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, in ionic_tx_flush()
Dionic_lif.c259 ionic_intr_clean(idev->intr_ctrl, qcq->intr.index); in ionic_qcq_enable()
260 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_enable()
291 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_disable()
322 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_lif_qcq_deinit()
447 ionic_intr_mask_assert(lif->ionic->idev.intr_ctrl, qcq->intr.index, in ionic_alloc_qcq_interrupt()
898 ionic_intr_credits(idev->intr_ctrl, in ionic_adminq_napi()
1714 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
1735 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
2305 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_reconfigure_queues()
2312 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_reconfigure_queues()
[all …]
Dionic_debugfs.c201 intr_ctrl_regset->base = &idev->intr_ctrl[intr->index]; in ionic_debugfs_add_qcq()
Dionic_ethtool.c491 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
498 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
Dionic_dev.c75 idev->intr_ctrl = bar->vaddr + IONIC_BAR0_INTR_CTRL_OFFSET; in ionic_dev_setup()
/Linux-v5.10/drivers/staging/comedi/drivers/
Ddas16m1.c99 unsigned int intr_ctrl; member
267 devpriv->intr_ctrl &= ~DAS16M1_INTR_CTRL_PACER_MASK; in das16m1_ai_cmd()
271 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_PACER_INT; in das16m1_ai_cmd()
273 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_PACER_EXT; in das16m1_ai_cmd()
290 devpriv->intr_ctrl |= DAS16M1_INTR_CTRL_INTE; in das16m1_ai_cmd()
291 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_ai_cmd()
302 devpriv->intr_ctrl &= ~(DAS16M1_INTR_CTRL_INTE | in das16m1_ai_cancel()
304 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_ai_cancel()
594 devpriv->intr_ctrl = DAS16M1_INTR_CTRL_IRQ(das16m1_irq_bits(dev->irq)); in das16m1_attach()
595 outb(devpriv->intr_ctrl, dev->iobase + DAS16M1_INTR_CTRL_REG); in das16m1_attach()
/Linux-v5.10/arch/powerpc/platforms/52xx/
Dmpc52xx_pic.c404 u32 intr_ctrl; in mpc52xx_init_irq() local
429 intr_ctrl = in_be32(&intr->ctrl); in mpc52xx_init_irq()
430 intr_ctrl &= 0x00ff0000; /* Keeps IRQ[0-3] config */ in mpc52xx_init_irq()
431 intr_ctrl |= 0x0f000000 | /* clear IRQ 0-3 */ in mpc52xx_init_irq()
435 out_be32(&intr->ctrl, intr_ctrl); in mpc52xx_init_irq()