/linux-6.12.1/include/linux/pds/ |
D | pds_intr.h | 117 pds_core_intr_coal_init(struct pds_core_intr __iomem *intr_ctrl, u32 coal) in pds_core_intr_coal_init() argument 119 iowrite32(coal, &intr_ctrl->coal_init); in pds_core_intr_coal_init() 123 pds_core_intr_mask(struct pds_core_intr __iomem *intr_ctrl, u32 mask) in pds_core_intr_mask() argument 125 iowrite32(mask, &intr_ctrl->mask); in pds_core_intr_mask() 129 pds_core_intr_credits(struct pds_core_intr __iomem *intr_ctrl, in pds_core_intr_credits() argument 133 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_credits() 137 iowrite32(cred | flags, &intr_ctrl->credits); in pds_core_intr_credits() 141 pds_core_intr_clean_flags(struct pds_core_intr __iomem *intr_ctrl, u32 flags) in pds_core_intr_clean_flags() argument 145 cred = ioread32(&intr_ctrl->credits); in pds_core_intr_clean_flags() 148 iowrite32(cred, &intr_ctrl->credits); in pds_core_intr_clean_flags() [all …]
|
/linux-6.12.1/drivers/net/ethernet/pensando/ionic/ |
D | ionic_regs.h | 53 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 …]
|
D | ionic_dev.h | 165 struct ionic_intr __iomem *intr_ctrl; member 308 ionic_intr_clean(idev->intr_ctrl, index); in ionic_intr_init()
|
D | ionic_lif.c | 78 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_dim_work() 308 ionic_intr_clean(idev->intr_ctrl, qcq->intr.index); in ionic_qcq_enable() 320 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_enable() 352 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_qcq_disable() 387 ionic_intr_mask(idev->intr_ctrl, qcq->intr.index, in ionic_lif_qcq_deinit() 520 ionic_intr_mask_assert(lif->ionic->idev.intr_ctrl, qcq->intr.index, in ionic_alloc_qcq_interrupt() 1254 ionic_intr_credits(idev->intr_ctrl, intr->index, credits, flags); in ionic_adminq_napi() 2091 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc() 2125 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_txrx_alloc() 3094 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_reconfigure_queues() [all …]
|
D | ionic_txrx.c | 954 ionic_intr_credits(cq->idev->intr_ctrl, in ionic_tx_napi() 1019 ionic_intr_credits(cq->idev->intr_ctrl, in ionic_rx_napi() 1061 ionic_intr_credits(rxcq->idev->intr_ctrl, rxcq->bound_intr->index, in ionic_txrx_napi() 1309 ionic_intr_credits(cq->idev->intr_ctrl, cq->bound_intr->index, in ionic_tx_flush()
|
D | ionic_debugfs.c | 199 intr_ctrl_regset->base = &idev->intr_ctrl[intr->index]; in ionic_debugfs_add_qcq()
|
D | ionic_bus_pci.c | 223 ionic->idev.intr_ctrl = NULL; in ionic_clear_pci()
|
D | ionic_ethtool.c | 512 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce() 519 ionic_intr_coal_init(lif->ionic->idev.intr_ctrl, in ionic_set_coalesce()
|
D | ionic_dev.c | 227 idev->intr_ctrl = bar->vaddr + IONIC_BAR0_INTR_CTRL_OFFSET; in ionic_dev_setup()
|
/linux-6.12.1/drivers/comedi/drivers/ |
D | das16m1.c | 98 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() 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-6.12.1/arch/powerpc/platforms/52xx/ |
D | mpc52xx_pic.c | 405 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()
|
/linux-6.12.1/drivers/net/ethernet/amd/pds_core/ |
D | core.c | 43 pds_core_intr_mask(&pdsc->intr_ctrl[index], PDS_CORE_INTR_MASK_SET); in pdsc_intr_free() 44 pds_core_intr_clean(&pdsc->intr_ctrl[index]); in pdsc_intr_free() 68 pds_core_intr_clean_flags(&pdsc->intr_ctrl[index], in pdsc_intr_alloc() 87 pds_core_intr_clean(&pdsc->intr_ctrl[index]); in pdsc_intr_alloc() 88 pds_core_intr_mask_assert(&pdsc->intr_ctrl[index], 1); in pdsc_intr_alloc() 89 pds_core_intr_mask(&pdsc->intr_ctrl[index], PDS_CORE_INTR_MASK_SET); in pdsc_intr_alloc() 493 pds_core_intr_mask(&pdsc->intr_ctrl[pdsc->adminqcq.intx], in pdsc_start() 509 pds_core_intr_mask(&pdsc->intr_ctrl[i], in pdsc_stop()
|
D | debugfs.c | 163 intr_ctrl_regset->base = &pdsc->intr_ctrl[intr->index]; in pdsc_debugfs_add_qcq()
|
D | main.c | 43 pdsc->intr_ctrl = NULL; in pdsc_unmap_bars() 108 pdsc->intr_ctrl = bar->vaddr + PDS_CORE_BAR0_INTR_CTRL_OFFSET; in pdsc_map_bars()
|
D | core.h | 190 struct pds_core_intr __iomem *intr_ctrl; member
|
D | adminq.c | 130 pds_core_intr_credits(&pdsc->intr_ctrl[qcq->intx], in pdsc_process_adminq()
|