Home
last modified time | relevance | path

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

/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.h152 struct ionic_intr __iomem *intr_ctrl; member
285 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()
280 ionic_intr_clean(idev->intr_ctrl, qcq->intr.index); in ionic_qcq_enable()
292 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_enable()
323 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_disable()
354 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_lif_qcq_deinit()
481 ionic_intr_mask_assert(lif->ionic->idev.intr_ctrl, qcq->intr.index, in ionic_alloc_qcq_interrupt()
1189 ionic_intr_credits(idev->intr_ctrl, intr->index, credits, flags); in ionic_adminq_napi()
2137 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
2166 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc()
2812 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_reconfigure_queues()
[all …]
Dionic_txrx.c518 ionic_intr_credits(idev->intr_ctrl, in ionic_tx_napi()
553 ionic_intr_credits(idev->intr_ctrl, in ionic_rx_napi()
595 ionic_intr_credits(idev->intr_ctrl, rxcq->bound_intr->index, in ionic_txrx_napi()
797 ionic_intr_credits(idev->intr_ctrl, cq->bound_intr->index, in ionic_tx_flush()
Dionic_debugfs.c201 intr_ctrl_regset->base = &idev->intr_ctrl[intr->index]; in ionic_debugfs_add_qcq()
Dionic_ethtool.c511 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
518 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
Dionic_dev.c93 idev->intr_ctrl = bar->vaddr + IONIC_BAR0_INTR_CTRL_OFFSET; in ionic_dev_setup()
/drivers/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()