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