/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_interrupts.c | 200 #define DPU_IRQ_MASK(irq_idx) (BIT(DPU_IRQ_BIT(irq_idx))) argument 202 static inline bool dpu_core_irq_is_valid(int irq_idx) in dpu_core_irq_is_valid() argument 204 return irq_idx >= 0 && irq_idx < DPU_NUM_IRQS; in dpu_core_irq_is_valid() 208 int irq_idx) in dpu_core_irq_get_entry() argument 210 return &intr->irq_tbl[irq_idx]; in dpu_core_irq_get_entry() 218 static void dpu_core_irq_callback_handler(struct dpu_kms *dpu_kms, int irq_idx) in dpu_core_irq_callback_handler() argument 220 struct dpu_hw_intr_entry *irq_entry = dpu_core_irq_get_entry(dpu_kms->hw_intr, irq_idx); in dpu_core_irq_callback_handler() 222 VERB("IRQ=[%d, %d]\n", DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_core_irq_callback_handler() 226 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_core_irq_callback_handler() 243 int irq_idx; in dpu_core_irq() local [all …]
|
D | dpu_trace.h | 171 TP_PROTO(int irq_idx), 172 TP_ARGS(irq_idx), 174 __field( int, irq_idx ) 177 __entry->irq_idx = irq_idx; 179 TP_printk("irq=%d", __entry->irq_idx) 182 TP_PROTO(int irq_idx), 183 TP_ARGS(irq_idx) 186 TP_PROTO(int irq_idx), 187 TP_ARGS(irq_idx) 192 int irq_idx, enum dpu_pingpong pp_idx, int atomic_cnt), [all …]
|
D | dpu_hw_interrupts.h | 40 #define DPU_IRQ_REG(irq_idx) (irq_idx / 32) argument 41 #define DPU_IRQ_BIT(irq_idx) (irq_idx % 32) argument
|
D | dpu_core_irq.h | 40 int irq_idx); 55 int irq_idx, 70 int irq_idx);
|
D | dpu_encoder.c | 360 u32 irq_idx, struct dpu_encoder_wait_info *info); 363 int irq_idx, in dpu_encoder_helper_wait_for_irq() argument 380 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_encoder_helper_wait_for_irq() 384 if (irq_idx < 0) { in dpu_encoder_helper_wait_for_irq() 392 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), phys_enc->hw_pp->idx - PINGPONG_0, in dpu_encoder_helper_wait_for_irq() 397 irq_idx, in dpu_encoder_helper_wait_for_irq() 401 irq_status = dpu_core_irq_read(phys_enc->dpu_kms, irq_idx); in dpu_encoder_helper_wait_for_irq() 406 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), in dpu_encoder_helper_wait_for_irq() 417 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), in dpu_encoder_helper_wait_for_irq() 425 func, irq_idx, in dpu_encoder_helper_wait_for_irq() [all …]
|
/drivers/net/wireless/ath/ath11k/ |
D | pcic.c | 313 int i, irq_idx; in ath11k_pcic_free_irq() local 318 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + i; in ath11k_pcic_free_irq() 319 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq() 328 u32 irq_idx; in ath11k_pcic_ce_irq_enable() local 336 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable() 337 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable() 342 u32 irq_idx; in ath11k_pcic_ce_irq_disable() local 350 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable() 351 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable() 370 int irq_idx; in ath11k_pcic_sync_ce_irqs() local [all …]
|
D | ahb.c | 316 int irq_idx; in ath11k_ahb_sync_ce_irqs() local 322 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_sync_ce_irqs() 323 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs() 330 int irq_idx; in ath11k_ahb_sync_ext_irqs() local 336 irq_idx = irq_grp->irqs[j]; in ath11k_ahb_sync_ext_irqs() 337 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs() 449 int irq_idx; in ath11k_ahb_free_irq() local 458 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_free_irq() 459 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 585 int irq_idx = irq_grp->irqs[j]; in ath11k_ahb_config_ext_irq() local [all …]
|
/drivers/regulator/ |
D | tps6594-regulator.c | 373 int *irq_idx) in tps6594_request_reg_irqs() argument 387 irq_data[*irq_idx].dev = tps->dev; in tps6594_request_reg_irqs() 388 irq_data[*irq_idx].type = irq_type; in tps6594_request_reg_irqs() 389 irq_data[*irq_idx].rdev = rdev; in tps6594_request_reg_irqs() 393 irq_type->irq_name, &irq_data[*irq_idx]); in tps6594_request_reg_irqs() 399 (*irq_idx)++; in tps6594_request_reg_irqs() 419 int irq_idx = 0; in tps6594_regulator_probe() local 512 tps6594_bucks_irq_types[buck_idx], &irq_idx); in tps6594_regulator_probe() 516 tps6594_bucks_irq_types[buck_idx + 1], &irq_idx); in tps6594_regulator_probe() 523 &irq_idx); in tps6594_regulator_probe() [all …]
|
/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 344 int i, irq_idx; in ath12k_pci_free_irq() local 349 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + i; in ath12k_pci_free_irq() 350 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath12k_pci_free_irq() 358 u32 irq_idx; in ath12k_pci_ce_irq_enable() local 360 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_enable() 361 enable_irq(ab->irq_num[irq_idx]); in ath12k_pci_ce_irq_enable() 366 u32 irq_idx; in ath12k_pci_ce_irq_disable() local 368 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_disable() 369 disable_irq_nosync(ab->irq_num[irq_idx]); in ath12k_pci_ce_irq_disable() 388 int irq_idx; in ath12k_pci_sync_ce_irqs() local [all …]
|
/drivers/platform/x86/ |
D | serial-multi-instantiate.c | 35 int irq_idx; member 57 ret = acpi_dev_gpio_irq_get(adev, inst->irq_idx); in smi_get_irq() 62 ret = platform_get_irq(pdev, inst->irq_idx); in smi_get_irq() 69 ret = acpi_dev_gpio_irq_get(adev, inst->irq_idx); in smi_get_irq() 72 ret = platform_get_irq(pdev, inst->irq_idx); in smi_get_irq() 79 inst->irq_idx); in smi_get_irq()
|
/drivers/net/ethernet/fungible/funeth/ |
D | funeth_tx.c | 683 unsigned int irq_idx, ndesc = q->mask + 1; in fun_txq_create_dev() local 690 irq_idx = irq ? irq->irq_idx : 0; in fun_txq_create_dev() 697 irq_idx, 0, fp->fdev->kern_end_qid, 0, in fun_txq_create_dev() 718 irq ? "Tx" : "XDP", q->qidx, ndesc, q->hw_qid, irq_idx, in fun_txq_create_dev() 741 q->irq ? q->irq->irq_idx : 0, q->ethid); in fun_txq_free_dev()
|
D | funeth_rx.c | 739 irq->irq_idx, 0, fp->fdev->kern_end_qid, in fun_rxq_create_dev() 750 q->qidx, ncqe, nrqe, q->hw_cqid, q->hw_sqid, irq->irq_idx, in fun_rxq_create_dev() 776 q->qidx, q->hw_cqid, q->hw_sqid, irq->irq_idx); in fun_rxq_free_dev()
|
D | funeth_txrx.h | 221 u16 irq_idx; /* index of MSI-X interrupt */ member
|
D | funeth_main.c | 262 res = fun_reserve_irqs(fp->fdev, 1, &irq->irq_idx); in fun_alloc_qirq() 270 irq->irq = pci_irq_vector(fp->pdev, irq->irq_idx); in fun_alloc_qirq() 278 fun_release_irqs(fp->fdev, 1, &irq->irq_idx); in fun_alloc_qirq() 287 fun_release_irqs(fp->fdev, 1, &irq->irq_idx); in fun_free_qirq()
|
/drivers/clocksource/ |
D | exynos_mct.c | 574 unsigned int irq_idx; in exynos4_timer_interrupts() local 583 irq_idx = MCT_L0_IRQ + local_idx[cpu]; in exynos4_timer_interrupts() 586 if (irq_idx >= ARRAY_SIZE(mct_irqs)) in exynos4_timer_interrupts() 588 mct_irq = mct_irqs[irq_idx]; in exynos4_timer_interrupts()
|
/drivers/ntb/test/ |
D | ntb_msi_test.c | 25 int irq_idx; member 49 isr_ctx->irq_idx); in ntb_msit_isr() 73 nm->isr_ctx[i].irq_idx = i; in ntb_msit_setup_work()
|
/drivers/net/ethernet/hisilicon/hns/ |
D | hns_dsaf_rcb.c | 443 bool irq_idx, is_ver1; in hns_rcb_ring_get_cfg() local 450 irq_idx = HNS_RCB_IRQ_IDX_RX; in hns_rcb_ring_get_cfg() 456 irq_idx = HNS_RCB_IRQ_IDX_TX; in hns_rcb_ring_get_cfg() 467 ring->irq = ring_pair_cb->virq[irq_idx]; in hns_rcb_ring_get_cfg()
|
/drivers/vdpa/solidrun/ |
D | snet_main.c | 366 snet_write32(snet, off, snet->vqs[i]->irq_idx); in snet_write_conf() 416 irq = pci_irq_vector(pdev, snet->vqs[i]->irq_idx); in snet_request_irqs() 866 snet->vqs[i]->irq_idx = psnet_get_next_irq_num(psnet); in snet_reserve_irq_idx() 869 pci_name(pdev), snet->vqs[i]->irq_idx); in snet_reserve_irq_idx()
|
D | snet_vdpa.h | 47 u32 irq_idx; member
|
/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 149 int irq_idx = ENA_IO_IRQ_IDX(i); in ena_init_rx_cpu_rmap() local 152 pci_irq_vector(adapter->pdev, irq_idx)); in ena_init_rx_cpu_rmap() 1604 int irq_idx, i, cpu; in ena_setup_io_intr() local 1611 irq_idx = ENA_IO_IRQ_IDX(i); in ena_setup_io_intr() 1614 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr() 1616 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr() 1617 adapter->irq_tbl[irq_idx].data = &adapter->ena_napi[i]; in ena_setup_io_intr() 1618 adapter->irq_tbl[irq_idx].vector = in ena_setup_io_intr() 1619 pci_irq_vector(adapter->pdev, irq_idx); in ena_setup_io_intr() 1620 adapter->irq_tbl[irq_idx].cpu = cpu; in ena_setup_io_intr() [all …]
|
/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 712 void fec_ptp_init(struct platform_device *pdev, int irq_idx) in fec_ptp_init() argument 752 irq = platform_get_irq_optional(pdev, irq_idx); in fec_ptp_init()
|
D | fec.h | 697 void fec_ptp_init(struct platform_device *pdev, int irq_idx);
|
/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_main.c | 3458 enum request_irq_err irq_err, int irq_idx) in stmmac_free_irq() argument 3465 irq_idx = priv->plat->tx_queues_to_use; in stmmac_free_irq() 3468 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq() 3474 irq_idx = priv->plat->rx_queues_to_use; in stmmac_free_irq() 3477 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq() 3514 int irq_idx = 0; in stmmac_request_irq_multi_msi() local 3622 irq_idx = i; in stmmac_request_irq_multi_msi() 3647 irq_idx = i; in stmmac_request_irq_multi_msi() 3658 stmmac_free_irq(dev, irq_err, irq_idx); in stmmac_request_irq_multi_msi()
|
/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 655 int i, j, err, irq_idx = 0, qset_idx = 0; in setup_sge_qsets() local 659 irq_idx = -1; in setup_sge_qsets() 669 irq_idx, in setup_sge_qsets()
|