blob: eb4b09b41df50c0a1bf3213f6cc07844b674bfc0 [file] [log] [blame]
Jiang Liu52f518a2015-04-13 14:11:35 +08001#ifndef _ASM_X86_MSI_H
2#define _ASM_X86_MSI_H
3#include <asm/hw_irq.h>
Jake Oshinsc8f3e512015-12-10 17:52:59 +00004#include <asm/irqdomain.h>
Jiang Liu52f518a2015-04-13 14:11:35 +08005
6typedef struct irq_alloc_info msi_alloc_info_t;
7
Jake Oshinsc8f3e512015-12-10 17:52:59 +00008int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
9 msi_alloc_info_t *arg);
10
11void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
12
Jiang Liu52f518a2015-04-13 14:11:35 +080013#endif /* _ASM_X86_MSI_H */