blob: 25ddd0916bb2f4d3fd17bcea2bdbc68d7b3e0f2c [file] [log] [blame]
b.liue9582032025-04-17 19:18:16 +08001/* 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
7typedef struct irq_alloc_info msi_alloc_info_t;
8
9int 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
14#endif /* _ASM_X86_MSI_H */