blob: 25ddd0916bb2f4d3fd17bcea2bdbc68d7b3e0f2c [file] [log] [blame]
Greg Kroah-Hartmanb2441312017-11-01 15:07:57 +01001/* SPDX-License-Identifier: GPL-2.0 */
Jiang Liu52f518a2015-04-13 14:11:35 +08002#ifndef _ASM_X86_MSI_H
3#define _ASM_X86_MSI_H
4#include <asm/hw_irq.h>
Jake Oshinsc8f3e512015-12-10 17:52:59 +00005#include <asm/irqdomain.h>
Jiang Liu52f518a2015-04-13 14:11:35 +08006
7typedef struct irq_alloc_info msi_alloc_info_t;
8
Jake Oshinsc8f3e512015-12-10 17:52:59 +00009int pci_msi_prepare(struct irq_domain *domain, struct device *dev, int nvec,
10 msi_alloc_info_t *arg);
11
12void pci_msi_set_desc(msi_alloc_info_t *arg, struct msi_desc *desc);
13
Jiang Liu52f518a2015-04-13 14:11:35 +080014#endif /* _ASM_X86_MSI_H */