Home
last modified time | relevance | path

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

12

/linux-5.19.10/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.c286 u32 irq_idx, struct dpu_encoder_wait_info *info);
290 void (*func)(void *arg, int irq_idx), in dpu_encoder_helper_wait_for_irq() argument
1458 u32 irq_idx, in dpu_encoder_helper_wait_event_timeout() argument
1471 trace_dpu_enc_wait_event_timeout(drm_id, irq_idx, rc, time, in dpu_encoder_helper_wait_event_timeout()
Ddpu_encoder_phys_wb.c391 static void dpu_encoder_phys_wb_done_irq(void *arg, int irq_idx) in dpu_encoder_phys_wb_done_irq() argument
/linux-5.19.10/drivers/net/wireless/ath/ath11k/
Dpcic.c261 int i, irq_idx; in ath11k_pcic_free_irq() local
266 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + i; in ath11k_pcic_free_irq()
267 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq()
276 u32 irq_idx; in ath11k_pcic_ce_irq_enable() local
284 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable()
285 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable()
290 u32 irq_idx; in ath11k_pcic_ce_irq_disable() local
298 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable()
299 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable()
318 int irq_idx; in ath11k_pcic_sync_ce_irqs() local
[all …]
Dahb.c298 int irq_idx; in ath11k_ahb_sync_ce_irqs() local
304 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_sync_ce_irqs()
305 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs()
312 int irq_idx; in ath11k_ahb_sync_ext_irqs() local
318 irq_idx = irq_grp->irqs[j]; in ath11k_ahb_sync_ext_irqs()
319 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs()
456 int irq_idx; in ath11k_ahb_free_irq() local
465 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_free_irq()
466 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq()
592 int irq_idx = irq_grp->irqs[j]; in ath11k_ahb_config_ext_irq() local
[all …]
/linux-5.19.10/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-5.19.10/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()
67 inst->irq_idx, ret); in smi_get_irq()
/linux-5.19.10/drivers/net/ethernet/fungible/funeth/
Dfuneth_tx.c644 unsigned int irq_idx, ndesc = q->mask + 1; in fun_txq_create_dev() local
651 irq_idx = irq ? irq->irq_idx : 0; in fun_txq_create_dev()
658 irq_idx, 0, fp->fdev->kern_end_qid, 0, in fun_txq_create_dev()
679 irq ? "Tx" : "XDP", q->qidx, ndesc, q->hw_qid, irq_idx, in fun_txq_create_dev()
702 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.h219 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-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/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.h640 void fec_ptp_init(struct platform_device *pdev, int irq_idx);
/linux-5.19.10/drivers/net/ethernet/amazon/ena/
Dena_netdev.c649 int irq_idx = ENA_IO_IRQ_IDX(i); in ena_init_rx_cpu_rmap() local
652 pci_irq_vector(adapter->pdev, irq_idx)); in ena_init_rx_cpu_rmap()
2109 int irq_idx, i, cpu; in ena_setup_io_intr() local
2116 irq_idx = ENA_IO_IRQ_IDX(i); in ena_setup_io_intr()
2119 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr()
2121 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr()
2122 adapter->irq_tbl[irq_idx].data = &adapter->ena_napi[i]; in ena_setup_io_intr()
2123 adapter->irq_tbl[irq_idx].vector = in ena_setup_io_intr()
2124 pci_irq_vector(adapter->pdev, irq_idx); in ena_setup_io_intr()
2125 adapter->irq_tbl[irq_idx].cpu = cpu; in ena_setup_io_intr()
[all …]
/linux-5.19.10/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_main.c3361 enum request_irq_err irq_err, int irq_idx) in stmmac_free_irq() argument
3368 irq_idx = priv->plat->tx_queues_to_use; in stmmac_free_irq()
3371 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq()
3377 irq_idx = priv->plat->rx_queues_to_use; in stmmac_free_irq()
3380 for (j = irq_idx - 1; j >= 0; j--) { in stmmac_free_irq()
3417 int irq_idx = 0; in stmmac_request_irq_multi_msi() local
3524 irq_idx = i; in stmmac_request_irq_multi_msi()
3549 irq_idx = i; in stmmac_request_irq_multi_msi()
3560 stmmac_free_irq(dev, irq_err, irq_idx); in stmmac_request_irq_multi_msi()

12