Home
last modified time | relevance | path

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

/Linux-v5.4/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-v5.4/drivers/misc/
Dpci_endpoint_test.c295 u16 msi_num, bool msix) in pci_endpoint_test_msi_irq() argument
303 pci_endpoint_test_writel(test, PCI_ENDPOINT_TEST_IRQ_NUMBER, msi_num); in pci_endpoint_test_msi_irq()
312 if (pci_irq_vector(pdev, msi_num - 1) == test->last_irq) in pci_endpoint_test_msi_irq()