Jiang Liu | 52f518a | 2015-04-13 14:11:35 +0800 | [diff] [blame] | 1 | #ifndef _ASM_X86_MSI_H |
| 2 | #define _ASM_X86_MSI_H |
| 3 | #include <asm/hw_irq.h> |
Jake Oshins | c8f3e51 | 2015-12-10 17:52:59 +0000 | [diff] [blame] | 4 | #include <asm/irqdomain.h> |
Jiang Liu | 52f518a | 2015-04-13 14:11:35 +0800 | [diff] [blame] | 5 | |
| 6 | typedef struct irq_alloc_info msi_alloc_info_t; |
| 7 | |
Jake Oshins | c8f3e51 | 2015-12-10 17:52:59 +0000 | [diff] [blame] | 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 | |
Jiang Liu | 52f518a | 2015-04-13 14:11:35 +0800 | [diff] [blame] | 13 | #endif /* _ASM_X86_MSI_H */ |