/linux-6.12.1/drivers/gpu/drm/msm/disp/dpu1/ |
D | dpu_hw_interrupts.c | 202 #define DPU_IRQ_MASK(irq_idx) (BIT(DPU_IRQ_BIT(irq_idx))) argument 204 static inline bool dpu_core_irq_is_valid(unsigned int irq_idx) in dpu_core_irq_is_valid() argument 206 return irq_idx && irq_idx <= DPU_NUM_IRQS; in dpu_core_irq_is_valid() 210 unsigned int irq_idx) in dpu_core_irq_get_entry() argument 212 return &intr->irq_tbl[irq_idx - 1]; in dpu_core_irq_get_entry() 220 static void dpu_core_irq_callback_handler(struct dpu_kms *dpu_kms, unsigned int irq_idx) in dpu_core_irq_callback_handler() argument 222 struct dpu_hw_intr_entry *irq_entry = dpu_core_irq_get_entry(dpu_kms->hw_intr, irq_idx); in dpu_core_irq_callback_handler() 224 VERB("IRQ=[%d, %d]\n", DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_core_irq_callback_handler() 228 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_core_irq_callback_handler() 245 unsigned int irq_idx; in dpu_core_irq() local [all …]
|
D | dpu_hw_interrupts.h | 40 #define DPU_IRQ_REG(irq_idx) ((irq_idx - 1) / 32) argument 41 #define DPU_IRQ_BIT(irq_idx) ((irq_idx - 1) % 32) argument
|
D | dpu_core_irq.h | 40 unsigned int irq_idx); 55 unsigned int irq_idx, 70 unsigned int irq_idx);
|
D | dpu_encoder.c | 403 u32 irq_idx, struct dpu_encoder_wait_info *info); 406 unsigned int irq_idx, in dpu_encoder_helper_wait_for_irq() argument 423 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx)); in dpu_encoder_helper_wait_for_irq() 427 if (irq_idx == 0) { in dpu_encoder_helper_wait_for_irq() 435 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), phys_enc->hw_pp->idx - PINGPONG_0, in dpu_encoder_helper_wait_for_irq() 440 irq_idx, in dpu_encoder_helper_wait_for_irq() 444 irq_status = dpu_core_irq_read(phys_enc->dpu_kms, irq_idx); in dpu_encoder_helper_wait_for_irq() 449 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), in dpu_encoder_helper_wait_for_irq() 460 DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), in dpu_encoder_helper_wait_for_irq() 468 func, DPU_IRQ_REG(irq_idx), DPU_IRQ_BIT(irq_idx), in dpu_encoder_helper_wait_for_irq() [all …]
|
/linux-6.12.1/drivers/net/wireless/ath/ath11k/ |
D | pcic.c | 325 int i, irq_idx; in ath11k_pcic_free_irq() local 330 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + i; in ath11k_pcic_free_irq() 331 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_pcic_free_irq() 340 u32 irq_idx; in ath11k_pcic_ce_irq_enable() local 348 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_enable() 349 enable_irq(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_enable() 354 u32 irq_idx; in ath11k_pcic_ce_irq_disable() local 362 irq_idx = ATH11K_PCI_IRQ_CE0_OFFSET + ce_id; in ath11k_pcic_ce_irq_disable() 363 disable_irq_nosync(ab->irq_num[irq_idx]); in ath11k_pcic_ce_irq_disable() 382 int irq_idx; in ath11k_pcic_sync_ce_irqs() local [all …]
|
D | ahb.c | 317 int irq_idx; in ath11k_ahb_sync_ce_irqs() local 323 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_sync_ce_irqs() 324 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ce_irqs() 331 int irq_idx; in ath11k_ahb_sync_ext_irqs() local 337 irq_idx = irq_grp->irqs[j]; in ath11k_ahb_sync_ext_irqs() 338 synchronize_irq(ab->irq_num[irq_idx]); in ath11k_ahb_sync_ext_irqs() 451 int irq_idx; in ath11k_ahb_free_irq() local 460 irq_idx = ATH11K_IRQ_CE0_OFFSET + i; in ath11k_ahb_free_irq() 461 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath11k_ahb_free_irq() 591 int irq_idx = irq_grp->irqs[j]; in ath11k_ahb_config_ext_irq() local [all …]
|
/linux-6.12.1/arch/m68k/mac/ |
D | via.c | 343 int irq_idx = IRQ_IDX(irq); in via_nubus_irq_startup() local 351 via2[vDirA] &= 0xC0 | ~(1 << irq_idx); in via_nubus_irq_startup() 354 via2[vDirA] &= 0x80 | ~(1 << irq_idx); in via_nubus_irq_startup() 501 int irq_idx = IRQ_IDX(irq); in via_irq_enable() local 504 via1[vIER] = IER_SET_BIT(irq_idx); in via_irq_enable() 507 via2[gIER] = IER_SET_BIT(irq_idx); in via_irq_enable() 512 nubus_disabled &= ~(1 << irq_idx); in via_irq_enable() 521 via2[rSIER] = IER_SET_BIT(irq_idx); in via_irq_enable() 529 int irq_idx = IRQ_IDX(irq); in via_irq_disable() local 532 via1[vIER] = IER_CLR_BIT(irq_idx); in via_irq_disable() [all …]
|
D | psc.c | 156 int irq_idx = IRQ_IDX(irq); in psc_irq_enable() local 159 psc_write_byte(pIER, (1 << irq_idx) | 0x80); in psc_irq_enable() 164 int irq_idx = IRQ_IDX(irq); in psc_irq_disable() local 167 psc_write_byte(pIER, 1 << irq_idx); in psc_irq_disable()
|
/linux-6.12.1/drivers/net/wireless/ath/ath12k/ |
D | pci.c | 359 int i, irq_idx; in ath12k_pci_free_irq() local 364 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + i; in ath12k_pci_free_irq() 365 free_irq(ab->irq_num[irq_idx], &ab->ce.ce_pipe[i]); in ath12k_pci_free_irq() 374 u32 irq_idx; in ath12k_pci_ce_irq_enable() local 382 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_enable() 383 enable_irq(ab->irq_num[irq_idx]); in ath12k_pci_ce_irq_enable() 389 u32 irq_idx; in ath12k_pci_ce_irq_disable() local 397 irq_idx = ATH12K_PCI_IRQ_CE0_OFFSET + ce_id; in ath12k_pci_ce_irq_disable() 398 disable_irq_nosync(ab->irq_num[irq_idx]); in ath12k_pci_ce_irq_disable() 417 int irq_idx; in ath12k_pci_sync_ce_irqs() local [all …]
|
/linux-6.12.1/drivers/regulator/ |
D | tps6594-regulator.c | 521 int *irq_idx) in tps6594_request_reg_irqs() argument 535 irq_data[*irq_idx].dev = tps->dev; in tps6594_request_reg_irqs() 536 irq_data[*irq_idx].type = irq_type; in tps6594_request_reg_irqs() 537 irq_data[*irq_idx].rdev = rdev; in tps6594_request_reg_irqs() 541 irq_type->irq_name, &irq_data[*irq_idx]); in tps6594_request_reg_irqs() 547 (*irq_idx)++; in tps6594_request_reg_irqs() 568 int irq_idx = 0; in tps6594_regulator_probe() local 689 interrupt_count, &irq_idx); in tps6594_regulator_probe() 695 interrupt_count, &irq_idx); in tps6594_regulator_probe() 703 &irq_idx); in tps6594_regulator_probe() [all …]
|
/linux-6.12.1/drivers/platform/cznic/ |
D | turris-omnia-mcu-trng.c | 65 u8 irq_idx, dummy; in omnia_mcu_register_trng() local 71 irq_idx = omnia_int_to_gpio_idx[__bf_shf(OMNIA_INT_TRNG)]; in omnia_mcu_register_trng() 72 irq = gpiod_to_irq(gpio_device_get_desc(mcu->gc.gpiodev, irq_idx)); in omnia_mcu_register_trng()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/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()
|
/linux-6.12.1/kernel/irq/ |
D | generic-chip.c | 509 int irq_idx; in irq_unmap_generic_chip() local 515 irq_idx = hw_irq % dgc->irqs_per_chip; in irq_unmap_generic_chip() 517 clear_bit(irq_idx, &gc->installed); in irq_unmap_generic_chip()
|
/linux-6.12.1/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()
|
/linux-6.12.1/drivers/vdpa/solidrun/ |
D | snet_vdpa.h | 47 u32 irq_idx; member
|
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() 872 snet->vqs[i]->irq_idx = psnet_get_next_irq_num(psnet); in snet_reserve_irq_idx() 875 pci_name(pdev), snet->vqs[i]->irq_idx); in snet_reserve_irq_idx()
|
/linux-6.12.1/drivers/net/ethernet/amazon/ena/ |
D | ena_netdev.c | 175 int irq_idx = ENA_IO_IRQ_IDX(i); in ena_init_rx_cpu_rmap() local 178 pci_irq_vector(adapter->pdev, irq_idx)); in ena_init_rx_cpu_rmap() 1630 int irq_idx, i, cpu; in ena_setup_io_intr() local 1637 irq_idx = ENA_IO_IRQ_IDX(i); in ena_setup_io_intr() 1640 snprintf(adapter->irq_tbl[irq_idx].name, ENA_IRQNAME_SIZE, in ena_setup_io_intr() 1642 adapter->irq_tbl[irq_idx].handler = ena_intr_msix_io; in ena_setup_io_intr() 1643 adapter->irq_tbl[irq_idx].data = &adapter->ena_napi[i]; in ena_setup_io_intr() 1644 adapter->irq_tbl[irq_idx].vector = in ena_setup_io_intr() 1645 pci_irq_vector(adapter->pdev, irq_idx); in ena_setup_io_intr() 1646 adapter->irq_tbl[irq_idx].cpu = cpu; in ena_setup_io_intr() [all …]
|
/linux-6.12.1/drivers/net/ethernet/freescale/ |
D | fec_ptp.c | 706 void fec_ptp_init(struct platform_device *pdev, int irq_idx) in fec_ptp_init() argument 746 irq = platform_get_irq_optional(pdev, irq_idx); in fec_ptp_init()
|
D | fec.h | 704 void fec_ptp_init(struct platform_device *pdev, int irq_idx);
|