Home
last modified time | relevance | path

Searched refs:msi_num (Results 1 – 5 of 5) sorted by relevance

/Linux-v6.1/arch/sparc/kernel/
Dpci_msi.c99 for (i = 0; i < pbm->msi_num; i++) { in alloc_msi()
107 static void free_msi(struct pci_pbm_info *pbm, int msi_num) in free_msi() argument
109 msi_num -= pbm->msi_first; in free_msi()
110 clear_bit(msi_num, pbm->msi_bitmap); in free_msi()
186 unsigned int msi_num; in sparc64_teardown_msi_irq() local
189 for (i = 0; i < pbm->msi_num; i++) { in sparc64_teardown_msi_irq()
193 if (i >= pbm->msi_num) { in sparc64_teardown_msi_irq()
199 msi_num = pbm->msi_first + i; in sparc64_teardown_msi_irq()
202 err = ops->msi_teardown(pbm, msi_num); in sparc64_teardown_msi_irq()
205 "irq %u, gives error %d\n", pbm->name, msi_num, irq, in sparc64_teardown_msi_irq()
[all …]
Dpci_fire.c160 unsigned long type_fmt, type, msi_num; in pci_fire_dequeue_msi() local
176 *msi = msi_num = ((ep->word0 & MSIQ_WORD0_DATA0) >> in pci_fire_dequeue_msi()
179 upa_writeq(MSI_CLEAR_EQWR_N, pbm->pbm_regs + MSI_CLEAR(msi_num)); in pci_fire_dequeue_msi()
Dpci_impl.h130 u32 msi_num; member
/Linux-v6.1/drivers/dma/
Dhisi_dma.c957 u32 msi_num; in hisi_dma_probe() local
998 msi_num = hisi_dma_get_msi_num(pdev); in hisi_dma_probe()
1001 ret = pci_alloc_irq_vectors(pdev, msi_num, msi_num, PCI_IRQ_MSI); in hisi_dma_probe()
/Linux-v6.1/drivers/misc/
Dpci_endpoint_test.c312 u16 msi_num, bool msix) in pci_endpoint_test_msi_irq() argument
320 pci_endpoint_test_writel(test, PCI_ENDPOINT_TEST_IRQ_NUMBER, msi_num); in pci_endpoint_test_msi_irq()
329 if (pci_irq_vector(pdev, msi_num - 1) == test->last_irq) in pci_endpoint_test_msi_irq()