Home
last modified time | relevance | path

Searched refs:irq_idx (Results 1 – 25 of 27) sorted by relevance

12

/linux-6.1.9/drivers/gpu/drm/msm/disp/dpu1/
Ddpu_hw_interrupts.c144 #define DPU_IRQ_REG(irq_idx) (irq_idx / 32) argument
145 #define DPU_IRQ_MASK(irq_idx) (BIT(irq_idx % 32)) argument
152 static void dpu_core_irq_callback_handler(struct dpu_kms *dpu_kms, int irq_idx) in dpu_core_irq_callback_handler() argument
154 VERB("irq_idx=%d\n", irq_idx); in dpu_core_irq_callback_handler()
156 if (!dpu_kms->hw_intr->irq_tbl[irq_idx].cb) in dpu_core_irq_callback_handler()
157 DRM_ERROR("no registered cb, idx:%d\n", irq_idx); in dpu_core_irq_callback_handler()
159 atomic_inc(&dpu_kms->hw_intr->irq_tbl[irq_idx].count); in dpu_core_irq_callback_handler()
164 dpu_kms->hw_intr->irq_tbl[irq_idx].cb(dpu_kms->hw_intr->irq_tbl[irq_idx].arg, irq_idx); in dpu_core_irq_callback_handler()
172 int irq_idx; in dpu_core_irq() local
207 irq_idx = DPU_IRQ_IDX(reg_idx, bit - 1); in dpu_core_irq()
[all …]
Ddpu_core_irq.h40 int irq_idx);
55 int irq_idx,
56 void (*irq_cb)(void *arg, int irq_idx),
70 int irq_idx);
Ddpu_trace.h171 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 …]
Ddpu_hw_interrupts.h58 void (*cb)(void *arg, int irq_idx);
Ddpu_encoder_phys_cmd.c74 static void dpu_encoder_phys_cmd_pp_tx_done_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_pp_tx_done_irq() argument
103 static void dpu_encoder_phys_cmd_pp_rd_ptr_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_pp_rd_ptr_irq() argument
123 static void dpu_encoder_phys_cmd_ctl_start_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_ctl_start_irq() argument
136 static void dpu_encoder_phys_cmd_underrun_irq(void *arg, int irq_idx) in dpu_encoder_phys_cmd_underrun_irq() argument
Ddpu_encoder_phys.h394 void (*func)(void *arg, int irq_idx),
Ddpu_encoder_phys_vid.c299 static void dpu_encoder_phys_vid_vblank_irq(void *arg, int irq_idx) in dpu_encoder_phys_vid_vblank_irq() argument
338 static void dpu_encoder_phys_vid_underrun_irq(void *arg, int irq_idx) in dpu_encoder_phys_vid_underrun_irq() argument
Ddpu_encoder.c350 u32 irq_idx, struct dpu_encoder_wait_info *info);
354 void (*func)(void *arg, int irq_idx), in dpu_encoder_helper_wait_for_irq() argument
1521 u32 irq_idx, in dpu_encoder_helper_wait_event_timeout() argument
1534 trace_dpu_enc_wait_event_timeout(drm_id, irq_idx, rc, time, in dpu_encoder_helper_wait_event_timeout()
/linux-6.1.9/drivers/net/wireless/ath/ath11k/
Dpcic.c306 int i, irq_idx; in ath11k_pcic_free_irq() local
311 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + i; in ath11k_pcic_free_irq()
312 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq()
321 u32 irq_idx; in ath11k_pcic_ce_irq_enable() local
329 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable()
330 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable()
335 u32 irq_idx; in ath11k_pcic_ce_irq_disable() local
343 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable()
344 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable()
363 int irq_idx; in ath11k_pcic_sync_ce_irqs() local
[all …]
Dahb.c300 int irq_idx; in ath11k_ahb_sync_ce_irqs() local
306 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_sync_ce_irqs()
307 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs()
314 int irq_idx; in ath11k_ahb_sync_ext_irqs() local
320 irq_idx = irq_grp->irqs[j]; in ath11k_ahb_sync_ext_irqs()
321 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs()
460 int irq_idx; in ath11k_ahb_free_irq() local
469 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_free_irq()
470 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq()
596 int irq_idx = irq_grp->irqs[j]; in ath11k_ahb_config_ext_irq() local
[all …]
/linux-6.1.9/arch/m68k/mac/
Dvia.c341 int irq_idx = IRQ_IDX(irq); in via_nubus_irq_startup() local
349 via2[vDirA] &= 0xC0 | ~(1 << irq_idx); in via_nubus_irq_startup()
352 via2[vDirA] &= 0x80 | ~(1 << irq_idx); in via_nubus_irq_startup()
499 int irq_idx = IRQ_IDX(irq); in via_irq_enable() local
502 via1[vIER] = IER_SET_BIT(irq_idx); in via_irq_enable()
505 via2[gIER] = IER_SET_BIT(irq_idx); in via_irq_enable()
510 nubus_disabled &= ~(1 << irq_idx); in via_irq_enable()
519 via2[rSIER] = IER_SET_BIT(irq_idx); in via_irq_enable()
527 int irq_idx = IRQ_IDX(irq); in via_irq_disable() local
530 via1[vIER] = IER_CLR_BIT(irq_idx); in via_irq_disable()
[all …]
Dpsc.c154 int irq_idx = IRQ_IDX(irq); in psc_irq_enable() local
157 psc_write_byte(pIER, (1 << irq_idx) | 0x80); in psc_irq_enable()
162 int irq_idx = IRQ_IDX(irq); in psc_irq_disable() local
165 psc_write_byte(pIER, 1 << irq_idx); in psc_irq_disable()
/linux-6.1.9/drivers/platform/x86/
Dserial-multi-instantiate.c34 int irq_idx; member
56 ret = acpi_dev_gpio_irq_get(adev, inst->irq_idx); in smi_get_irq()
59 ret = platform_get_irq(pdev, inst->irq_idx); in smi_get_irq()
66 inst->irq_idx); in smi_get_irq()
/linux-6.1.9/drivers/clocksource/
Dexynos_mct.c574 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()
/linux-6.1.9/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c684 unsigned int irq_idx, ndesc = q->mask + 1; in fun_txq_create_dev() local
691 irq_idx = irq ? irq->irq_idx : 0; in fun_txq_create_dev()
698 irq_idx, 0, fp->fdev->kern_end_qid, 0, in fun_txq_create_dev()
719 irq ? "Tx" : "XDP", q->qidx, ndesc, q->hw_qid, irq_idx, in fun_txq_create_dev()
742 q->irq ? q->irq->irq_idx : 0, q->ethid); in fun_txq_free_dev()
Dfuneth_rx.c740 irq->irq_idx, 0, fp->fdev->kern_end_qid, in fun_rxq_create_dev()
751 q->qidx, ncqe, nrqe, q->hw_cqid, q->hw_sqid, irq->irq_idx, in fun_rxq_create_dev()
777 q->qidx, q->hw_cqid, q->hw_sqid, irq->irq_idx); in fun_rxq_free_dev()
Dfuneth_txrx.h220 u16 irq_idx; /* index of MSI-X interrupt */ member
Dfuneth_main.c262 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()
/linux-6.1.9/drivers/ntb/test/
Dntb_msi_test.c25 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()
/linux-6.1.9/kernel/irq/
Dgeneric-chip.c440 int irq_idx; in irq_unmap_generic_chip() local
446 irq_idx = hw_irq % dgc->irqs_per_chip; in irq_unmap_generic_chip()
448 clear_bit(irq_idx, &gc->installed); in irq_unmap_generic_chip()
/linux-6.1.9/drivers/net/ethernet/hisilicon/hns/
Dhns_dsaf_rcb.c447 bool irq_idx, is_ver1; in hns_rcb_ring_get_cfg() local
454 irq_idx = HNS_RCB_IRQ_IDX_RX; in hns_rcb_ring_get_cfg()
460 irq_idx = HNS_RCB_IRQ_IDX_TX; in hns_rcb_ring_get_cfg()
471 ring->irq = ring_pair_cb->virq[irq_idx]; in hns_rcb_ring_get_cfg()
/linux-6.1.9/drivers/net/ethernet/freescale/
Dfec_ptp.c573 void fec_ptp_init(struct platform_device *pdev, int irq_idx) in fec_ptp_init() argument
610 irq = platform_get_irq_optional(pdev, irq_idx); in fec_ptp_init()
Dfec.h667 void fec_ptp_init(struct platform_device *pdev, int irq_idx);
/linux-6.1.9/drivers/net/ethernet/amazon/ena/
Dena_netdev.c657 int irq_idx = ENA_IO_IRQ_IDX(i); in ena_init_rx_cpu_rmap() local
660 pci_irq_vector(adapter->pdev, irq_idx)); in ena_init_rx_cpu_rmap()
2128 int irq_idx, i, cpu; in ena_setup_io_intr() local
2135 irq_idx = ENA_IO_IRQ_IDX(i); in ena_setup_io_intr()
2138 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr()
2140 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr()
2141 adapter->irq_tbl[irq_idx].data = &adapter->ena_napi[i]; in ena_setup_io_intr()
2142 adapter->irq_tbl[irq_idx].vector = in ena_setup_io_intr()
2143 pci_irq_vector(adapter->pdev, irq_idx); in ena_setup_io_intr()
2144 adapter->irq_tbl[irq_idx].cpu = cpu; in ena_setup_io_intr()
[all …]
/linux-6.1.9/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c3431 enum request_irq_err irq_err, int irq_idx) in stmmac_free_irq() argument
3438 irq_idx = priv->plat->tx_queues_to_use; in stmmac_free_irq()
3441 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq()
3447 irq_idx = priv->plat->rx_queues_to_use; in stmmac_free_irq()
3450 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq()
3487 int irq_idx = 0; in stmmac_request_irq_multi_msi() local
3594 irq_idx = i; in stmmac_request_irq_multi_msi()
3619 irq_idx = i; in stmmac_request_irq_multi_msi()
3630 stmmac_free_irq(dev, irq_err, irq_idx); in stmmac_request_irq_multi_msi()

12