xref: /openbmc/linux/arch/x86/include/asm/msi.h (revision 55fd7e02)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ASM_X86_MSI_H
3 #define _ASM_X86_MSI_H
4 #include <asm/hw_irq.h>
5 #include <asm/irqdomain.h>
6 
7 typedef struct irq_alloc_info msi_alloc_info_t;
8 
9 int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
10 		    msi_alloc_info_t *arg);
11 
12 void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
13 
14 #endif /* _ASM_X86_MSI_H */
15